[Tile-serving] [osm2pgsql] rework projection code (#527)
Sarah Hoffmann
notifications at github.com
Tue Jan 12 21:41:56 UTC 2016
- make use of osmium's proj wrapper CRS
- use virtual functions instead of switching over projection
- remove duplicate code (mainly WSG84 to mercator transformation)
- use custom projections also with --proj 4326 and 900913 (fixes #514)
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/527
-- Commit Summary --
* rework projection code
-- File Changes --
M geometry-processor.cpp (2)
M options.cpp (10)
M osm2pgsql.cpp (4)
M output-gazetteer.cpp (8)
M output-pgsql.cpp (9)
M parse-osmium.cpp (9)
M reprojection.cpp (258)
M reprojection.hpp (72)
M tests/test-options-parse.cpp (26)
M tests/test-output-multi-line-storage.cpp (2)
M tests/test-output-multi-poly-trivial.cpp (2)
M tests/test-output-multi-tags.cpp (2)
M tests/test-output-pgsql-area.cpp (2)
M tests/test-output-pgsql.cpp (4)
M tests/test-parse-diff.cpp (2)
M tests/test-parse-xml2.cpp (2)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/527.patch
https://github.com/openstreetmap/osm2pgsql/pull/527.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/527
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160112/112d1c75/attachment-0001.html>
More information about the Tile-serving
mailing list