Hi, I would like to know if it is possible to obtain information on the orientation of the streets when downloading an .osm file. That is, when opening the 'lines' file in QGIS (from the .osm file) there is a column that indicates if street A has a south-north direction, street B northeast-southwest, etc (or something similar). I was checking webpages that use info from OSM - as brouter.de, which are really interesting but I want to use this information to solve a Vehicle routing problem (many package delivery points from a warehouse) and they are not useful in a case like this. asked 20 May '21, 05:08 puertodormido |
you can use Qgis field calculator:
This will return angle of line in degrees at its termini. answered 20 May '21, 10:08 Cascafico Thanks. I did not explain myself completely. What I want is the direction in what vehicles are allowed to move.
(20 May '21, 10:16)
puertodormido
1
Vehicles can generally only travel in the same direction as the linear road, so the above angle would give you that information. Maybe you need to tell us more about what your end goal is?
(20 May '21, 17:36)
alester
Well, we have twoway (no tag or
(20 May '21, 19:38)
TZorn
|
I want to note that what I'm trying to get is the orientation and the direction in what the vehicles are allowed to move.