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

Geocoder improvements #166

Open
2 of 3 tasks
danvk opened this issue Nov 13, 2024 · 0 comments
Open
2 of 3 tasks

Geocoder improvements #166

danvk opened this issue Nov 13, 2024 · 0 comments

Comments

@danvk
Copy link
Owner

danvk commented Nov 13, 2024

  • Purge unused files from geocache (will be more effective after Drop extended-grid and milstein coders #165)
  • Delete old, failed geocodes, i.e. searches for intersections that do not return an intersection.
  • Use the autocomplete API for geocoding.

The autocomplete API is recommended for "ambiguous" inputs. You can restrict to a geographic area and a match type (e.g. intersections). It gives you a place_id. To get a lat/lng, you have to run the place_id through the geocoder. This will require more requests, but should give more stable results.

The autocomplete API isn't that much of a win. Switching to OSM is going to be a better path forward.

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

No branches or pull requests

1 participant