Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Mysterious autocomplete responses #983

@davelowndes

Description

@davelowndes

Hi,

I have set up a planet build of Pelias and am starting to integrate it into my app. I've found the autocomplete results to be a bit of a mystery.

E.g. if I call /v1/autocomplete?sources=wof&text=pro&layers=-address,-venue,-empire,-continent I get the attached response: response.json.

This is similar to https://geocode.earth:

Image

These results don't make any sense to me and seem entirely unrelated. I would expect something like:

Provence, France.
Providence, Rhode Island, USA.
Provo, Utah, USA.
Prospect - several places in the USA.
Prosser, Washington, USA.

Is there some behaviour or query structure (e.g. > 3 characters) for autocomplete that I should be aware of?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions