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

Batch geocode #44

Closed
5 tasks
perrygeo opened this issue Jan 7, 2016 · 1 comment
Closed
5 tasks

Batch geocode #44

perrygeo opened this issue Jan 7, 2016 · 1 comment

Comments

@perrygeo
Copy link
Contributor

perrygeo commented Jan 7, 2016

Continued from mapbox/mapbox-sdk-py#13 (comment)

Here's a proof-of-concept asyncio version of the batch_geocode CLI: https://gist.github.com/perrygeo/60633de1b2cd90b07b3d

Some issues with it

  • This only works on Python 3.4 (would need to port to Trollius to get python < 3.4 support).
  • no error handling
  • no match thresholds or resolving ambiguous results, it just takes the first feature
  • needs to respect rate limits
  • not clear if this would integrate with, replace or sit along side the current mapbox geocode
@perrygeo
Copy link
Contributor Author

Outside the scope of the CLI; batch requests can be made using the mapbox.places-permanent endpoint: https://www.mapbox.com/developers/api/geocoding/#batch

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