Comments (4)
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.
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.
@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.
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)
- No module named 'googlemaps' HOT 1
- Add status to geocode return object HOT 1
- maps.static_map() uses return response.iter_content() which does byte-wise chunking which does not give a good performance HOT 1
- Switch from `requests` to `httpx` HOT 4
- Distance Matrix API: Erroneous result - Need help on a fix HOT 4
- Python showing name error for the api key. I using API key directly in the googlemaps.Client(key=API_KEY). HOT 1
- Add locationbias parameter for Place Autocomplete HOT 1
- How to provide places_autocomplete suggestions as the user inputting location keyword HOT 1
- Place Details: Replace field `type` with `types`
- Signing request with only API key HOT 2
- Support to Routes API HOT 4
- Error about [urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))] HOT 1
- Introduce previousRequestId param for address validation HOT 1
- Including `page_token` leads to `INVALID_REQUEST` error for Places API requests HOT 1
- FR: allow lat/lng str instead of float HOT 3
- A typo in googlemaps/places.py breaks address_components retriaval from places API. HOT 2
- Support "Convert addresses into English" pre-GA feature HOT 1
- Is there some way I can use the marker clustering to fix my pins? HOT 1
- Google places API returns only 10 photo references HOT 1
- Support for new Places API endpoints HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-maps-services-python.