Skip to content

Search with priority given to a geographic position does not sort results as expected in release 1.0.0 #1024

@nslxndr

Description

@nslxndr

What did you search for?

https://photon.komoot.io/api/?q=kaba&lat=47.3159&lon=20.2217

What result did you get?

Places (in China, Russia) far from the specified position (Central Europe) appear at the beginning of the results list. The order of items is almost, but not quite, the same as without the position request parameter.

What result did you expect?

Streets and settlements close to the position are prioritized. The first three results of the same search in release 0.7.4 (OpenSearch version) are:

  1. https://www.openstreetmap.org/way/162259029
  2. https://www.openstreetmap.org/way/230690943
  3. https://www.openstreetmap.org/relation/1405216

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions