如何将投影(即 epsg=102001)添加到 esri.extra 而非 proj_def.dat 文件中的 Geopandas DF?

How can I add a projection (i.e., epsg=102001) to a Geopandas DF that's in in esri.extra, NOT proj_def.dat file?

我有一个 CRS 为 epsg:4326 的 Geopandas 数据框,我想将其转换为 espg:102001 的 CRC,它具有如下 proj.4 定义:

proj4_102001 = '+proj=aea +lat_1=50 +lat_2=70 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +datum=NAD83 +units=m +no_defs' 

在我的 /usr/share/proj 目录中,投影位于 esri.extra 文件中,但不在 proj_def.dat 文件中,如下面的屏幕截图所示:

Screenshot of 1) the results of the Grep command searching for 102001 and 2)an ls of the /usr/share/proj directory

根据Geopandas documentation,投影的正确定义方法如下:

world = world.to_crs({'init': 'epsg:3395'})

我尝试了 "world = world.to_crs({'init': 'esri.extra:102001'})" 和许多其他变体,但 none 奏效了。我尝试在互联网上搜索解决方案,包括 Proj.4 documentation,但没有找到任何解决方案。如果您知道该怎么做,请告诉我。我正在使用 Ubuntu (Ubuntu-18.04)、Python (3.7.1)、Geopandas (0.4.0) 和 Proj.4 (5.2.0)。

提前致谢。

汤姆

您应该能够在 to_crs 函数中提供完整的投影字符串。

world = world.to_crs('+proj=aea +lat_1=50 +lat_2=70 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +datum=NAD83 +units=m +no_defs')