I have >34.000 geographic coordinates in my data in .csv format, for each of those I need to return the country.
I am using Python, the Geocoder library. The Google API has daily query limit of 2500, so it would take me two weeks to do this.
My exact code seems irrelevant to this question.
I am wondering, can I sidestep the Geocoder library or Google API altogether, given that I only need a country, not street address or anything fine? Somehow coordinates of countries seem to be common knowledge.
I am able to get the same data in .kml format, in a relatively short time.
I haven't found an answer to this question. Any input is appreciated. Edits, pointing me to existing answers somewhere else, etc. Thanks!
gpd.crs='init'
andworld.crs='epsg:4326'
. This caused a warning along the lines of "CRS (coordinate reference systems) do not match!", apparentlysjoin
doesn't work on two data frames with non-matching CRS. I addedgdf.crs = {'init' :'epsg:4326'}
before executingsjoin
, and I got the result. – Stickpin