我正试图通过basemap
阅读旧金山警察部门的https://data.sfgov.org/Public-Safety/SFPD-Districts-Zipped-Shapefile-Format-/8yyx-6uur)形状文件。
当我使用basemap.readshapefile
方法时,我收到错误
shapefile must have lat/lon vertices - it looks like this one has vertices
in map projection coordinates. You can convert the shapefile to geographic
coordinates using the shpproj utility from the shapelib tools
(http://shapelib.maptools.org/shapelib-tools.html)
有没有办法在python中读取或转换地图投影坐标(因为我不想使用错误中给出的C-Library)?