Giter Site home page Giter Site logo

Comments (4)

domesticmouse avatar domesticmouse commented on May 20, 2024

It seems to me outside of the remit of the Google Maps Web Services client library for Python. Doing calculations on latitude and longitudes should really be usable with any backend API, no?

from google-maps-services-python.

weallcock avatar weallcock commented on May 20, 2024

My apologies, but I don't completely follow what you are saying. The Google Map web services have a geometry library and it is my (perhaps incorrect) impression, that this project was intended to provide python access to the google map APIs, so I am not sure why you would say it is out of scope? As to your second comment on calculations with latitude and longitude, I can't tell if you simply stating a point of view or if you are saying such things are already possible within the other APIs? In my specific case, I want to calculate the heading between points and then find the point that is a specific distance along that heading. The way that I found to do that was via the Geometry API. Is there another way?

from google-maps-services-python.

stephenmcd avatar stephenmcd commented on May 20, 2024

@weallcock The JavaScript API provides geometry (https://developers.google.com/maps/documentation/javascript/geometry) - are you referring to that? It's different from the Maps Web Services (https://developers.google.com/maps/web-services/) which is what this client library is for.

from google-maps-services-python.

johnrbnsn avatar johnrbnsn commented on May 20, 2024

Hi @stephenmcd ,

I'd like to second that request for the geometry API here (same one in the Javascript you linked). I'm currently using the Javascript API on my front end, but back end is in Python (Django) and I would prefer to do all my post-processing on the back end. Could this feature be added to the Python library, or is there a way to call the javascript geometry API via Python (I was thinking an HTTP request via requests library, but that doesn't seem possible from javascript documentation).

Thanks for your help, sorry to revive a closed issue!

from google-maps-services-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.