Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

MapSmith

@mapsmith-aiRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

Deterministic GIS geoprocessing with verifiable provenance on every output

Earth & ocean sciencev0.13.0AGPL-3.0Python
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: creates or changes data: records, files, settings.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

PyPImapsmithv0.13.0

Run

uvx mapsmith

MCP client config

{
  "mcpServers": {
    "mapsmith": {
      "command": "uvx",
      "args": [
        "mapsmith"
      ]
    }
  }
}
Dockerghcr.io/mapsmith-ai/mapsmith:0.13.0

Run

docker run -i --rm ghcr.io/mapsmith-ai/mapsmith:0.13.0

MCP client config

{
  "mcpServers": {
    "mapsmith": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mapsmith-ai/mapsmith:0.13.0"
      ]
    }
  }
}
README47 min read

DOI

CI PyPI Container MCP License: AGPL-3.0

Ask a question about your data. Get an analysis — and the record that proves it.

Most GIS servers hand an agent a tool to run. MapSmith takes the question, works out the analysis — usually several operations, in an order that has to be right — validates the plan before a single file is touched, runs it, and leaves a record of every step — which bytes went in, with which parameters and CRS decisions, and which checks ran — that somebody else can read afterwards and rerun to confirm.

Try it

Point any MCP client at MapSmith (one JSON block) and ask, in your own words:

Which parcels lie within 1.5 km of the river and sit at 120 m or lower? Give me the mean elevation and the ground area of each.

That is five operations, two coordinate systems and forty-eight checks. What actually happens is below — the plan, the step that gets rejected for reading something a later step produces, the CRS decision behind every metric step, and an answer you can work out on paper before MapSmith sees the files. That rejection is structural, and so is every other one: a plan that is well formed and answers the wrong question runs instead, which is measured and written down further down this page.

The operations are executed by GeoPandas, DuckDB Spatial, exactextract and Whitebox Workflows — never by the model that asked for them. Every dataset lands on disk next to a lineage manifest: inputs with checksums, the exact parameters, the CRS decisions and why, engine versions, and the deterministic checks that ran on the result.

mapsmith.dev — a real terrain analysis and the manifest that came with it. Both are build products: the figure is rendered from GeoTIFFs MapSmith writes, so the page cannot drift from what the software does.

The manifest is a specified format, not MapSmith's private output: JSON Schema, a toolchain-free validator, a conformance suite, and a hundred-line emitter that never imports MapSmith. Records carry spec_version, and CI validates real MapSmith output against the spec's own validator. The specification is archived and citable as 10.5281/zenodo.22205213, a concept DOI that resolves to the latest archived draft. Records written by 0.8.0 to 0.13.0 declare 1.0.0-draft.10, and 0.7.x's declare 1.0.0-draft.8; if the DOI shows an earlier one, the archive has not caught up, and the repository holds the text they are written against. The names MapSmith puts in a record beyond the ones the specification defines — every extension check name, and every extension field in crs_decisions with the reason it is not a synonym of a key the specification already has — are listed in docs/manifest-vocabulary.md, generated from the source rather than maintained by hand.

Evidence before promises. A correctness suite in its own organisation, Argleton, grades MapSmith on thirty-three traps whose answers are computed on paper before any system runs: 0.00 silent errors, nothing skipped, against 0.8788 for the obvious way of writing the same code. The runs from 2026-08-30 to 2026-09-15 said 0.00 too, and on one trap they were wrong: its truth was wrong in MapSmith's favour for 26 days, the error was ours twice over, and the erratum says so. Every run since 2026-09-26, the current one included, is scored against the corrected truth. Getting here cost seven defects the suite sent back, and they are listed. Alongside it: an A/B on GABench whose headline is a null result — with the analysis that took our own positive number apart — notebooks on a real USGS DEM of Mount St. Helens, an in-chat map panel that shows the verification status of every layer it draws, and a measurement of our own tool discovery that retracted two numbers this page had already published — including the one in the bullet list below.

A whole analysis, start to finish

This is the thing MapSmith is for, and it is not a single tool call. One question — six parcels, a river, an elevation grid — becomes a plan of five operations chosen out of 82, validated before anything runs, executed step by step, and recorded: the search that narrowed the catalogue, the arguments that mattered, the CRS decision behind each metric step, and the checks that ran on every result.

Nothing in this section is drawn. benchmarks/worked_example.py builds fixtures whose answer can be worked out on paper, asks the catalogue in the words of the problem, validates and runs the plan, reads the manifests, and writes what follows; tests/test_worked_example.py fails if this page and that script disagree. The position column is BM25's rather than the default engine's, because a published figure should not depend on whether a model download succeeded on the machine that built the page — the narrowing, which is the point, is identical on both. Two things worth watching: the middle column, where the catalogue goes from 82 operations to a handful the caller can read; and the CRS column, where every metric operation says which coordinate system it moved the data into and why.

mermaid
flowchart TB
  ASK["<b>Parcels within 1.5 km of the river whose mean ground elevation is at most 120 m, with the elevation and the ground area of each</b>"]
  ASK --> PLAN{{"plan validated<br/>before anything runs"}}
  PLAN -. "rejected: FORWARD_REFERENCE" .-> BAD["'mask_path' references '$buffer' which runs later — move step 'buffer' before 'near'"]
  BAD:::bad
  BUFFER["<b>buffer_layer</b><br/>82 operations &rarr; 28 candidates &rarr; chosen<br/>CRS EPSG:32610<br/>9/9 checks"]
  PLAN --> BUFFER
  NEAR["<b>clip_layer</b><br/>82 operations &rarr; 13 candidates &rarr; chosen<br/>CRS EPSG:4326<br/>12/12 checks"]
  BUFFER --> NEAR
  HEIGHT["<b>zonal_statistics</b><br/>82 operations &rarr; 2 candidates &rarr; chosen<br/>CRS EPSG:4326<br/>7/7 checks"]
  NEAR --> HEIGHT
  AREA["<b>measure_area</b><br/>82 operations &rarr; 25 candidates &rarr; chosen<br/>CRS WGS 84 &#40;ellipsoidal&#41;<br/>10/10 checks"]
  HEIGHT --> AREA
  FILTER["<b>select_features</b><br/>82 operations &rarr; 25 candidates &rarr; chosen<br/>CRS EPSG:4326<br/>10/10 checks"]
  AREA --> FILTER
  OUT[["3 parcels, each with elevation and ground area"]]
  FILTER --> OUT
  classDef bad stroke-dasharray: 4 3
