Draw lines and boundaries from a table’s GeoJSON field

Add a table layer that uses stored GeoJSON geometry and check that the shapes match the source records.

Use a GeoJSON field when your records already contain the shape you want to draw. For example, a trail table can show each route as a line, or a service-area table can show the boundary of each area as a polygon.

Use the table’s geometry on a saved map

  1. Open the source table and identify the field that holds the geometry you want. Check a record whose shape and location you recognize. For example, use the boundary field if the table also has a separate center point.
  2. Open the saved map. In Layers, choose Add Layer → Table Layer and select the source table.
  3. Under Coordinate Input Mode, choose GeoJSON Field. In the GeoJSON Field selector, choose the field you checked. Give the layer a name that describes what it draws and select Add Layer.

Verify a known shape

Zoom to the area you checked in the table. Select a line or area on the map and confirm that it corresponds to the expected record. A GeoJSON field can supply a single geometry or a collection of features, so one record can appear in multiple parts of the map.

  • If the field is unavailable, check that the table exposes a compatible geometry field. Also check whether an active layer on this map already uses it.
  • If a shape is missing or misplaced, check the stored GeoJSON for that record. Compare its geometry type and coordinates with the source, then refresh the map after any correction.

If your shapes are available as a URL and you still need a table, connect the GeoJSON endpoint first.

Inspect a record’s GeoJSON geometry

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy 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?