Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import all node ids related to ways? #256

Open
ParisaRashidi opened this issue Dec 1, 2020 · 2 comments
Open

import all node ids related to ways? #256

ParisaRashidi opened this issue Dec 1, 2020 · 2 comments

Comments

@ParisaRashidi
Copy link

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.

@robin-loche
Copy link

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.

@lisapaw
Copy link

lisapaw commented Jan 20, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants