[Tile-serving] [openstreetmap/osm2pgsql] Misc cleanup (#1264)

Jochen Topf notifications at github.com
Tue Aug 4 16:49:26 UTC 2020


Refactors some code in several steps. See individual commits.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove macro strtoosmid
  * Cleanup osmtypes.hpp
  * Cleanup of taginfo code
  * Use real bool instead of one masquerading as int
  * Make enum ColumnType into an enum class
  * Simplify export_list struct and make it into a real class
  * Put globals into functions where they belong
  * Remove exit_nicely() helper function from read_style_file()

-- File Changes --

    M src/middle-pgsql.cpp (4)
    M src/osmtypes.hpp (20)
    M src/output-flex.cpp (1)
    M src/output-multi.hpp (2)
    M src/output-pgsql.hpp (2)
    M src/table.cpp (6)
    M src/taginfo-impl.hpp (42)
    M src/taginfo.cpp (155)
    M src/taginfo.hpp (14)
    M src/tagtransform.hpp (2)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1264
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200804/455035c8/attachment.htm>


More information about the Tile-serving mailing list