NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Dear all, I'm developing an R package named osmextract to import OSM data using OSM extracts that are stored by external providers (such as Geofabrik).

I'm trying to code a new function that can be used to import a set of ways representing a spatial network according to a specific mode of transport (i.e. walking, cycling, or driving) and I was wondering if there are official guidelines on how to select those roads. For example, if I'd like to import a set of ways according to a cycling mode of transport, I would exclude highway = motorway or highway = footway, but I was wondering if there are official and standardised guidelines.

Thanks for your help.

asked 09 Jul '21, 09:34

agila5's gravatar image

agila5
16113
accept rate: 0%


Hi.

You probably want to read this page and others in the same category.

The gist of it is that the type of road does not necessarily define what kind of vehicules may pass, the access tags do.

Regards.

permanent link

answered 09 Jul '21, 11:03

H_mlet's gravatar image

H_mlet
5.4k1781
accept rate: 13%

Thank you very much.

(13 Jul '21, 08:42) agila5

In addition to what H_mlet shared you should probably also have a look around what other routing engines assume. Some things are not so obvious. For example cyclists could still use footways/stairs if they push the bike. Or you might want to disregard the tagged access restriction if an official bike/walking route is following a path. Or you want to make the routabilitiy dependent on the surface.

permanent link

answered 09 Jul '21, 14:36

TZorn's gravatar image

TZorn
12.3k764225
accept rate: 15%

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:

×24
×22
×18
×11

question asked: 09 Jul '21, 09:34

question was seen: 1,063 times

last updated: 13 Jul '21, 08:42

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum