Alexis Eggermont
  • Member for 6 years, 3 months
  • Last seen more than 2 years ago
geopandas spatial join extremely slow
Accepted answer
20 votes

adding the argument predicate='within' in the sjoin function speeds up the point-in-polygon operation dramatically. Default value is predicate='intersects', which I guess would also lead to correct ...

View answer
Find country from GPS coordinates, offline using python
Accepted answer
8 votes

I finally found what I was looking for: a package called reverse_geocode. It can be installed with pip. >>>> import reverse_geocoder >>>> coordinates = (-37.81, 144.96), (31....

View answer
town, village, prefecture shapefiles for China?
1 votes

There is the Global Administrative Database: www.gadm.com/countries

View answer