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

[request] Fetch altitude for geocode #4160

Closed
mjmadsen opened this issue Aug 17, 2016 · 0 comments
Closed

[request] Fetch altitude for geocode #4160

mjmadsen opened this issue Aug 17, 2016 · 0 comments

Comments

@mjmadsen
Copy link
Contributor

mjmadsen commented Aug 17, 2016

Related #2762, #3621, #3808, #4114 but I wanted an explicit post for the issue. It will probably take me more time to write than some of our more skilled devs.

  1. Add a wrapper for api.set_position in api wrapper (parameters: long/lat)
  2. Swap all calls to api.set_position with new wrapper
  3. Use geocoder to fetch altitide from long/lat using something similar to below:
    import geocoder
    g = geocoder.google([long, lat], method='elevation')
    alt = g.meters
  4. Send api.set_position with altitude

(Source https://geocoder.readthedocs.io/providers/Google.html#elevation)

@mjmadsen mjmadsen changed the title [request] Fetch Altitude for geocode [request] Fetch altitude for geocode Aug 17, 2016
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