api icon indicating copy to clipboard operation
api copied to clipboard

Deduplication of transit venue vs street

Open orangejulius opened this issue 4 years ago • 0 comments

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?

orangejulius avatar Apr 27 '20 16:04 orangejulius