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

I want to work in pedestrian routing. I'm kinda new with osm so i would like that someone tell me the route that i have to follow. I want to do it offline first, to don't be a "problem" for other people, and when my work is finished uploading to osm server in case it can help someone. I want that the routing engine lead you by the sidewalk. Always the routing engines, even for pedestrians, leads people by the road. Thank you.

asked 17 Feb '16, 22:02

iTheNoob's gravatar image

iTheNoob
26223
accept rate: 0%


The bad way of solving this problem is generating or drawing footways for every pavement and uploading them to OSM. Don't do that!

The good way is writing a routing algorithm that will automatically create a routing graph with edges for each pavement on either side of the street, even if those are not explicitly mapped in OSM. Some work in this area has been done in the context of this project https://github.com/Nathanael-L/pedro (a student's bachelor thesis), and their final software version is due to be committed this week. Nathanael, the author, is likely very busy these days finishing his thesis but if you contact him next week about his software, I'm sure he'll be more than happy to help. Perhaps you can even continue his work where he left off!

permanent link

answered 17 Feb '16, 22:25

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

I would like to see and improve Nathanael's work, but maybe in a fute. I need to do the pedestrian routing kinda soon, so I don't have much time. The "bad way" can be made offline?

(18 Feb '16, 17:56) iTheNoob

I guess so; you'll however be limited in area to something that you can still process with an offline editor e.g. JOSM or Merkaator. Then save the modified data and run a routing algorithm on it.

(18 Feb '16, 19:58) Frederik Ramm ♦

Yes, i have already made my map on JOSM, but the question is: How can i run my map made in JOSM in an offline routing algorithm? Thank you so much, you're helping me a lot!!

(18 Feb '16, 20:10) iTheNoob
1

Save your file in JOSM, then run the importer of whatever routing engine you wish to use (OSRM, GraphHopper, osm2pgrouting...). Not all of them will work out of the box with JOSM's negative IDs but nothing that a little search-and-replace on the XML cannot fix!

(18 Feb '16, 21:42) Frederik Ramm ♦

look at:-

http://wiki.openstreetmap.org/wiki/Tag:footway%3Dsidewalk

http://wiki.openstreetmap.org/wiki/Proposed_features/Sidewalk_as_separate_way

http://wiki.openstreetmap.org/wiki/Area/The_Future_of_Areas

http://wiki.openstreetmap.org/wiki/Proposed_features/Street_area

http://wiki.openstreetmap.org/wiki/Proposed_features/area:highway

http://wiki.openstreetmap.org/wiki/Proposed_features/area_highway/mapping_guidelines

these should help you get started with pedestrian level maps and routing if you follow all the links on those pages you can learn a lot on the subject. Some of it still feels new to older contributers and input so far is patchy but expanding steadily.

when it comes to going into buildings there are moves to use a combination of highway and special indoor tagging to discrbe things like malls, station, shops, lots of public buildings etc. They also handle multi-floored buildings with level or elevation sperated tagging though some older contributers have big problems with stacked nodes they aren't technicaly not allowed are needed in cirtain places with these new schemes such as entrance doors to flats in highrise blocks for instance...

some infomation can be found on wiki searches on indoor mapping such as:-

http://wiki.openstreetmap.org/w/index.php?title=Special%3ASearch&profile=default&search=indoor&fulltext=Search http://wiki.openstreetmap.org/wiki/Simple_Indoor_Tagging http://wiki.openstreetmap.org/wiki/Indoor_Mapping

by resurching through the above you can a lean a lot about how others have been doing what you are trying to map.

incedentaly its a area I also try to focus on in my contributions.

permanent link

answered 01 Mar '16, 20:00

Govanus's gravatar image

Govanus
1543711
accept rate: 3%

edited 01 Mar '16, 20:03

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:

×305
×54

question asked: 17 Feb '16, 22:02

question was seen: 4,672 times

last updated: 01 Mar '16, 20:03

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