I was searching for OSM documentation online, but I couldn't find one. This is my question,
In OSM(raw data format), does the road segment has intersections included in them. If so, are the intersections are identifiable?. Also, are there any detailed information available about OSM (WiKi is not complete)?.
Answer
In the OSM raw data, all ways (roads or else) are described as a sorted set of node numbers. Roads can be identified by a highway
-tag, with some exceptions like highway
=bus_stop
, bridleway
or footway
.
A road junction is just a node, the roads don't have to be split up there. Roads crossing with bridges should not have a common node.
To identify a road junction, you have to take every node of a way, and look up all other ways that are tagged as roads if they share the same node.
No comments:
Post a Comment