Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: add a new BETA PIP endpoint #70

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

WIP: add a new BETA PIP endpoint #70

wants to merge 2 commits into from

Conversation

missinglink
Copy link
Member

this DRAFT PR adds a new point-in-polygon endpoint which will hopefully be able to replace the existing pelias/wof-admin-lookup code.

the new endpoint returns:

  • spatial matches
  • hierarchies

and then for each place identified in either of the above:

  • place info (source, id, class, type)
  • place names (with filters for lang, tag)

initial testing shows it's slower than the /query/pip/_view/pelias/:lon/:lat endpoint but that's expected since it's doing a lot more work and returning more data.

note: the response format is subject to change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant