Skip to content

Area Ways #42

Closed
Closed

Description

@kevinkreiser

(2016-02-16T14:20:07Z) @kevinkreiser : originally created valhalla/mjolnir#389

Some ways are marked as area=yes in a lot of cases this ends up being a polygon and not something that is routable. So currently we throw away all ways marked like this.

The problem is, this does throw out some valid routable information. Go here http://taginfo.openstreetmap.org/tags/area=yes#combinations and refine it with highway to see of all marked area=yes what values of highway occur.

bildschirmfoto vom 2016-02-16 09 14 24

You'll notice that there are a lot of pedestrian stuff. Now it may be little pedestrian islands not connected to anything else but if its large enough we might want to still keep it (university on campus pedestrian routing routing?)

So there are a couple of things we could do. Perhaps we should, as @gknisely suggested, not throw away any area features. After all, if the other attribution on the way (the highway tag) makes the way seem not routable it should weed out stuff that is just polygons. Another check we could do is make sure the geometry is not a ring. This is good for most cases but you could see cases (none in taginfo though..) where its a junction=roundabout that might be marked as area as well as being routable.

Activity

  1. sfkeller commented on Oct 8, 2017

    @sfkeller

    What is the reason that this issue about pedestrian routing through areas has such low priority?

    I'm asking because mappers obviously continue to add "virtual" ways over areas in OSM. This is unncessary and like "tagging for the router". In addition it looks weird in renderers, because such pedestrian ways can't be distinguished from "real" ones without guessing...

  2. kevinkreiser commented on Oct 10, 2017

    @kevinkreiser
    MemberAuthor

    @sfkeller the low priority isnt deliberate, its just the case that we have so many issues and features to work on that this type of data investigation doesnt make it to the front. we are quite a small team and often hope that others might take the code and do experiments to resolve some issues that they find important.

    also wenn du die Zeit häsch, chönnscht gärn hier: https://github.com/valhalla/valhalla/blob/master/lua/graph.lua#L1018-L1021 mol verbi luege. einfach das da weg due, Valhalla wider kompiliere, die Routing Tiles neu erstelle lasse, un sehet mer wie es mit dem Area-routing usseht!

  3. sfkeller commented on Sep 11, 2026

    @sfkeller
  4. chrstnbwnkl commented on Sep 11, 2026

    @chrstnbwnkl
    Member

    My god almost 9 years... thanks for digging this up, I'll close it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions