Use named constants in more places instead of magic numbers.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2462

-- Commit Summary --

  * New constants: SECONDS_IN_MINUTE and MINUTES_IN_HOUR
  * Use constants instead of magic numbers in WKB encoding
  * Use constant ZOOM_MAX
  * Use uppercase for constant
  * Avoid warnings for use of constants in tile code

-- File Changes --

    M src/command-line-parser.cpp (10)
    M src/middle-ram.cpp (16)
    M src/tile.cpp (7)
    M src/util.cpp (19)
    M src/wkb.cpp (29)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2462.patchhttps://github.com/osm2pgsql-dev/osm2pgsql/pull/2462.diff
-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2462
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to