[Tile-serving] [osm2pgsql] Cleanup geometry-builder (#501)

Sarah Hoffmann notifications at github.com
Sat Nov 14 15:06:10 UTC 2015


Includes refactoring of duplicated code into functions, removal of remaining deletes and some code style cleanup. Refer to individual commits for more information.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/501

-- Commit Summary --

  * use default constructor/destructor for geometry builder
  * move string conversion of geos geometries into wkt_t constructor
  * move duplicated code into static functions
  * simplify setup of polygondata vector
  * minimize variable scopes and coding style cleanup

-- File Changes --

    M expire-tiles.cpp (2)
    M geometry-builder.cpp (532)
    M geometry-builder.hpp (34)
    M processor-point.cpp (15)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/501.patch
https://github.com/openstreetmap/osm2pgsql/pull/501.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/501
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151114/a1184923/attachment.html>


More information about the Tile-serving mailing list