1

我遇到了 Geopandas 和 PyProj 的问题。
我正在从 GeoPandas 加载预制的 shp 文件
borough = gpd.read_file(gpd.datasets.get_path('nybb'))
尝试使用以下代码进行 crs 转换时:
borough = borough.to_crs({'init': 'epsg:4326'})
我收到错误:

same_source_target_crs = 1 WHERE ((source_crs_auth_name = ? AND source_crs_code = ? AND target_crs_auth_name = ? AND target_crs_code = ?) OR (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,(CASE WHEN 精度为 NULL THEN 1 ELSE 0 END),精度:没有这样的列:ss.same_source_target_crs)


我真的完全不知道在这里做什么。

PS:这是我的第一篇 stackoverflow 帖子,所以我为这篇文章的糟糕布局提前道歉。
4

0 回答 0