python - Get physical map location of object based off user input -
I am getting user input in a local milestone python application. With this data I use Google Maps I'm trying to get the longitude and latitude of my object. I'm trying to work with Google gdata api for the map, but I did not find any way to get long and late data from a search query while working in Python.
I am using the exact same way that my problem will solve the dragon.
Are you trying to geocode the road or POI (status of interest)? [2]: G = Geocodors. Google (GOOGLE_MAPS_API_KEY) [3]: (location, point) = [in] G.geocode ('Eiffel Tower, Paris') http: //maps.google.com/maps/geo? Q = Eiffel Tower + 2C + Paris & amp; Receiving output = km L & amp key = XYZ ... [4]: Print point ------> Print (point) (48.858204999999998, 2.29499)
Comments
Post a Comment