what the agent asks forit declarescandidatespickedat position
“everything within one and a half kilometres of the river”vector, dataset:vector, 1 dataset(s), line28 of 82buffer_layer2
“keep only the parcels that fall inside that strip”vector, dataset:vector, 2 dataset(s), polygon13 of 82clip_layer1
“how high is the ground under each of these parcels”raster, dataset:vector, 2 dataset(s), polygon2 of 82zonal_statistics2
“how big is each one on the ground”vector, dataset:vector, 1 dataset(s), polygon25 of 82measure_area1
“drop the ones where the ground is above 120 metres”vector, dataset:vector, 1 dataset(s), polygon25 of 82select_features1
stepoperationarguments that matteredCRS decision, recordedchecks
bufferbuffer_layerdistance_meters=1500EPSG:32610 — estimated UTM zone for metric buffering on a geographic CRS9/9
nearclip_layermask_path=$bufferEPSG:4326 — the mask is already in the input layer's CRS; nothing was reprojected12/12
heightzonal_statisticszones_path=$near, stats=['mean', 'min']EPSG:4326 — zones and raster share the same CRS7/7
areameasure_areainput_path=$height, method=geodesicWGS 84 (ellipsoidal) — ground area computed on the WGS 84 ellipsoid, which is where the coordinates are put first; no map plane is involved, so no projection distortion enters10/10
filterselect_featuresinput_path=$area, by=field_between, field=mean, maximum=120EPSG:4326 — no CRS change: selecting rows does not touch coordinates10/10

Every step is inside the plan, the last one included: select_features took 4 rows and returned 3, with a manifest like every other write. This step used to run outside the plan, because the only operation that could answer it was run_sql — which takes its inputs inside a SQL string, declares zero datasets, and therefore cannot join the plan's dataflow. That boundary is deliberate and has not moved: substituting $step into arbitrary strings would be a grammar in which a planner assembles a path out of text. What changed is that it is no longer the only way to ask.

The answer, which can be worked out on paper before MapSmith sees the files: the parcels are squares of 0.0015° at 46.2°N, so each is about 119 m by 167 m, and the elevation ramps west to east across the fixture.

namemeanminarea_m2
North Field104.85104.1419303.33
Mill Meadow110.51109.819303.33
Old Orchard117.58116.8719303.33

The rejected plan is the honest half. Steps in the wrong order are the dominant failure class in the agent benchmark, so the example includes one and shows what the validator says about it, before any file is touched. It earned that place while this was being written: the first version of the plan passed distance_m where the operation declares distance_meters, and the validator named the argument and listed the three it accepts.

You can step through this on mapsmith.dev, one beat at a time, along with a second case that GitHub cannot show as well: a file MapSmith refuses. Both are executed while that page is built. The residue of the second one is here, because it is the half nobody demonstrates.

What it declines to answer. Asked “How high is the ground at each of these two wells?” against a GeoTIFF that opens in every viewer:

describing the file first
georeferencing_sourcesidecar (.aux.xml)
georeferencing_sidecar_presentterrain.tif.aux.xml
georeferencing_internal_would_givecell 10 x 10 at (500000, 5030000)
terrain.tif is georeferenced twice and nobody chose: the GeoTIFF's own tags say cell 10 x 10 at (500000, 5030000), and terrain.tif.aux.xml beside it says something else. GDAL prefers the sidecar, which is correct — that is how an override works — but sample_raster_at_points would then report numbers from a file you did not name, and this record could not say which. describe_dataset lists both. To choose, either remove the sidecar or set GDAL_GEOREF_SOURCES=INTERNAL for a run that must use the file's own.

A number would have come back. It would have been read off a grid a hundred kilometres away and at twice the cell size, with nothing in the record able to say which of the two readings produced it.

And the analysis comes back out of the file. Given only the last output of the five-step run above — no plan, no filenames, no field pointing at another record — the chain is recovered by hashing it and following every input digest back:

5 operations recovered back to 3 original dataset(s), every one passing its critical checks.
<- select_features    10 checks
  <- measure_area       10 checks
    <- zonal_statistics   7 checks
      <- clip_layer         12 checks
        <- buffer_layer       9 checks
   (original) elevation.tif
   (original) parcels.gpkg
   (original) river.gpkg

Quickstart

Add MapSmith to any MCP client over stdio (Claude Desktop, Claude Code, Cursor, VS Code):

json
{
  "mcpServers": {
    "mapsmith": {
      "command": "uvx",
      "args": ["mapsmith"]
    }
  }
}

Docker is the supported path, and confines the server to the directory you mount:

json
{
  "mcpServers": {
    "mapsmith": {
      "command": "docker",
      "args": ["run", "-i", "--rm",
               "-v", "/absolute/path/to/your/data:/data",
               "-e", "MAPSMITH_WORKSPACE=/data",
               "ghcr.io/mapsmith-ai/mapsmith"]
    }
  }
}

One-click installs:

Install in Cursor Install in VS Code

or from a terminal: code --add-mcp '{"name":"mapsmith","command":"uvx","args":["mapsmith"]}'

To check it runs before wiring a client, uvx mapsmith starts the server on stdio (Ctrl-C to quit) — it speaks MCP, not a CLI, so a silent prompt means it is working.

