[Tile-serving] [openstreetmap/osm2pgsql] Deprecate use of negative IDs (#1097)

Jochen Topf notifications at github.com
Tue Mar 31 13:43:21 UTC 2020


Looking at the code I can see that osm2pgsql has provisions for the use of negative node/way/relation IDs in some places. But I am unsure whether this works correctly. Maybe it does in some circumstances and not in others. One problem is the use of negative IDs in the database for areas created from multipolygon relations. This will clash with negative way IDs.

Catering for negative IDs makes the code more complex and at least some of the code looks like it uses extra memory to store those IDs that almost no user will have. Do we actually need this and want to support it? What are the use cases? Are there uses that can't be replaced by using `osmium renumber` to first create a file without negative IDs?

-- 
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/issues/1097
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200331/6b9cf6d7/attachment.htm>


More information about the Tile-serving mailing list