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, 15:57

paulo_rbs's gravatar image

paulo_rbs
613
accept rate: 0%

1

Could you perhaps give a bit more detail, perhaps with an example?

(13 Sep, 15:59) SomeoneElse ♦

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

(13 Sep, 16:18) paulo_rbs
1

Which layer do you mean? Which software do you use? Who provided "the layer" to you?

(13 Sep, 17:01) Nakaner

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.

(13 Sep, 17:14) 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

permanent link

answered 14 Sep, 12:50

SimonPoole's gravatar image

SimonPoole ♦
31.4k13246495
accept rate: 18%

edited 14 Sep, 12:57

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, 13:15) paulo_rbs

Thanks a lot ¬

(14 Sep, 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, 14:34) Nakaner
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×61

question asked: 13 Sep, 15:57

question was seen: 201 times

last updated: 14 Sep, 14:34

powered by OSQA