omniscale/imposm3

import all node ids related to ways?

ParisaRashidi opened this issue · 2 comments

Import all node ids related to ways?
Hi everyone,
in OpenStreetMap when you select a "Way", you can see all the nodes that participated in the construction of the way. It seems that there is a relation between ways and nodes, Since I used to import OSM data to Postgres With "OSmosis", I had a "way_nodes" table for this purpose. I wonder how I can create a way_nodes table in imposm mapping.

Same problem.
I need to import the list of node ids to reconstruct id for specific portions of ways, and there is no way to do that in imposm.
I currently use imposm 2 that I modified myself to do that, but from what I saw in imposm 3 everything is different (and in Go instead of python) so I'm not able to modify it in the same way (I tried to look, and didn't even see where to begin with). I also did try to use osmosis in the past but in my memory it's way less efficient and less easy to configure, so I had to abandon this idea.
To me it's a real limitation of imposm, because it's a lost information that there is no way to get back. You can get the points by looking at the geometry but not their ids. I understand that the informations of author and metadata is different, but node ids are important part of the actual data, and having no way to import it is a real loss.

Same here, I didn't find any solution to get the connected nodes of an OSM way similar to the data on openstreetmap.org when inspecting a way. Would be nice to have that available in imposm to be able to define that data as a column in the imposm-mapping.yml.