Hi! I'd like know if exists a way of extract restrictions access data from osm layer. I ask you to help me to make that please! asked 13 Sep '17, 15:57 paulo_rbs |
The geofabrik shapefiles currently don't contain any information on turn restrictions, you should likely talk to geofabrik directly to see if it is possible to model this in a reasonable way. To get the data directly out of OSM you need to extract relations of the type "restriction" (they will contain information on what kind of turn restriction it is) and the member elements. However if that is useful depends on what you want to do with the information in the end. Overpass-turbo example: http://osm.li/3E answered 14 Sep '17, 12:50 SimonPoole ♦ well, I'm needing the data to be read by a routing system; In that case I would have to get a way to read this data directly on the layer.
(14 Sep '17, 13:15)
paulo_rbs
Thanks a lot ¬
(14 Sep '17, 13:48)
paulo_rbs
1
Hi, turn and access restrictions are only available in our paid "routeable" shape files. In addition, linestrings in our routeable shape files are split at each intersection. Our free shape files only contain unsplit linestrings (identical to the OSM ways they are based on). Michael (from Geofabrik)
(14 Sep '17, 14:34)
Nakaner
|
Could you perhaps give a bit more detail, perhaps with an example?
so I need some kind of data, for each segment of the layer, that gives me information when you can not turn left or right..
for example: at a junction where I can not turn to one side
Which layer do you mean? Which software do you use? Who provided "the layer" to you?
the layer is gis.osm_roads_free_1.shp, the software I use is Qgis, the layer I downloaded from http://download.geofabrik.de/south-america.html, which is from the free OppenStreetMaps.