← Back to home
Comparison · DevOps

osm2pgsql vs Erlang/OTP

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

osm2pgsql vs Erlang/OTP: at a glance

Featureosm2pgsqlErlang/OTP
SectorDevOpsDevOps
Velocity score0.05.0
Sparks · 30d00
Top themesopenstreetmap, postgis, tile-expiry, lua-scriptingruntime, security, ssh, tls
Last editorial update2h 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 Erlang/OTP?

Three OTP branches move as one release train, and SSH and epmd carry the security load.

Erlang/OTP is patching three branches in lockstep — 29 as current, 28 and 27 as maintenance — with each fix set published as a trio within minutes of itself. The window is dominated by security work in the network-facing applications: OTP 29.0.4 carried six CVEs including an epmd denial-of-service mitigation, and the 4 August trio brought SSH into line with RFC 4253 by rejecting packets not aligned to the cipher block size, with a timing-safe packet-discard path for CBC ciphers. A regression in the previous patch that stopped epmd binding to localhost was fixed in the same trio.

Read the full Erlang/OTP trajectory →

osm2pgsql vs Erlang/OTP: 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.

E5.0

Three OTP branches move as one release train, and SSH and epmd carry the security load.

◆ Current state

Erlang/OTP is patching three branches in lockstep — 29 as current, 28 and 27 as maintenance — with each fix set published as a trio within minutes of itself. The window is dominated by security work in the network-facing applications: OTP 29.0.4 carried six CVEs including an epmd denial-of-service mitigation, and the 4 August trio brought SSH into line with RFC 4253 by rejecting packets not aligned to the cipher block size, with a timing-safe packet-discard path for CBC ciphers. A regression in the previous patch that stopped epmd binding to localhost was fixed in the same trio.

◆ Where it's heading

The maintenance pattern is unusually strict: 27, 28 and 29 receive the same trouble reports on the same day, so the effective support window is wide and sites on older majors are not being pushed forward by security pressure. Where the fixes land is consistent — ssh, ssl, crypto, public_key and erts account for nearly every changed application across these releases, which is the distribution epmd and the TLS/SSH stack impose on a distributed runtime. The CBC timing mitigation in particular is an old class of attack being closed properly rather than papered over.

◆ Prediction

Expect the next patch trio to follow the same shape — a small set of trouble reports applied to all three branches simultaneously — with ssh and ssl the most likely applications to change. Nothing in these entries indicates feature work landing on the patch branches; that stays on the next major.

Alternatives to osm2pgsql and Erlang/OTP

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 Erlang/OTP.

See all osm2pgsql alternatives → · See all Erlang/OTP alternatives →

Recent activity from osm2pgsql and Erlang/OTP

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

  1. 5d agoErlang/OTPSSH now rejects misaligned packets with a timing-safe discard
  2. 5d agoErlang/OTPOTP 28 takes the same SSH alignment and epmd fixes
  3. 5d agoErlang/OTPOTP 27 receives the same erts and ssh patches
  4. 12d agoErlang/OTP27 July patch touches crypto, ssl, ssh and public_key on OTP 28
  5. 12d agoErlang/OTPOTP 27 mirrors the 27 July crypto and transport patch
  6. 13d agoErlang/OTPOTP 29.0.4 carries six CVEs and an epmd DoS mitigation
  7. 1mo agoosm2pgsql2.3.1 fixes a diff-expire segfault with multiple expire outputs
  8. 1mo agoosm2pgsqlDiff expire invalidates only the tiles a change actually touched
  9. 10mo 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 Erlang/OTP?

They serve adjacent needs but don't currently overlap on shipped themes. Erlang/OTP is currently shipping more aggressively (velocity 5.0 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 Erlang/OTP?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. Erlang/OTP is currently shipping more aggressively (velocity 5.0 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 Erlang/OTP?

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