[Tile-serving] [osm2pgsql] Change z_order of link roads and add tests (#374)
Paul Norman
notifications at github.com
Sun Jul 5 21:15:48 UTC 2015
Mosat maps prefer placing link roads below non-link roads. This allows them to do so without complex SQL or multiple layer solutions which break layer tag usage.
z_order per layer has also been increased from 10 to 100 to allow for this more fine-grained ordering.
Other types of roads (tracks, paths, etc) have been added. This does not impact those not using z_order for layers with these, but does allow their use.
It also removes highway=minor handling, which is a disused tag.
Fixes #132
@math1985, as you are more familiar with appropriate ordering of roads, could you review this? I'd like to deal with #132 for 0.88.0 which is probably coming soon.
I'm not attempting to replicate the osm-carto behavior for railways, as what we're doing with a `UNION ALL` is fairly specific and might not be generally applicable.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/374
-- Commit Summary --
* Change z_order of link roads and add tests
-- File Changes --
M .gitignore (1)
M Makefile.am (4)
M docs/migrations.md (9)
M tagtransform.cpp (48)
A tests/test-output-pgsql-z_order.cpp (186)
A tests/test_output_pgsql_z_order.osm (75)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/374.patch
https://github.com/openstreetmap/osm2pgsql/pull/374.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/374
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150705/772c16ef/attachment.html>
More information about the Tile-serving
mailing list