Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] OSM Node ID and SUMO IDs Confusion

Hello everyone,

How the osm node ids and the sumo junction ids are related? I am looking at LuST. The lust.net.xml file has junction ids for the junctions. For example,
<junction id="-26782" type="priority".....>

Same is present at Lust.polygons.osm file as
<node id='-26782' visible='true' lat='49.6285696' lon='6.0618223' />

And in the lust.legacy.scenario.osm file as
<node id='-26782' visible='true' lat='49.5852427' lon='6.0883019' />

In the last two files, the node ids are same but their lat lon are different. Why?
Also when it is made to the lust.net.xml how they are mapped and from which file?

I am trying to plot few junctions and their connecting edges (like a tree) on top of the map file (osm file). Now the processing is done with the sumo ids and when I try the same ids to plot on the osm file some of the nodes are not matching or their connecting paths are not matching (i.e they are distant nodes, not adjacent). I am confused with the ids of the osm files and the sumo files and how they are related?

BDW is there any way so that I can plot few junctions and their connecting edges (like a tree) on the sumo file itself rather than on the osm map file? I know about NetEdit and can manually select the junction and edge ids to plot them. But I have too many nodes to plot manually. How do I solve this issue?

Thanks.

Back to the top