Skip to content

Index entrances from interior features or site relations #3824

Description

@1ec5

#3807 exposed entrance=* and routing:entrance=* coordinates in a search result’s entrance properties. The entrance=* support will help routers avoid sending users to the back of large buildings, such as the loading docks of supermarkets. Unfortunately, a router wouldn’t be able to take advantage of entrance in many other cases where users would expect more precise routing. For example:

  • At a commercial airport such as SFO or SJC, the ideal entry points for routers would be somewhere inside or outside the area, depending on the mode of transportation, but not directly on its edge. Even if we curate a set of passenger-friendly routing:entrance=* points along the airport perimeter, those points will still mislead the driver or cut short the route before important decision points, depending on which direction they’re coming from.
  • At a zoo, amusement park, or stadium, such as Levi’s Stadium, the entrance=* nodes correspond to gates, but before the user can get there, they likely have to choose a parking lot corresponding to their ticket type. The way and its vertices don’t contain enough information to make these inferences.

A couple potential approaches could help to mitigate this problem:

  • Index features that lie within the main feature. For example, for an airport, the most important features are the terminal doors – the entrance=main nodes of aeroway=terminal areas that intersect the airport perimeter.
  • Consider any site relation the feature is a part of, then look for members with certain roles like entrance, terminal, and parking.1

A while back, I put together a list of possible heuristics that a geocoder could consider in the absence of explicit site relations (handwaving about complexity).

Footnotes

  1. Relations of type=site won't be found by Nominatim #463 requests returning site relations as features in their own right, which would make this heuristic that much more attractive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions