0
1

I am currently building a route planning app for runners. I'm wondering if it's possible extract all the ways/map features (for a specific area) on which humans can walk/run?

Is it also possible to download just the filtered mapping data without having to download all the other map features that normally come from the API (to save bandwidth).

asked 15 Jan '13, 00:01

Sadeer's gravatar image

Sadeer
1768914
accept rate: 0%

edited 15 Jan '13, 22:18


That's going to be an awful lot of data if you want to process the whole planet. Maybe start with a smaller data extract (perhaps for a smaller country) first?

One approach, as detailed here, would be to use osmconvert - in your case you'd want to extract ways tagged "highway" and then exclude from that those that people aren't allowed to walk on.

An alternative approach would be to throw all the OSM data data into a database and then work with it there. The instructions here are designed to support a tile server (which you don't need) but do cover loading the planet or an extract into a database, from which you could process it.

permanent link

answered 15 Jan '13, 00:46

SomeoneElse's gravatar image

SomeoneElse ♦
32.0k63330748
accept rate: 15%

1

See the access restrictions page for implicit default access values for different countries. Additionally there are various interesting hiking tags, especially sac_scale, trail_visibility and of course hiking routes. The hiking wiki page has more information.

(15 Jan '13, 08:49) scai ♦
1

Thanks for the answer. I think we're on the right track but I'm not trying to download the whole planet file then extract the relevant features but trying to get the mapping data for a 5-miles-radius area as specified by the user of the app and then extract the mapping features that will be needed to compute a route/path for the user.

(15 Jan '13, 21:40) Sadeer
1

That sort of radius should be well within the capabilities of Overpass or an XAPI server (perhaps one that you host along with the rest of your application)

(15 Jan '13, 21:59) SomeoneElse ♦
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:

×139
×47
×17
×2

question asked: 15 Jan '13, 00:01

question was seen: 2,938 times

last updated: 15 Jan '13, 22:18

powered by OSQA