[Tile-serving] [openstreetmap/osm2pgsql] What does --middle-with-nodes do exactly? (Discussion #2012)

Jochen Topf notifications at github.com
Mon Jul 24 18:01:43 UTC 2023


I have updated the docs to make the description a bit clearer I hope. It is not as complex as you describe. It simply adds all nodes that have at least one tag to the `planet_osm_nodes` table even if a flat node file is used. Unlike the other data in the middle, this is not needed for osm2pgsql itself, it is only so that this data is there for users who want to do something special with the data.

Adding those nodes adds about 30 GB for the table plus 5 GB for the index to the database size. That's large enough that we don't want to do that by default.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/discussions/2012#discussioncomment-6532449
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/repo-discussions/2012/comments/6532449 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230724/ada3ebbb/attachment-0001.htm>


More information about the Tile-serving mailing list