Reputation: 11
When I run the following code is causes CRSError
as shown below:
>>> locations = gpd.GeoDataFrame(Data,geometry = points)
>>> locations.crs = ('init','epsg4326')
CRSError: Invalid projection: init:epsg4326: (Internal Proj Error:
proj_create: crs not found)
What does it mean and how i solve it ?
Upvotes: 0
Views: 573
Reputation: 15432
The syntax ('init','epsg:4326')
is deprecated, and epsg
needs a colon in any case. The following should work:
locations = gpd.GeoDataFrame(Data, geometry=points)
locations.crs = 'epsg:4326'
Upvotes: 2