This page describes 0.13.0, which is what that command installs. Its release notes add tin_interpolation and correct idw_interpolation, which answered with row numbers for a misspelled, textual or null field; a surface made with it from a layer with nulls should be remade. They also fix the read-back of terrain and hydrology outputs, which checked a second run to the same path against the first run's raster, and add MAPSMITH_MAX_GRID_CELLS and MAPSMITH_MAX_TRIANGULATION_POINTS, above which a grid or a triangulation is refused. What the engine computed was not affected, but the checks recorded for a terrain output written twice to one path by one server process describe the earlier raster: re-run it if you rely on them. When main runs ahead of the published artifact this paragraph says so and names the difference — a reader should never have to find out by calling a tool that is not there. New in 0.12.2 (release notes): benchmark evidence and refreshed discovery labels. New in 0.12.1 (release notes): semantic verification of every primary, secondary and native geometry CRS declaration in calculate_field. New in 0.12.0 (release notes): restricted numeric and boolean field calculation, executable typed-DAG input contracts and corrected multi-step method-choice benchmarks. New in 0.11.0 (release notes): the validated project brief, bounded agent repair, vector/raster conversion and QGIS native:buffer, taking the catalogue to 80 operations behind 29 tools. If you run 0.10.0 or earlier under MAPSMITH_WORKSPACE, update: a coordinate reference system -- a tool argument, or the one a file declares -- could make PROJ read a file outside the workspace or open a network share, and in run_sql DuckDB's own PROJ could do the same; 0.10.0 closed that for tool arguments and for GeoPackage, shapefile and GeoParquet inputs, and 0.10.1 for every other format MapSmith accepts -- under a workspace it now reads each input's coordinate system before GDAL opens the file, and refuses a format it does not recognise. SECURITY.md has all of it. From 0.9.0, 0.10.0 also: every operation that brings a vector input onto another CRS -- the eight that align a second input, and the samplers, zones, masks, pour points and stations of the raster ones -- chooses the datum transformation the way reproject_layer does, which moves their results where PROJ's own pick was the ballpark and a covering operation or a Greenwich twin exists (Monte Mario from Rome: up to about 80 m); a datum shift a CRS itself declares (+towgs84) is no longer recorded as a ballpark; nearest_neighbour_index works in linear memory and refuses a feature with no position; under a workspace run_sql runs only SELECT, with coordinate systems and dataset paths as literals; and 103 catalogue phrasings from the QGIS Training Manual's exercises moved the discovery figures on this page. From 0.8.0, 0.9.0 adds apportion_by_area, which moves counts and rates from the zones they are reported in to zones that cross them, and makes a record's transformation describe what PROJ did to the data's own coordinates rather than to a point chosen from the CRS. That changes what reproject_layer writes in two cases: coordinates outside every published operation's area are no longer moved by an operation from elsewhere, and a datum counted from another meridian whose operations are published only for its Greenwich twin -- Monte Mario from Rome, EPSG:4806 -- goes through that twin. The changelog names both. If you run 0.4.0 to 0.6.1, 0.7.0 and later change answers you have: every position read from a point-registered raster (AREA_OR_POINT=Point, the USGS and Copernicus DEMs) was half a cell off, and the changelog says which operations and why. From 0.7.x, 0.8.0 adds cluster_points_by_distance and a geometry facet for the catalogue search, digests a shapefile with its attributes and its CRS, reads any single-layer file geodatabase, and fixes operations that accepted the wrong geometry and answered anyway (zonal_statistics on line zones returned their length as a pixel count).

If you read manifests, 0.10.0 renames no key: records still declare 1.0.0-draft.10. Two keys of MapSmith's own are new inside crs_decisions.transformation: x-mapsmith:shift_from_crs_definition, when the shift is written into the CRS itself, and x-mapsmith:default_was_ballpark, when the engine's own choice would have applied no shift.

If you read manifests, 0.9.0 renames no key: records still declare 1.0.0-draft.10. Three keys of MapSmith's own are new: crs_decisions.x-mapsmith:areas_measured_on, from apportion_by_area, and x-mapsmith:ballpark_share and x-mapsmith:outside_area_of_use inside transformation; so are three check names, all from apportion_by_area. A run that fails where an earlier run's dataset still sits writes its record beside the earlier one, as <output>.failed.provenance.json, instead of replacing it.

If you read manifests, 0.8.0 renames one key: records declare 1.0.0-draft.10, and a second input's own georeferencing facts, inputs[].x-mapsmith:environment on 0.7.x, are inputs[].environment, the name the specification gives them since draft.10. Each input of an operation that reads more than one dataset also says which argument read it (inputs[].argument).

If you read manifests, 0.7.x renames no key: records declare spec_version 1.0.0-draft.8, two drafts past 0.6.0's draft.6, and both drafts only narrowed where a producer may add a key of its own — which MapSmith already did the narrower way. From 0.5.x, 0.6.0 renamed x-mapsmith:round_trip to round_trip; from 0.4.0, 0.5.0 had renamed eight crs_decisions keys, the top-level mapsmith_version (read producer.version), two fields of the round trip, two of repairs[] and engine.geometry_library. The changelog lists each with what to read instead.

Then ask your agent things like:

"Take parcels.gpkg, keep only the parcels within 300 m of the river in rivers.gpkg, and give me the result with the analysis lineage."

The Docker image includes the [raster] and [whitebox] extras. With uvx, pick your own: uvx --from "mapsmith[raster,whitebox]" mapsmith. Docker — or uvx on a machine with working wheels — is the only supported installation path: geospatial native dependencies across three OSes are a support black hole, and issues about broken local environments will be redirected here.

Two things about the image, because they change what happens on your machine: it sets MAPSMITH_WORKSPACE=/data itself (the -e above is explicit, not required) and runs as uid 1000, so pass --user $(id -u):$(id -g) if the directory you mount belongs to another user; and it is built for amd64 only, so on Apple Silicon it runs under emulation.

What you get back

Every dataset comes with the file below, written next to it as <output>.provenance.json — enough to re-run the analysis without the model that asked for it:

json
{
  "spec_version": "1.0.0-draft.10",
  "producer": {"name": "mapsmith", "version": "0.13.0"},
  "operation": "buffer_layer",
  "parameters": {"distance_meters": 300.0},
  "inputs": [{
    "path": "rivers.gpkg",
    "sha256": "b24b884f49eee431133d443d842557d3ed21f3978e2c4b1e8e072fd1240effe8",
    "crs": "EPSG:4326"
  }],
  "crs_decisions": {
    "analysis_crs": "EPSG:32632",
    "reason": "estimated UTM zone for metric buffering on a geographic CRS",
    "round_trip": {
      "transformation": {
        "pipeline": "+proj=pipeline +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=utm +zone=32 +ellps=WGS84",
        "accuracy_m": 0.0,
        "is_ballpark": false
      },
      "return_transformation": {
        "pipeline": "+proj=pipeline +step +inv +proj=utm +zone=32 +ellps=WGS84 +step +proj=unitconvert +xy_in=rad +xy_out=deg",
        "accuracy_m": 0.0,
        "is_ballpark": false
      }
    }
  },
  "engine": {"name": "geopandas", "version": "1.0.1"},
  "environment": {},
  "verification": [
    {"name": "input_crs_present", "passed": true, "detail": "'input_path': EPSG:4326"},
    {"name": "input_not_empty", "passed": true, "detail": "'input_path': 1 features"},
    {"name": "result_not_empty", "passed": true, "detail": "1 features"},
    {"name": "crs_present", "passed": true, "detail": "EPSG:4326"},
    {"name": "crs_matches", "passed": true, "detail": "expected EPSG:4326, got EPSG:4326"},
    {"name": "geometry_valid", "passed": true, "detail": "all valid"},
    {"name": "x-mapsmith:no_geometry_is_empty", "passed": true, "detail": "none empty"},
    {"name": "feature_count_exact", "passed": true, "detail": "expected 1, got 1"},
    {"name": "geometry_types", "passed": true, "detail": "expected subset of ['MultiPolygon', 'Polygon'], got ['Polygon']"}
  ],
  "started_at": "2026-08-18T10:15:03Z",
  "finished_at": "2026-08-18T10:15:04Z"
}

