[OSM-dev] osm2pgsql 0.94.0 release candidate
Paul Norman
penorman at mac.com
Mon Sep 18 21:03:53 UTC 2017
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 or fixed
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
More information about the dev
mailing list