Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 105311

For questions about using GeoPandas in Python

2 votes
1 answer
953 views

Projecting Google Maps coordinate to lookup country in shapefile?

I'm using python library GeoPandas which bundles Shapely, Fiona, PyProj and others. … Here the code: import geopandas as gpd from shapely.geometry import Point # Cincinnati, OH using Google Maps pt = Point(39.0972618663624, -84.5065838098526) # countries shapefile from # http://thematicmapping.org …
Joel L's user avatar
  • 41
2 votes

Projecting Google Maps coordinate to lookup country in shapefile?

Ok, I feel pretty silly. Apparently I need to pass the coordinates into the Point in reverse order. Longitude, then Latitude. The follow appears to work correctly: # Cincinnati, OH using Google Maps …
Joel L's user avatar
  • 41