The checksum and the timestamps are made up; everything else — the CRS decision, the transformation, every check name and detail — is copied from a record buffer_layer emits for exactly this call. The real file also carries output, repairs, notes and a critical flag on each check, left out here for length. tests/test_showcase.py validates this block against the specification's own validator and re-runs the operation to compare its crs_decisions keys with the emitted ones, because a record typed by hand drifts silently while every generated surface stays correct: it lacked spec_version for two releases, and on 2026-09-06 it was still recording a round trip without the key that says the coordinates came back — x-mapsmith:round_trip then, and round_trip in the specification since 1.0.0-draft.6. This is the record a third-party implementer copies.

Trimmed for the page, not for the file: the real record also carries the output's own path and hash, any geometry MapSmith had to repair, and the notes it made about how the inputs were handled — and every check says whether it was critical and, when it failed, what to do about it. get_provenance returns it for any output — one operation, in full.

For the analysis rather than the step, run_operation with get_lineage takes the final file, hashes it, finds the record claiming those exact bytes and follows every input digest back to the originals. No field points at another record: the chain is recovered from content, so it survives a rename and breaks only when the data changes. It reports a step that failed its checks as one, and says where the walk stopped rather than presenting a history it did not reach.

Why MapSmith

  • The unit of work is the analysis, not the tool call. Other GIS servers expose operations and let the caller fire them one at a time; a question that takes five steps is five unrelated calls, and nothing above them knows they belong together. MapSmith takes a typed plan, refuses it if a step reads something a later step produces, runs it in order, writes a manifest for each step and a plan-level record tying them together, and leaves the chain recoverable afterwards from the content digests alone. That is the difference a wrapper around a toolbox cannot have, because there is nothing above the single call to put it in.
  • Real geoprocessing, not map CRUD. Built on the proven open geospatial stack: GDAL, GeoPandas, Shapely, DuckDB Spatial, Whitebox Workflows and exactextract ship today and QGIS Processing's native:buffer through a GPL-isolated sidecar.
  • Provenance by design. Every layer MapSmith produces ships with a machine-readable lineage manifest — source datasets with checksums, tools executed, exact parameters, CRS decisions, software versions, timestamps. Everything needed to re-run the analysis without the LLM is in there. No AI slop.
  • The engines compute, the model orchestrates. Geometry and numbers only ever come from deterministic tool executions — never from model output.
  • 82 operations, reached through 29 goal-level tools. The catalogue is the breadth and the tool list is the choice; it is searchable rather than dumped, because tool-selection accuracy degrades once a few dozen tools are exposed at once, and fastest when two of them apply to the same input. Capability count has no such ceiling, so capability lives in the catalog. Search narrows it on what you declare and then hands over what survives rather than ranking it for you, because measurement said ranking is the wrong verb — see Finding the right operation.
  • Model-agnostic infrastructure. Claude, GPT, Qwen, Kimi, GLM — anything that speaks MCP, cloud or local. The leverage is better contracts (typed plans, actionable error codes, a searchable catalog), not weights we would have to maintain. See the manifesto.

Tools

ToolWhat it does
describe_datasetCRS, schema/bands, extent, nodata and statistics of any vector or raster dataset
buffer_layerMetric buffer with automatic UTM estimation for geographic CRS
clip_layerClip a layer with a mask layer
overlay_layersSet-theoretic overlay (intersection/union/difference/…); dropped lower-dimension pieces are declared in the manifest
dissolve_layerMerge features per key; the aggregation is recorded in the manifest and the group count verified
nearest_joinNearest neighbour with the distance in meters, UTM-measured on geographic CRS (decision recorded)
explode_layerMulti-part to single-part, with the part count verified in closed form
measure_areaArea in m², always: ground on the ellipsoid, or planar converted with the CRS's own declared linear unit (survey feet are not metres). Invalid rings repaired before measuring, and a plane that is not equal-area here comes back with the ratio against the ground area
merge_layersAppend layers (schema union); null-filled columns are named in the manifest, the count verified against the sum
simplify_layerDouglas-Peucker with the drift measured: area/length before and after recorded in the manifest
centroid_layerGeometric centroids computed in a metric CRS, never on degrees (decision recorded)
convert_formatConvert between GeoParquet/GeoPackage/GeoJSON by output extension, re-read and verified (count and CRS). Two conversions are refused with the reason rather than performed: shapefile output, which truncates field names to 10 characters silently, and GeoJSON for a non-WGS84 layer
reproject_layerReproject to any CRS (EPSG code or WKT)
spatial_joinJoin by spatial predicate, auto-routed to the fastest engine (SedonaDB > DuckDB > GeoPandas)
run_sqlSpatial SQL (DuckDB dialect) over GeoParquet and GDAL formats
zonal_statisticsRaster statistics per vector zone with exact fractional pixel coverage ([raster] extra)
hillshadeShaded relief from a DEM, in-memory Whitebox engine ([whitebox] extra)
slopeSlope gradient from a DEM in degrees, percent or radians; geographic-CRS DEMs refused ([whitebox] extra)
aspectDownslope azimuth from a DEM, 0 = north; flat cells are −1, not nodata ([whitebox] extra)
flow_accumulationD8 flow accumulation with automatic depression filling ([whitebox] extra)
watershedWatershed delineation from a DEM and pour points ([whitebox] extra)
preview_mapInteractive in-chat map (MCP Apps) of any datasets, with a provenance card and verification status per layer
validate_planStatically validate a multi-step plan before running anything: operations, arguments, references, input files, simulated CRS flow
brief_planRender a project brief only after plan validation, with a declared source for every statement
execute_planValidate then run a plan step by step, with per-step provenance and a plan-level manifest
get_provenanceReturn the manifest of any MapSmith output: one operation, its inputs and their digests, and what was checked
list_operationsCatalog search: narrows on what you declare, then returns the surviving set to choose from (status: "choose") or a ranking by engine — BM25, embeddings, or auto; detail=true returns parameters and worked examples
run_operationRun any catalog operation by name, including those with no tool of their own; arguments validated against the catalog before anything runs
server_infoVersion, license, available engines

Finding the right operation

