如何解决ProjError:从CRS创建变压器时出错:
我遇到Geopandas和PyProj的问题。
我正在从GeoPandas加载预制的shp文件borough = gpd.read_file(gpd.datasets.get_path('nybb'))
尝试使用以下代码进行crs转换时:borough = borough.to_crs({'init': 'epsg:4326'})
我收到错误消息:
ProjError:从CRS创建Transformer时出错。:(内部Proj错误:proj_create_operations:在SELECT source_crs_auth_name,source_crs_code,target_crs_auth_name,target_crs_code,cov.auth_name,cov.code,cov.table_name,area.south_lat, ,area.north_lat,area.east_lon,ss.replacement_auth_name,ss.replacement_code FROMordinate_operation_view cov JOIN area ON cov.area_of_use_auth_name = area.auth_name AND cov.area_of_use_code = area.name LEFT JOIN超级会话ss ON sstable。 ss.superseded_auth_name = cov.auth_name AND ss.superseded_code = cov.code AND ss.superseded_table_name = ss.replacement_table_name AND ss.same_source_target_crs = 1 WHERE(((source_crs_auth_name =?AND_source_sr__ source_crs_auth_name =?AND source_crs_code =?AND target_crs_auth_name =?AND target_crs_code =?))and cov.deprecated = 0 AND cov.auth_name =?ORDER BY pseudo_area _from_swne(south_lat,west_lon,north_lat,east_lon)DESC,(精度为NULL则为THEN 1 ELSE 0 END的情况),精度:无此类列:ss.same_source_target_crs)
我真的不知道该怎么办。
PS:这是我的第一个stackoverflow帖子,所以对于此帖子的拙劣布局,我深表歉意。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。