问题描述
我正在尝试使用以下代码创建一个 geopandas 数据框:
# designate coordinate system
crs = {'init':'espc:4326'}
# zip x and y coordinates into single feature
geometry = [Point(xy) for xy in zip(data2['longitude'],data2['latitude'])]
# create GeoPandas dataframe
geo_df = gpd.GeoDataFrame(data,crs = crs,geometry = geometry)
但是我收到以下错误:
Invalid projection: +init=espc:4326 +type=crs: (Internal Proj Error: proj_create: cannot expand +init=espc:4326 +type=crs)
我真的不知道发生了什么。谁能帮我理解这里出了什么问题?这段代码不是我写的,但似乎在过去有效。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)