Those are the tools an agent chooses between. Behind them the catalog holds every operation MapSmith can perform — 82 today, and 57 of them have no tool of their own — and it is built to hold thousands. (One of the 82 is marked planned and says so when asked: the roadmap is in the catalog on purpose, so an agent can answer "not yet" instead of inventing a call.)

The split is the design: tool-selection accuracy degrades past a few dozen exposed tools, while capability count has no such ceiling. That makes reaching scale a retrieval problem, so it is treated as one — and measured like one.

First it narrows, deterministically, on things the caller already knows. Every entry declares what data it takes (vector, raster, dataset, plan, none), what it hands back (dataset:vector, dataset:raster, answer, description), whether it demands a projected CRS, and which family it belongs to.

Measured over 118 answerable requests written by two other model families from job scenarios — a hydrologist with a flood report, a surveyor arguing with a field measurement — neither of which was shown this catalog, because a model handed the entry writes a paraphrase of the entry:

what the caller declarescandidates leftBM25, found@3embeddings, found@3right answer in what comes back
nothing — words alone8248%31%48%
what data I have5451%33%52%
+ what I want back3361%52%67%
+ how many datasets I have1866%62%89%
+ what geometry it holds1675%72%99%

The first two rows moved on 2026-11-26, and an operation moved them. At 81 operations they read 47%, 32%, 47% and 52%, 35%, 53%. tin_interpolation is the eighty-second, and it sits beside idw_interpolation: both take a point layer and return a surface, so a request to interpolate now has two entries answering to the same words. The ranking on the input kind alone lost two points under BM25 and two under embeddings, and the embeddings lost one on words alone. BM25 then gained a point on both rows, and not from the new operation: in the same release the idw_interpolation entry began to say what it refuses, and one request reaches it by those words. The other three rows are where they were, and the last one — what a caller who declares what it knows is handed — did not move.

The last row is new on 2026-09-29, and the row above it shows why. Thirty-one operations now take one vector layer to another, one more than the threshold below, so a caller who declared everything it knew was handed a shortlist for the most common request there is, and delivered fell from 98% to 84%. The fix is one more fact the caller holds: whether its layer is points, lines or polygons, as a list when it is mixed. An entry declares the families it accepts only where its code refuses the others, and a test calls each one with every family it does not declare and requires the refusal, so the declaration cannot hide an operation from a caller it would have worked for. Writing that test found zonal_statistics accepting line zones and returning their length as the pixel count; it now refuses them.

Two ranking columns, and that is a correction. This table used to carry one, computed with the default engine — which is the embedding one where its model loads and BM25 where it does not. So the published figures were a measurement of what the machine could download, and a CI run that met a 429 from Hugging Face recomputed the first row as 28% where this page said 18%. Not a flaky test: a number that had never been reproducible on a machine without the model, published under a sentence promising it could be checked.

The two also differ in a way worth seeing. In this run BM25 leads at every declaration level, by seventeen points on words alone. The embedding engine earns its place on the phrasings it has never seen, not on the ranking once the set is small.

The last column reports whether the accepted answer appears in the returned payload: 117/118, or 99%. Whole-set delivery is a different measurement: 114/118, or 97%. Four sets exceed thirty candidates; three of those still return the accepted answer in the ranked fallback. Ranking decides the order, not membership.

The third row is the scaling wall, and we hit it in one afternoon. On 2026-08-29 the catalogue went from 51 operations to 61. Two rows of that table got worse: the commonest surviving set went from 26 candidates to 34, past the point where the whole set can be handed over, and delivered fell from 100% to 45% while found@3 fell from 48% to 36%. Adding capability had made discovery worse — the failure this page had predicted at eight hundred operations and met at sixty-one.

Raising the threshold would have postponed it by about ten operations. What fixed it is the fourth row: how many datasets you are holding. That is a fact about your situation — one layer or two — not a guess about our vocabulary, it is derivable from each operation's own signature so a test can check the declaration against the code, and it takes the median surviving set from 34 to 9. The catalogue grew by a fifth and discovery got better, but only because a facet arrived with it. That is the trade this design makes, stated rather than discovered later.

It happened again the next day, and this is what watching a curve is for. On 2026-08-30 the catalogue went from 61 operations to 71. Every ranking figure in that table fell — 28% to 25% bare, 34% to 27% on the input kind — and the delivered column of the second row fell from 48% to 27%, because more requests now leave a set too large to hand over whole. The bottom row did not move: 97%, the same as at 61. Ten more operations, no new facet, and the guarantee held, which is the first time growth has been absorbed by the facets already there. (Not «and at 51»: that bottom row is the arity facet, and dataset_inputs did not exist at 51 operations. The 100% quoted above at that size is the row above it. Two different rows under one sentence is the kind of comparison this page exists to refuse.)

And again at 74, with two operations that a caller is unusually likely to want. select_features and extract_layer are the remedies MapSmith's own error messages had been recommending, so they sit in the busiest corner of the facet space: the average surviving set went from 16 to 17 and the second row's delivered did not move. The bottom row held at 97% for the third catalogue size running. The margin to the wall is now 13. (Those are the figures as measured on 2026-08-31. They were recomputed on 2026-09-01 against human answers — see the note under the table — which moved them without any catalogue change: the surviving set reads 16 and the bottom row 98%. A paragraph about a transition keeps the figures of the transition.)

And at 76 the cost showed where the new operation lives. summarize_points_in_polygons takes two vector layers and returns one, which is the busiest corner of the facet space — count_in_polygons, spatial_join and clip_layer are its neighbours — so the bottom row's found@3 fell from 58% to 55% under BM25 while the average surviving set stayed at 16 and delivered held at 98%. The operation was added because «average pH by field block» took two calls to answer and so, to somebody searching, did not exist; three points of ranking at the fullest declaration is what that cost, and the guarantee that matters did not move.

And when an existing operation gained an optional input, with no operation added. zonal_statistics took a weights raster on 2026-09-25, so it reads two datasets or three, and an arity that varies is declared as none at all — the rule run_sql and merge_layers follow, because declaring 2 would hide the weighted form from a caller who correctly says they hold three. The price is that it now survives every arity: the average surviving set went from 16 to 17 and the bottom row's found@3 from 55% to 53%, with delivered still at 98%. A facet that stops discriminating for one entry costs every search a candidate.

