Questions tagged [geopy]

geopy allows you to convert between partial place names and latitude/longitude coordinates by wrapping many different online API's and providing access through one standard interface.

geopy allows you to convert between partial place names and latitude/longitude coordinates by wrapping many different online API's and providing access through one standard interface. Additionally, it contains convenience functions for parsing lat/long coordinates and finding as-the-crow-flies distance between them.

geopy makes it easy for developers to locate the coordinates of addresses, cities, countries, and landmarks across the globe using third-party geocoders and other data sources.

geopy includes support for many geocoders such as Google Maps, Bing Maps, Nominatim, and GeoNames.

504 questions
-1
votes
1 answer

geopy geocode does not map addr - browser googlemap does

I am trying to map a list of (~320+) Texas addresses to lat,lng. I started using geopy (simple example) and it worked for some addresses but it failed on a set of addresses. So I integrated a backup with googlemaps geocode... but it too failed. …
frankr6591
  • 1,211
  • 1
  • 8
  • 14
-1
votes
2 answers

How to tell if a circle is encompassed by several others

I am building a program that interacts with the Google Places API to identify all establishments of a given type within a U.S. County. Google accepts searches in the form of radiuses - so in order to cover an entire area, I am building my search…
dataSci
  • 75
  • 1
  • 7
-1
votes
1 answer

Wrong localization with geopy

I am using geopy to geolocate some French Paris streets. I have seen a problem on this localisation: 25 rue Constantine, Paris. The code below: location2 = geolocator.geocode("25 rue Constantine, Paris",timeout=20) arrival=(location2.latitude,…
olivier dadoun
  • 622
  • 6
  • 22
-1
votes
1 answer

Add geo-location data to Pandas data frame

I'm importing a CSV into a pandas data frame, and then I'm trying to create three new columns in that data frame from data retrieved from geopy.geocoders.GoogleV3() : import pandas from geopy.geocoders import GoogleV3 DATA =…
gtnbz2nyt
  • 1,465
  • 3
  • 17
  • 33
-2
votes
1 answer

Find points in a column within 5km of a person from lat/lon coordinates in a dataframe

I am a beginner of Python. I have a dataset that contains people's traveling records in each time period and would like to get a new dataframe, that describes the choice set for each person when she travels. I am trying to find all the stations that…
Jacob2309
  • 51
  • 7
-2
votes
1 answer

error: 'str' object does not support item assignment in python

I am trying to geocode address using geopy by using some code downloaded from github. but the error the code is that the str obj doesn't support item assignment in geocode_addresses address_dict["error"] = ""? why do I get that error. below is the…
ohlala
  • 135
  • 9
-2
votes
2 answers

Geocoding with Geopy and big data

I have this CSV file which i'm feeding with this python script import csv from geopy.geocoders import OpenCage geolocator = OpenCage() #here some parameters are needed with…
basedian
  • 307
  • 1
  • 5
  • 18
-3
votes
1 answer

How to make x (m) radius with respect to python coordinates?

I have a database with, consumption and coordinates, such: I need to write a code that allows me to find, from local to local, consumptions that are less than average consumption within that radius of 100m. It is intended that the radius of 100m be…
-3
votes
1 answer

How can I disable the certificate check in Anaconda virtual environment with geopy

When running the code below in Python 2.7.10 under Anaconda with no Conda virtual environment, it works fine. That's one year ago. from geopy.geocoders import Nominatim geolocator = Nominatim() location = geolocator.reverse("16.890568, 42.543554",…
thewaywewere
  • 8,128
  • 11
  • 41
  • 46
1 2 3
33
34