← Back to home
Comparison · DevOps

osm2pgsql vs Sanity

A side-by-side editorial comparison of osm2pgsql and Sanity — release velocity, themes, recent moves, and the top alternatives to consider.

osm2pgsql vs Sanity: at a glance

Featureosm2pgsqlSanity
SectorDevOpsDevOps
Velocity score0.07.5
Sparks · 30d00
Top themesopenstreetmap, postgis, tile-expiry, lua-scriptingheadless-cms, mcp, ai-agents, developer-tools
Last editorial update9d ago13h ago
WebsiteVisit →Visit →

What is osm2pgsql?

osm2pgsql is rebuilding tile expiry so a small edit stops invalidating a whole lake.

osm2pgsql ships two or three releases a year and the last two carry substantial new machinery. 2.3.0 reworked tile expiry: polygons are now expired by shape rather than bounding box, and an opt-in diff expire mode computes the symmetric difference between an object's old and new geometry so a small edit to a large feature only invalidates the tiles it actually touched. It also added configurable limits on how many tiles one geometry or one run can expire. Before that, 2.2.0 introduced Locators for fast region lookup during import and process_deleted_* callbacks for handling removed objects in Lua.

Read the full osm2pgsql trajectory →

What is Sanity?

Sanity ships across every package at once, and the agent-facing surface moves fastest.

Sanity releases as a fleet: MCP server, Studio, JavaScript client, Media Library and UI all cut versions within days of each other, and the changelog reads as one stream of package releases. The current window is dominated by two lanes — the MCP server steadily gaining tools agents can call, and a round of modernization breakage in the client libraries (ESM-only, Node 22.12 floor). Studio v6.10.0 now bundles the App SDK, so custom Studio tools can call SDK hooks without wiring their own provider.

Read the full Sanity trajectory →

osm2pgsql vs Sanity: editorial side-by-side

O
osm2pgsql
DEVOPS
0.0

osm2pgsql is rebuilding tile expiry so a small edit stops invalidating a whole lake.

◆ Current state

osm2pgsql ships two or three releases a year and the last two carry substantial new machinery. 2.3.0 reworked tile expiry: polygons are now expired by shape rather than bounding box, and an opt-in diff expire mode computes the symmetric difference between an object's old and new geometry so a small edit to a large feature only invalidates the tiles it actually touched. It also added configurable limits on how many tiles one geometry or one run can expire. Before that, 2.2.0 introduced Locators for fast region lookup during import and process_deleted_* callbacks for handling removed objects in Lua.

◆ Where it's heading

The project is adding primitives rather than features, and saying so explicitly — 2.2.0 describes Locators and deleted callbacks as building blocks for things users have requested for years. The pattern is to move work that previously happened in the database after import into the import pipeline itself: region tagging via Locators instead of a post-import spatial join, deletion handling via callbacks instead of database triggers. The expiry work follows the same logic, pushing precision upstream so downstream re-rendering does less. The new expiry limits are a defensive addition, added specifically because vandalism or misconfiguration can otherwise generate billions of tiles and exhaust memory.

◆ Prediction

Expect diff expire to move from opt-in toward default once it has been exercised, following the pattern of the middle table format that became default in 1.11.0. The experimental osm2pgsql-expire command introduced in 2.2.0 is the other loose thread — it is explicitly marked as subject to change and has not stabilised.

S
Sanity
DEVOPS
7.5

Sanity ships across every package at once, and the agent-facing surface moves fastest.

◆ Current state

Sanity releases as a fleet: MCP server, Studio, JavaScript client, Media Library and UI all cut versions within days of each other, and the changelog reads as one stream of package releases. The current window is dominated by two lanes — the MCP server steadily gaining tools agents can call, and a round of modernization breakage in the client libraries (ESM-only, Node 22.12 floor). Studio v6.10.0 now bundles the App SDK, so custom Studio tools can call SDK hooks without wiring their own provider.

◆ Where it's heading

The MCP server is where the capability surface is actually growing — asset upload, schema discovery, CORS management — each release handing agents another operation that previously needed a human in the dashboard. The library work underneath is consolidation: one module system, one supported Node line, fewer dependencies, and now one SDK shared between Studio extensions and standalone apps. Read together, Sanity is narrowing the number of ways to build against it while widening what an agent can do unattended.

◆ Prediction

Expect the MCP tool list to keep absorbing dashboard operations — deploy, dataset and role management are the obvious remaining gaps — and the ESM-only floor to propagate to the packages that have not taken it yet. The releases are per-package, so a single dated entry rarely tells the whole story of a given week.

Alternatives to osm2pgsql and Sanity

Other DevOps products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either osm2pgsql or Sanity.

See all osm2pgsql alternatives → · See all Sanity alternatives →

Recent activity from osm2pgsql and Sanity

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 18h agoSanityMCP server v2.30.0: Assets upload, schema discovery, and improved image field validation
  2. 19h agoSanitySanity Studio v6.10.0: Studio SDK integration, CLI asset uploads and token expiry, and presentation and Vision fixes
  3. 6d agoSanityJavaScript Client v8.0.0: Node 22+ ESM-only support and refined upload, proxy, and error handling
  4. 6d agoSanityMCP server v2.29.1: Standard protocol negotiation errors
  5. 6d agoSanityMCP server v2.29.0: CORS origin tools and safer document inputs
  6. 6d agoSanityMedia Library v2026.08.12.draft: Asset previews now show shareable URLs, steadier dialogs, and assorted improvements
  7. 1mo agoosm2pgsql2.3.1 fixes a diff-expire segfault with multiple expire outputs
  8. 2mo agoosm2pgsqlDiff expire invalidates only the tiles a change actually touched
  9. 11mo agoosm2pgsqlLocators and deleted-object callbacks land as new primitives
  10. 1y agoosm2pgsql2.1.1 refuses to update when the flatnode file is missing
  11. 1y agoosm2pgsql2.1.0 makes prepared statements work with connection poolers
  12. 1y agoosm2pgsql2.0.1 fixes schema forwarding and missing binary installation

Frequently asked questions

What is the difference between osm2pgsql and Sanity?

They serve adjacent needs but don't currently overlap on shipped themes. Sanity is currently shipping more aggressively (velocity 7.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is osm2pgsql better than Sanity?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. Sanity is currently shipping more aggressively (velocity 7.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other DevOps products to evaluate alongside.

What are the best alternatives to osm2pgsql?

Top osm2pgsql alternatives in DevOps are ranked by recent ship velocity. Browse the "osm2pgsql alternatives" section above for the current picks, or visit /alternatives/osm2pgsql for the full list with editorial commentary on each.

What are the best alternatives to Sanity?

Top Sanity alternatives in DevOps are ranked by recent ship velocity. Browse the "Sanity alternatives" section above for the current picks, or visit /alternatives/sanity for the full list with editorial commentary on each.