That is the shape of the trade, and it says when the next facet is due. The figure to watch is not found@3 — a ranker will always get worse as the catalogue grows, and it is a hint. It is the average surviving set at the fullest declaration, the fourth column of that table: 9 at 51 operations, 14 at 61, 16 at 72, 16 at 74, 16 at 75, 17 at 76, 15 at 77, 15 at 78, 15 at 81, 16 at 82. (The point at 77 is the first with the geometry declared; without it the set would be 17.) When that crosses the threshold, delivery stops being a property and starts being a ranking again, and the lasting answer is another fact the caller already knows. A bigger threshold is an answer only as far as the caller still chooses well among more, and that is measured below, not assumed. (It said median until 2026-08-29, and published the mean: the median at 82 is 13. The distribution is skewed — most requests leave a small set and a few leave a large one — so the two numbers say different things and the mean is the pessimistic one, which is the right one to watch.)

The requests, both labels and the harness are all in the repository: tests/data/discovery_queries.json and benchmarks/discovery_report.py, which recomputes every number above from those files with no network and no model — so they can be checked rather than believed, and tests/test_discovery_report.py fails if this page and the harness disagree. The one exception is the 69%: reproducing that needs the model that did the choosing, and the report says so where it stops. The measurement of the threshold below is the other way round: its choices are in the repository, so its figures can be recomputed without the model.

So it hands over the set instead of picking for you. At thirty survivors or fewer list_operations answers with status: "choose": every candidate, ordered as a hint that says it is a hint, each carrying the sentence that separates it from its neighbours. Over those 118 requests the surviving set has a median of 13 and exceeds 30 for four of them — 114/118, or 97% receive it whole. The table's 117/118, or 99% includes ranked fallbacks: three of those four still return the accepted answer. The payload is about 2,100 tokens, less than one wrong operation costs to run and undo.

Thirty is measured, and a larger threshold was tried first. Raising it was the obvious answer to the thirty-first vector-to-vector operation, and models get better at reading long lists, so before moving it we measured whether one still chooses as well from more (benchmarks/choice_at_scale.py, every choice in benchmarks/choice_at_scale.json). Each of the 118 requests was handed over in a set of 30, of 40 and of 50 candidates, filled with the operations the ranker finds closest, so the extra ones are the confusable ones; twelve choosers (Claude Opus 5.5) so that none saw a request twice; and each request compared with itself.

the larger setpairsright from 30right from the larger setright only from 30right only from the larger
40 candidates11685.3%78.4%91
50 candidates11884.7%79.7%82

Seven points lost at forty and five at fifty, on the same requests, so the threshold stayed and the fix went where this section says the lasting one belongs: the geometry row above. A first run of this measurement had said the opposite, that forty cost nothing; it compared a different mix of requests at each size rather than each request with itself, and review caught it before it reached main. A test holds the threshold at or below the largest size measured without loss, so moving it means re-running the measurement, and a stronger model is a reason to re-run it, not to edit the number.

(That sentence used to say the set had a median of 26 and never exceeded 30. It was false before this catalogue reached 72 operations and nobody noticed, because the test that checks this page against the harness read the table and not the prose around it. It reads both now.)

Three measurements say this is the right shape, and the third is the one that settles it:

our ranking puts the answer in the top three75%
a model handed the same candidates and asked to choose gets its first pick right69%
the two labellers who wrote the ground truth agree with each other75%

These figures went up on 2026-09-01 because the measurement changed, not because the ranker did. Somebody who does this work answered all fifty of the requests the two model labellers had disagreed on, and a request can have more than one acceptable answer: two experienced analysts reach the same result with different tools. So a hit is now counted against every operation a professional would accept rather than against one label, and found@3 rose four to five points. Nothing in the ranking code changed. Read the other way round, the older figures were understating by that much — they scored a system as having failed when it returned the other defensible answer — and the honest description of this table is the answer is among the ones a professional would accept, which is a property, not an accuracy.

Where the secondary answers came from is recorded rather than smoothed over: the primary on each of those fifty is a human choice, and the secondaries were proposed by a third model and adopted wholesale rather than judged one at a time. Two different strengths of evidence, and the file says which is which.

The current model labels were written on 2026-11-04 against the catalogue of 81 operations, by Claude Sonnet 5 and Claude Haiku 4.5. tin_interpolation, the eighty-second, was added after them: no request is labelled with it, so a request it would answer still counts idw_interpolation as the accepted answer, and the figures above are computed on those labels against the catalogue as it is now. Their raw answers and the dataset and catalogue hashes are in benchmarks/discovery_labels_2026-11-04.json. The original Claude/Gemini labels, written on 2026-08-28 against 51 operations, remain unchanged in the file, so the dated comparison is not erased. Human answers still take precedence wherever one exists — benchmarks/ingest_answers.py is how they get in, and every figure above is computed against a human answer where there is one.

All three are over the same 118 requests, which matters: agreement measured over all 155 requests in the file is 60%, which also counts requests both labellers called unanswerable. Quoting that 60% beside the 75% computed over the 118 would compare two populations.

The last row is a ceiling, not a baseline, and the second row sits at it rather than below it. When two competent labellers disagree one time in four about which operation answers a request, "the right one" is not a single value to rank toward, and a system scoring above that is fitting one annotator rather than getting better. Two GIS analysts with thirty years each do the same job with different tools and neither is wrong.

That is why the answer is a set and why its reason field says, in words, that the order is a hint and that two defensible candidates are a question for the person who made the request. The caller — an agent with the conversation in context — knows things no ranking can. Where it does not, the human does.

The remaining honesty: the ceiling was measured between two language models. Whether human GIS analysts agree with each other more, less, or about the same is unmeasured, and until it is, these numbers are reported as agreement with model-written labels and never as accuracy.

The family is the one facet that orders instead of filtering, and that is a correction. It used to be a hard filter like the others. It is not like the others: input kind and projected-CRS are facts about the data in hand and output kind is what the caller wants, but family is a guess about our taxonomy, which the caller cannot see. Measured, it removed six candidates out of sixteen — and when the guess was wrong it removed the right operation, with no error, leaving a confident answer assembled from neighbours. Every request in the independent set has 4.4 plausible families. That is the silent-failure class Argleton measures in other people's systems, sitting in our own discovery layer, so it now sorts: declaring the family lifts it to the front and costs positions when wrong, never the answer. The hard cut stays available on catalog.applicable, where asking for it means it.

We do not need a model to extract those facets, because the caller is one. An MCP client is an LLM with the context we lack — it knows what file it is holding and what it is trying to produce. So list_operations asks for them in its schema, and its description leads with why. This is the same shape as LlamaIndex's Auto-Retrieval or LangChain's Self-Querying, minus the model those have to host: here it is already on the other end of the protocol. A geographic raster is never offered slope, because slope refuses one — a property of the data, checked in code, no model in the loop.

Then it ranks, with two engines that both always run. list_operations takes engine: auto (the default), lexical, or vector. Every result carries the engine that produced it, because a BM25 score of 10.03 and a cosine of 0.38 are not on the same scale.

enginewhat it iswhat it guarantees
auto — the defaultThe embedding engine, falling back to BM25 when the model cannot be loadedAn answer on a machine with no network, and a field saying which engine gave it
lexical — wordsOkapi BM25, ~40 lines, no model and no network everIdentical scores on every machine; term-sorted accumulation, because float addition is not associative
vector — meaningStatic embeddings — a token lookup plus pooling, no transformer, no GPU. Model revision pinned in the source, 512 dimensions, ~130 MB fetched onceBit-identical across calls in one process (measured, multiprocessing off), with the vectors pinned by a golden-vector test — so a change in the model, the tokenizer or the pooling fails a test instead of an analysis

The default was lexical until the measurement said otherwise, and the measurement is the interesting part. Golden queries written by whoever wrote the catalog share its vocabulary, so they test word overlap dressed as retrieval: on those, BM25 scores 100% found@1 and embeddings 60%. Re-phrased the way somebody with a problem actually phrases it — "the coastline is 400000 nodes and the browser dies" rather than "simplify the geometry" — the finding reversed, on a catalogue of fifty-one entries. It has since reversed back, and both engines degrade as the catalog grows:

catalog sizeBM25 found@3embeddings found@3
1075%83%
3063%58%
8245%45%

This table used to say the opposite, and the reversal is the finding. Published at 10/30/51 it read 78/83, 47/65, 40/55 — embeddings ahead at every size — and the sentence under it said BM25 degrades faster, which is why the embedding engine became a dependency rather than an extra. Recomputed today the crossover has moved: embeddings still lead on ten entries, BM25 leads on thirty, and on the whole catalogue the two are level. Part of that is the catalogue itself, because the distractors are drawn from it and it has grown from fifty-one entries to the last row — which is the point rather than a caveat. The near-neighbour effect the eight-hundred-operation test predicted has begun in our own catalogue: the lead embeddings held at fifty-one entries is gone at the last row, where the two engines are level.

The curve is recomputed by tests/test_retrieval_degradation.py and compared with this table, so it cannot go stale again in silence — which it did for three catalogue sizes.

And that finding does not survive being scaled up — measured the same day it was published. The distractors above are drawn from our own entries, which are semantically spread out. Growing this catalog means adding near neighbours: hundreds of raster and terrain operations that resemble each other. Re-run against 800 real GIS operations, taken from a library that ships them with their own descriptions, the ranking reverses and the embedding engine degrades faster:

catalog sizeBM25 found@3embeddings found@3
74 — our own entries, no foreign distractors50%40%
20048%25%
80035%20%

Embeddings blur near neighbours; an exact term either matches or does not. These two measurements used to disagree, and both were kept because they answered different questions: which engine suits the catalog we have, and which survives the catalog we plan. They agree now — the near-neighbour effect this one predicted has arrived in our own catalogue, so BM25 leads at both scales, and the second question has the answer neither. The embedding engine is still the default, and the measurement that made it one no longer says so: that is a decision to take rather than a number to quietly restate. At 800 entries the better engine is wrong two times in three, so scale will not be bought by choosing a better ranker. test_retrieval_at_scale.py keeps the projection under measurement rather than under opinion.

And the narrowing does not scale on its own either — this page claimed otherwise and was wrong. It said the facets leave sixteen candidates at 800 operations just as they do at 200. The sixteen is real and it is produced almost entirely by family: those 803 operations are all raster-in, raster-out, so input kind and output kind cut nothing at all, and only the taxonomy does — a choice among 43 families that the caller has to guess. Which is exactly the facet that must not filter.

So the open problem has a sharper shape than "ranking is hard". What is needed at a thousand operations is more facts a caller can state without knowing our taxonomy — how many inputs an operation takes, whether it changes geometry or only attributes, whether the output has the same number of features as the input. Those are structural properties of the operation, they are checkable against the code rather than declared by hand, and they separate the pairs a bag of words cannot: spatial_join from overlay_layers, flow_accumulation from extract_streams. That work is not done, and until it is, the honest claim is the measured one: the guarantee above holds at eighty-two operations, not at eight hundred.

How an entry has to be written is a published specification, not a convention: docs/catalog-entry-spec.md, with a normative JSON Schema that every entry validates against in CI. Each field is there because a measurement said so — including the two that measured to nothing and are documented as such, because a spec that only reports what worked is an advertisement.

And discoverability is a contract per operation, not an average. A catalog-wide 90% found@3 over fifty entries means five are invisible and the average will not say which. So every available entry is probed with its own first worked example, with its own facets declared (test_discovery_contract.py, parameterised over the catalog, so a new operation is under contract the moment it is added). Two things are required of it: the facets the entry declares must never drop that entry, and the entry must reach the caller.

Its rank is no longer one of them, and removing that is the point. The contract used to demand the top three. That looks like a discovery contract and is a ranking contract, with one bad property: the only way to repair a failure is to reword the entry until the ranker likes it. Fifty entries tuned that way score nineteen points better on examples we wrote than on requests written by anyone else — that gap is measured, and it is where a published 70% on this page turned into 51% overnight. A test whose repair procedure is fit the text to the scorer manufactures the number it reports. What remains under contract is the part that is deterministic and ours; rank inside the delivered set is still measured, and no longer fails a build.

The old form still earned its place the first time it ran. centroid_layer advertised “label points for a polygon layer” and ranked below point_on_surface. The ranking was right: a centroid can fall outside its own polygon, which is Argleton trap 014 — our catalog was recommending the defect our own suite measures. The example changed, not the score.

And when the two engines agree on nothing, the search says so instead of answering. This is the failure that measurement turned up in our own product: asked "send an email to my accountant", the embedding engine returned idw_interpolation with the same confidence as a real answer — a silent error in the layer whose job is to prevent them. A similarity threshold does not fix it, because there is no line to draw: "convert this mp4 to a gif" scores above sixteen of twenty genuine queries. What does separate them is the two rankers landing on nothing in common — mean top-3 overlap 0.90 of 3 when an answer exists, 0.18 when it does not. So a query the catalog cannot place comes back as status: "unsure", carrying both engines' guesses and the question that narrows the catalog deterministically: what kind of data do you have. It fires on 9 of 11 unanswerable queries and suppresses 1 correct answer in 20.

