Real cartography from a chat box
When we tell people AutoGeo can stylize an ArcGIS Pro layer through a chat box, the first reaction is usually polite skepticism. The implicit question: are you just toggling between three preset color ramps?
No. AutoGeo does the same thing a senior cartographer does when they get tired of the UI: it manipulates CIM JSON directly.
What CIM actually is
The Cartographic Information Model is the on-disk JSON shape that backs every .lyrx, every map, every layout, every symbology choice in ArcGIS Pro. Layer.getDefinition('V3')gives it to you. Layer.setDefinition(...) writes it back. The Pro UI is a user-friendly view onto this same JSON.
The implication: anything you can do in the symbology panel, you can do programmatically by editing the right node in the right object. Renderer? cimFeatureLayer.renderer. Label classes? cimFeatureLayer.labelClasses. Layout scale bar? cimLayout.elements[].type === "CIMScaleBar".
Why not just drive the UI
We tried. The ArcGIS Pro SDK exposes typed APIs for most symbology operations — layer.SetRenderer(...), layer.SetLabelClasses(...), and so on. They're excellent for typical cartography. They're also a moving target — the typed surface lags the CIM by a release or two, certain renderer types are write-only, and the LLM-shaped tool catalog starts to look like a maintenance bog.
CIM JSON is the contract. It has a public spec, it's versioned with Pro, and a 200-line Python module covers every renderer we care about with no hidden state.
The helpers that ship today
Each of these is a pure function that returns a CIM-shaped Python dict. The dispatcher applies them with layer.setDefinition(json) in a single transaction.
- Class breaks — graduated colors with 13 baked-in ramps (Blues, Reds, Greens, Greys, Purples, Oranges, the four viridis-family ramps, and three diverging: RdYlBu, RdYlGn, Spectral). Classification methods: natural breaks, equal interval, quantile, standard deviation, defined interval, geometric.
- Unique values — categorical, with colors distributed across the chosen ramp by ordinal index. Works on any field.
- Proportional symbols — point markers scaled between min and max sizes by a numeric field.
- Dot density — one dot per N units, configurable dot size and color.
- Heat map — kernel density rendering with gradient stops mapped from any of the 13 ramps.
- Bivariate 3×3 — two variables, three classes each, mapped to a 9-cell palette. We ship three palettes (BlueRed, PinkTeal, YellowPurple); they look correct in print and on screen at the same time, which is harder than it sounds.
Where this gets interesting
We also expose layout primitives: CIMScaleBar, CIMLegend, CIMNorthArrow, and the title text element. Plus map series — turn a layout into a one-page-per-feature export driven by an index layer. So a single AutoGeo turn can do:
Apply Blues 7-class natural-breaks on POPULATION, label by COUNTY, compose a landscape layout titled "2026 Population Density," and turn it into a map series indexed by the Regions layer sorted by ID.
Five tool calls, one prompt, full deliverable. Compare that to the click-path you'd normally need: open the Symbology pane, pick a method, pick a ramp, fix the labels, switch to layout view, add a title, add a legend, add a scale bar, open Map Series, configure the index layer. Each click correct, each click reversible by a mis-click, each click your responsibility.
Why CIM JSON is the right interface for an LLM
Three reasons specifically.
- It's already the truth. Anything stored in a layer file is already CIM JSON. Round-tripping is lossless. No translation layer means no class of bug where the UI says one thing and disk says another.
- Diff-friendly. Showing the user what changed is a JSON diff. Asking the user to confirm a change is showing the diff. The audit log becomes meaningful.
- Composable. A renderer is just a node. A label class is just a node. You can mix-and-match without state machines. The composite
webmap_create_from_servicetool ships the Web Map JSON spec right alongside CIM — same idea, different consumer.
Cartography isn't styling. It's a chain of small, precisely-specified choices. CIM JSON makes each choice addressable. AutoGeo just gives you a faster way to make them.