I am struggling with the data format OSM gives me: I want to use OSM data for routing, but all round-abouts and parking lots are not in the lines layer. They are situated in the poly(lines) layer.
Thus I could not find a working way to combine both layers by their same type (e.g. highway=secondary) to have the roundabouts in place for valid routing.
I imagine that this is quite a easy one, but I am stuck. can someone help me out?
After v.patch I added my stations to the network and added missing nodes
v.net --overwrite --verbose input=network points=stations output=network_tmp operation=connect thresh=500 v.net input=network_tmp operation=nodes output=network
BUT if I now want to do routing, I still get a lot of errors saying that the points are not reachable from each other. On the network itself it looks ok.
echo 2 2 4 |v.net.path --overwrite --verbose input=network output=path_2_4
I tried a cleanup as found on the web
v.clean input=network output=network_cleaned tool=break,rmdupl
This does not improve the routing. As the manual says it breaks the lines at each line intersection and therefore all information regarding bridges, tunnels etc. are lost.
Any idea why it is that hard to use openstreetmap data or are my steps wrong?