And when the facets leave nothing at all, it says which declaration did it. Zero candidates used to fall through the branch above and come back as "0 operations survive, which is few enough to read" — prose that means nothing and, worse, an empty candidate list, which an agent reads as MapSmith cannot do this. It was found by the discovery log below on its first real session: "how much land is in each of these parcels" with produces="answer" left nothing, while measure_area computes exactly that and declares dataset:vector because it writes the areas into a column. So that case is now its own answer — each declaration with the number of operations that would survive without it, smallest first — and it is arithmetic, not ranking.

Below the choose threshold it stops refusing and becomes a warning instead — order_is_weak on the delivered set. Refusing made sense while the search was deciding; handing over every candidate is not deciding, so the disagreement reverts to being evidence about the order, which is the only thing it was ever evidence about.

The applicability filter above runs first for both engines — otherwise the guarantee would only be true of one of them, and there is a test that says so.

Then it runs, tool or no tool. Most catalog operations have no dedicated tool: 57 of 82 are declared without one. Available operations run by name through run_operation(operation, arguments). This is deliberate: capability count has no ceiling, but the exposed tool list has one, so the catalog is allowed to grow faster than the tool list. Arguments are checked against the catalog before anything executes — unknown operation (with a "did you mean", from the same ranking), missing or misnamed argument, wrong type, path outside the workspace — and every error carries a stable code. Execution goes through the same path as execute_plan, so an operation cannot behave one way alone and another way inside a plan.

Both engines embed the identical document text (catalog.document_text), so a comparison between them measures the ranking and nothing else. Three test files keep the rest under measurement rather than under opinion: the degradation curve over our own catalog, the projection against 800 real neighbouring operations, and a discoverability contract per entry. That is what turns the scaling limit into a curve you can watch rather than a number someone guessed.

Determinism is the reason for building it this way rather than reaching for a hosted embedding API: that would make tool discovery a network call whose answer can change under you, and an agent that finds a different tool tomorrow for the same question is not reproducible, whatever its manifest says. The one network access left is the model download on first use, at the pinned revision; after that the vector engine is local, and an install that never makes it keeps BM25, and the engine field of every result says which one answered.

Making it better with your own requests, without a model that drifts

The 155 requests behind those percentages were written by two language models. They are the best set we could build without users, and they are not what users ask: a real request names the file somebody actually has and the words their field actually uses.

So MapSmith can record its own. Set MAPSMITH_DISCOVERY_LOG to a file path and each search is written as one JSON line together with the operation that was run after it — the query, the facets declared, which engine ranked it, every candidate delivered, and where in that list the chosen one sat:

bash
MAPSMITH_DISCOVERY_LOG=/data/discovery.jsonl   # then work normally for a while
python benchmarks/log_to_cases.py /data/discovery.jsonl

For the part that needs eyes rather than a pipe, there is a dashboard — see below.

log_to_cases.py prints those lines as rows shaped like tests/data/discovery_queries.json and flags the two that matter: a run the ranking did not put first (the answer was on screen and the order was wrong) and a search nothing followed (a request the catalog did not serve). It prints; it never writes. Which rows become test cases is a person's call.

None of this trains anything, and that is the design. A ranker that learns from what callers pick learns from an ordering it produced: the operation shown first gets picked more, gets learned as correct, gets ranked first harder — a confident answer nothing contradicts, which is the exact failure this product exists to measure. The model revision stays pinned, held there by a golden-vector test, so the same query gets the same answer next year. What improves instead is the catalog text — a phrasing, a distinguishes that does not distinguish — as a diff somebody can read and revert. That loop is not the weak option: it is what took found@3 from 18% to 58% and delivery to 99%.

The log is off unless the variable is set, holds queries and operation names and nothing else (no dataset paths, no arguments), is guarded by MAPSMITH_WORKSPACE like any other path MapSmith writes, and never leaves the machine — nothing reads it back. Your queries describe your work; treat the file that way, and delete it when you are done.

Formats

FormatReadWrite
GeoParquet 1.0 / 1.1 — WKB plus geo metadatayesyes, every path
GeoParquet 2.0 — Parquet-native GEOMETRY/GEOGRAPHY logical typesyes, including files that carry no geo key at allyes on the SQL path: run_sql writes both layers into one file
GeoPackage, Shapefile, FlatGeobuf, GeoJSON, …anything pyogrio/GDAL opensvia GDAL
GeoTIFF / COGyesoutputs of the [raster] and [whitebox] engines

GeoParquet 2.0 moves geometry into Parquet's own logical types and makes the geo key optional, so "a Parquet file with geometry in it" no longer implies that key. MapSmith reads the CRS from the logical type when it is the only place it exists — the spec default, an authority string, projjson:<key>, or the whole PROJJSON document inline, which is what DuckDB writes. run_sql emits both layers (geoparquet_version 'BOTH'), so one output file satisfies a 2.0-native reader and a GeoPandas 1.x one; the GeoPandas writer path stays 1.x because GeoPandas 1.1 caps schema_version there.

One declaration is deliberately refused rather than guessed: srid:<n>. The spec defines it as a numeric identifier and names no authority — its own example is srid:0 — so reading it as EPSG:<n> would be inventing a coordinate system and recording it as fact.

Choosing the stack, and never swapping it in silence

MAPSMITH_STACK picks the geoprocessing stack once, at the start. The default is opensource — GDAL, GeoPandas, DuckDB, Whitebox — and needs no licence. esri routes to ArcPy on a machine that has ArcGIS Pro installed, through a subprocess and files, because ArcPy lives in Pro's own interpreter. MapSmith ships no part of it and takes no licence to look: what a session can reach is read from the metadata the installer left on disk, and server_info reports it, so a caller learns it before planning five steps around it rather than at the first failure.

The rule that makes the choice worth making is what happens at the edges. When the chosen stack cannot do something, MapSmith says which of three things is true — there is no such tool, this licence tier does not include it, or it would need an online service — because those lead to three different decisions and one word for all of them leads to none. Where a route exists and cannot run, the manifest names the engine that actually produced the numbers and why the preferred one did not: an engine quietly replaced by another is a record that is true and a number nobody chose.

One operation is routed today: buffer_layer. Everything else runs on the open source stack whatever MAPSMITH_STACK says. That is the state of the wiring rather than a property of the design, and it is written here because the alternative was a defect: a table declaring three routes while one operation consulted the router meant requesting the stack ran two of them elsewhere with nothing in the manifest saying so. It was fixed before this release by shortening the table, not the sentence.

Two things this is not. It is not a com

Similar modules

Browse Earth & ocean science