api
api copied to clipboard
Deduplication of transit venue vs street
It's common in OpenStreetMap for transit stations to have a name identical to a nearby street. Under these circumstances our deduplication logic will often remove the transit station in favor of the street.
Example: Iris Ave
/v1/autocomplete?layers=venue,street&text=iris ave
With layers=venue,street
, this query only returns streets. With layers=venue
, it returns the transit stop.
Solutions?
What's the best way to adjust deduplication here? Should we look for important properties like categories
? Should we generally prefer the venue
layer to the street
layer?