Guide4 min read

Agentic GIS in practice: turn an inspection question into a field map

Use a GIS AI agent to query three inspection sites, check the two that need review, and publish an interactive map your field team can open.

By Sarkoa

Updated

“Which inspection sites still need review? Show me what you found, then prepare a map I can send to the field team.”

Two sites qualify in our sample: West, with 12 recorded inspections, and East, with 5. Open the field-team map and select either marker to see its record. The original file also has a Central site. It has eight inspections and is already marked ready, so it stays off the field team’s map.

This is a small example of agentic GIS. You give an assistant a question and access to GIS tools. It can inspect a layer, query the records, and use the result to build a map. You can check each step and choose who sees the result. Here is how to reproduce it with your own Sarkoa account.

Ask the question against the source layer

Download the three fictional inspection sites (GeoJSON). Sign in, upload the file in Files, and wait for it to finish processing. Connect your assistant to Sarkoa through MCP. The query can run with read access. Creating the new layer and map also requires permission to write to your organization.

Give the assistant this prompt:

In inspection-sites.geojson, which sites have status equal to review? Show each site’s ID, name and inspection count. Keep the point coordinates for a map. Stop after showing me the matches.

A GIS AI agent can inspect the layer’s fields and call query_features with an equality filter on status. The query in this example returned two features and reported that there were no further matches. You can check the answer by opening the original GeoJSON and reading its three properties objects.

Site ID Matching site Recorded inspections
S01 West demonstration site 12
S03 East demonstration site 5

The count is an attribute of each site. It tells you how many inspections were recorded there. The status field determines whether to send the team.

Turn the two matches into a map draft

Make an organization-only draft from just those two points. Keep their IDs, names, statuses and inspection counts. Make each marker clickable, frame both sites in the opening view and keep original-file downloads off.

For the map above, we saved the returned features and their coordinates as a two-site GeoJSON, uploaded that layer, then created the draft. If your assistant can query but cannot transfer a file, download the two-site result, upload it in Files, and ask the assistant to continue with that layer. In Custom maps, check that West and East both open a popup. Central is absent from the published layer itself.

The field-team map open in a browser with the West site selected and its inspection count visible.

Choose who can open the result

The draft starts with organization access. For a real assignment, decide whether the field crew should sign in as invited reviewers or whether anyone who receives the link may open it. Send the map’s viewer link once you have chosen the audience. Sharing the original file for download is a separate decision. Map and file sharing settings

For this fictional example we chose public viewing and left source downloads off. In a signed-out browser on both phone and desktop sizes we found the two review markers and opened West’s popup. You can perform the same recipient check on the finished inspection map.

Try a raster question with a checkable answer

For another way to use AI for geospatial analysis, ask “What is the mean elevation inside this boundary, and how many cells had a valid value?” That needs a raster and polygon in place of the site-status filter. The worked example includes both downloads and a QGIS cross-check: both grids returned a mean of 102 m, with different valid-cell counts after reprojection. Calculate elevation inside a polygon

Make great maps.
For free.

Publish interactive maps, build your portfolio, and share your work with anyone.

Create a free accountNo credit card required. No download fees.

What’s included.

Create something worth exploring
  • Interactive maps with vector and raster layers
  • 2D, 3D terrain, and globe views
  • Attribute-based colours and raster colour ramps
  • Legends, popups, and interactive filters
Work with the tools you love
  • MCP access for your AI assistant
  • QGIS plugin access
  • CLI tools and scoped API keys for automation
  • Folders to keep your data organised
Publish and share
  • Hosted maps with share links and website embeds
  • A public portfolio for your maps
  • 50,000 tile requests every month
  • Your viewers never pay to open your maps
Keep control of your work
  • Cloud optimisation for supported files
  • Original uploads preserved for download
  • Invite teammates without per-seat fees
  • An audit log included with your account
Bring the formats you already work with

Vector

  • Shapefile
  • GeoJSON
  • GeoPackage (vector)
  • GPX
  • CSV (points)
  • FlatGeobuf
  • KML / KMZ
  • GeoParquet
  • TopoJSON
  • GML
  • DXF
  • File Geodatabase (ZIP)

Raster

  • GeoTIFF
  • JPEG 2000
  • ERDAS Imagine
  • NetCDF
  • PNG / TIFF + worldfile (ZIP)

LiDAR & point clouds

  • LAS / LAZ
  • COPC
  • PLY point cloud

Gaussian splats

  • SPZ
  • SPLAT
  • KSPLAT
  • SOG
  • Gaussian PLY

3D Tiles

  • 3TZ
  • 3DTILES
  • Tileset folder (ZIP)

Orbit data

  • OMM JSON / CSV
  • TLE / 3LE

Storage, map, tile and conversion limits apply. Format-specific upload requirements apply. MCP and automation follow your plan’s feature limits. Free plan details ↗ · Format requirements ↗