Skip to content
Discussion options

You must be logged in to vote

You need the -x, --extra-attributes option to also get the non-tagged nodes, ways, and relations. But we aware that there are two orders of magnitude more untagged nodes than tagged nodes, so this will take a while.

There is currently no way to access the individual point geometries for way nodes. You'd have to use some trick like importing the linestring and using a trigger in the database to get the points from the linestring. Or, if you have a table with all nodes anyway, get them from there later.

Lastly here is a suggestion: Use the middle tables which osm2pgsql will create for you in --slim mode instead of your nodes table. It will not have a geometry column, but lat/lon columns. Bu…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joto
Comment options

joto Aug 22, 2025
Maintainer

Answer selected by joto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants