mikeqfu/pydriosm

Find Nodes Associated With a Way

manesioz opened this issue · 1 comments

Hello again,

Since the parsing is layer-specific, I was wondering if its possible to associated each WayId to a list of NodeIds? This information does not seem to be available but maybe it's possible, any thoughts?

Something like this:

{
    'osm_id': some_way_id, 
    'connected_nodes': [list of node id's associated with this way], 
    ...
}

Seems like the only way would be to match on coordinates, which seems pretty sub-optimal