← Back to home
Comparison · DevOps

osm2pgsql vs OpenTripPlanner

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

osm2pgsql vs OpenTripPlanner: at a glance

Featureosm2pgsqlOpenTripPlanner
SectorDevOpsDevOps
Velocity score0.00.0
Sparks · 30d00
Top themesopenstreetmap, postgis, tile-expiry, lua-scriptingtransit-routing, graphql, api-removal, gtfs-rt
Last editorial update3h ago2h 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 OpenTripPlanner?

OpenTripPlanner finished a multi-year migration by deleting its REST API.

OTP releases roughly twice a year and keeps its notes to a handful of notable items, deferring the rest to external changelogs. The recent line has been about API consolidation: 2.6.0 disabled the legacy REST API by default and made the new debug client the default, 2.8.0 removed the REST API outright, and 2.9.0's only listed change is a move to Java 25. Feature work in between went into SIRI extra calls, GTFS-RT platform and headsign changes, and transit filters on the GraphQL planConnection query.

Read the full OpenTripPlanner trajectory →

osm2pgsql vs OpenTripPlanner: 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.

O0.0

OpenTripPlanner finished a multi-year migration by deleting its REST API.

◆ Current state

OTP releases roughly twice a year and keeps its notes to a handful of notable items, deferring the rest to external changelogs. The recent line has been about API consolidation: 2.6.0 disabled the legacy REST API by default and made the new debug client the default, 2.8.0 removed the REST API outright, and 2.9.0's only listed change is a move to Java 25. Feature work in between went into SIRI extra calls, GTFS-RT platform and headsign changes, and transit filters on the GraphQL planConnection query.

◆ Where it's heading

The GraphQL API is now the only API, and the deprecation of plan in favour of planConnection back in 2.7.0 shows the same consolidation happening inside it. Alongside that, the real-time surface keeps growing — SIRI Lite, extra calls, GTFS-RT support for new and replacement trips — while graph build memory consumption gets cut release over release. The 2.9.0 release being a Java version bump and nothing else suggests the API work has run its course.

◆ Prediction

With the REST removal done and the runtime moved to Java 25, the next release is more likely to concentrate on real-time data handling than on API surface.

Alternatives to osm2pgsql and OpenTripPlanner

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 OpenTripPlanner.

See all osm2pgsql alternatives → · See all OpenTripPlanner alternatives →

Recent activity from osm2pgsql and OpenTripPlanner

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

  1. 1mo agoosm2pgsql2.3.1 fixes a diff-expire segfault with multiple expire outputs
  2. 1mo agoosm2pgsqlDiff expire invalidates only the tiles a change actually touched
  3. 4mo agoOpenTripPlannerRuntime moves to Java 25
  4. 10mo agoOpenTripPlannerBugfix release: GraphiQL error and flex trip validation
  5. 10mo agoosm2pgsqlLocators and deleted-object callbacks land as new primitives
  6. 11mo agoOpenTripPlannerREST API removed; GraphQL becomes the only interface
  7. 1y agoosm2pgsql2.1.1 refuses to update when the flatnode file is missing
  8. 1y agoosm2pgsql2.1.0 makes prepared statements work with connection poolers
  9. 1y agoOpenTripPlannerRaptor-backed via search; plan deprecated for planConnection
  10. 1y agoosm2pgsql2.0.1 fixes schema forwarding and missing binary installation
  11. 1y agoOpenTripPlannerFares V2 support, GBFS geofencing and lower memory use
  12. 1y agoOpenTripPlannerLegacy REST API disabled by default; new debug client promoted

Frequently asked questions

What is the difference between osm2pgsql and OpenTripPlanner?

They serve adjacent needs but don't currently overlap on shipped themes. osm2pgsql and OpenTripPlanner are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is osm2pgsql better than OpenTripPlanner?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. osm2pgsql and OpenTripPlanner are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). 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 OpenTripPlanner?

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