Skip to content

Instantly share code, notes, and snippets.

@pnorman
Created September 18, 2017 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pnorman/0999b98f28780e20a9afc7e988e0fe29 to your computer and use it in GitHub Desktop.
Save pnorman/0999b98f28780e20a9afc7e988e0fe29 to your computer and use it in GitHub Desktop.
osm2pgsql RC email
We're looking at releasing osm2pgsql 0.94.0 soon and could use testing
of the 0.94.0-RC1 version. Testing from packagers is appreciated,
particularly if you are doing something different with libosmium.
Major changes
- Store unprojected coordinates in slim tables and use osmium dense file
array for flat nodes
This fixes a number of projection-related issues
- Use libosmium for geometry building instead of geos
This offers speed increases, improves code, and avoids relying on a
large library for a small portion of its functionality. As a
consequence of this change, invalid geometries are no longer ever
created
Changes
- Rewrite of tile expiry
A bug in the old code silently dropped a significant portion of tiles.
This has been fixed, increasing the size of the expiry list. For
expiry arguments that cover multiple zooms, the behavior has been
changed. This is best visualized with
https://github.com/openstreetmap/osm2pgsql/issues/709#issuecomment-302674031
rather than trying to explain it in text. There is more discussion in
the issue.
- Don't store node tags in slim tables
This reduces space requirements when importing with --slim and no
--flat-nodes or --drop
- Don't assume a default database name of gis
If you want this database, either add -d gis to your command line or
set PGDATABASE.
- Various bugfixes with processing relations, tag transforms, and related issues
Future changes
We expect this to be the last osm2pgsql release that supports old-style
multipolygons with the "C" transform.
Overall this release should be faster, with a 15% performance increase
on CPU-bound machines
You can see a complete list of commits at https://github.com/openstreetmap/osm2pgsql/compare/0.92.1...0.94.0-RC1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment