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

I wonder why this routing along an esplanade (highway=pedestrian, area=yes) goes all the way around the edges of the area, while this routing along another esplanade (highway=pedestrian, area=yes) doesn't do so.

What I'm really trying to achieve is to improve the first mentioned routing (in the worst case it routes a 5 m walk into a 1.82 km walk around the edges of the area), while sticking to best mapping practices (I'm aware of the difficulties associated with routing through open areas).

asked 03 Nov '19, 20:52

Henrik's gravatar image

Henrik
16114
accept rate: 0%

edited 03 Nov '19, 21:04


My guess for an explanation:

In the first case the pedestrian area is mapped as a polygon (highway=pedestrian + area=yes) and this is understood by the routers as a routable way. Since they cannot route over an area they take the edges instead as an approximation.

In the second case the pedestrian area is mapped as a multipolygon and the routers don't accept that as a routable way and completely ignore it. Instead they route over the adjacent cycleway. It's better visible a bit to the west.

You cannot do much about the problem in the first case. Routers would have to introduce routing over areas. Some mappers map virtual paths over such area but this is generally frowned upon and would require a lot of virtual paths here connecting all the entering paths.

But the problem is a bit academic. A more realistic routing question would be solved quite ok in my opinion. Of course the turn-by-turn instructions don't really fit to the situation on the ground.

permanent link

answered 04 Nov '19, 11:03

TZorn's gravatar image

TZorn
12.3k764225
accept rate: 15%

Thanks, I think that you're probably right! Not sure that I agree that the problem is academic though. For example, my use case is to determine the which location (out of a given set of locations) that is closest (walking distance) to a user. If the user's location is on an unfortunate side of the pedestrian area polygon, this calculation becomes very wrong.

(04 Nov '19, 14:40) Henrik

Would setting the area to pedestrian=yes instead of having it unset which i believe these both are. give the routers a chance work.

(04 Nov '19, 19:12) andy mackey

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
×213

question asked: 03 Nov '19, 20:52

question was seen: 939 times

last updated: 04 Nov '19, 19:12

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