This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Avoid routing through private park (proper way)

3

Hi there,

I need your help/recommendations to avoid routing through a park here in Rostock. It's the huge IGA-Park area alt text

Here you need to pay to enter the park and of course we don't suggest routing through the park if you just want to pass it ;-)

To make this understandable, we tagged all (ok most of) the ways with access=private and fee=yes. While this seems to work for the routers, this results in a visual clutter, as nobody would recognize the paths/footways as such.

I know we don't tag for renderers, but maybe you have similar situations and a better tagging that avoids such problems?

asked 11 Jul '15, 09:11

iii's gravatar image

iii
4.9k84082
accept rate: 10%

edited 11 Jul '15, 11:27

SK53's gravatar image

SK53 ♦
28.1k48268433


One Answer:

0

Hi iii, tag the entrances with access=private, fee=yes instead of all the ways. Add specific tags as, foot=yes, bicycle=yes and so on, with opening hours. And let the renderer cope with it !

answered 11 Jul '15, 14:24

Hendrikklaas's gravatar image

Hendrikklaas
9.3k207238387
accept rate: 5%

2

Access isn't actually private, it's customers. The best place to tag this is the park polygon itself, but adding it on the entrances as well is probably a useful precaution.

(12 Jul '15, 13:17) Vincent de P... ♦
1

Tagging the outline is very unlikely to have any effect on routing (and it's not even clear that it should have an effect). Entrance nodes on non-building features are so-so, a barrier node would be more likely to be considered relevant for routing.

(13 Jul '15, 02:56) Tordanik

Thanks for your replys. I changed the ways to access=customers and also tagged the gates. I'm not sure if just the gates would help the routers (problem of detecting the side for the restriction)

(15 Jul '15, 20:27) iii

Source code available on GitHub .