Replace the source table of a Geo Layer map layer
Point an existing table layer at a replacement dataset, then verify its location, filters, and styling.
Use Change dataset when a new table should supply the data for an existing map layer. For example, you can switch a tree inventory layer to a newer table while keeping the layer’s name, position, and styling. The operation changes the layer’s source. Both tables and their records remain in the workspace.
Check the replacement table
- You need permission to manage Geo Layer and update both tables. The replacement must be active in the same workspace. A virtual replacement table must have refreshed its cache at least once.
- Compare the fields the layer uses for location, filters, colors, and dates. Mainbase looks for an unambiguous match by field name and type. When the layer uses one GeoJSON field and the replacement has exactly one GeoJSON field, Mainbase can match that geometry even if the names differ.
- Review the replacement’s field values too. For example, use the same status values if the layer filters or colors records by status. The field mapping carries over the existing filters and styles.
Switch the layer and verify the result
- Open the map in Geo Layer. In Layers, open the layer’s menu and choose Edit layer.
- Choose Change dataset. In Replacement dataset, select the new table and verify its name and ID, especially if several tables have similar names.
- Select Replace dataset. Reopen the layer settings to verify the Dataset. On the map, check a location you know and confirm that the layer’s colors, filters, or timeline still show the intended records.
If the change fails or the result is unclear, reload the map and check the current Dataset before retrying. Automatic replacement is blocked when the layer is used by another map, has a custom popup, or needs a different field mapping. In these cases, you can add a table layer from the replacement dataset and configure it separately.
Ask Mainbase AI
Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.
Open the AI assistantCopy a question to get started
- How do I create a Kanban view?
- How do I invite a teammate?
- Why is a record missing from this view?