我有许多不同的shapefile类型-.cpg,.dbf,.prj,.sbn,.sbx,.shp,.rtree和.shx
我已经尝试过淘汰一些打开shapefile的免费软件,例如TatukGIS Viewer和DBF Reader Plus,但是运气不佳。
在阅读本文时,我试图用Python打开它们: http://www.acgeospatial.co.uk/geopandas-shapefiles-jupyter/
但是,我在安装Geopandas时遇到了麻烦。我在尝试运行时收到此错误:
完全迷失了,不知道当我查找该错误意味着什么
答案 0 :(得分:0)
关于您的原始问题,请尝试使用QGIS软件。在许多功能中,它肯定可以打开Shapefile以及许多其他地理空间格式。
关于您发布的错误,它与用户权限有关,并且已经得到回答,例如在Access is denied when trying to pip install a package on Windows。
答案 1 :(得分:0)
众所周知,geopandas很难安装,尤其是在Windows上。要安装geopandas,请先安装Conda,然后以管理员身份打开Anaconda Prompt,然后键入:
conda install -c conda-forge geopandas
在这里找到答案: https://www.reddit.com/r/gis/comments/as5rze/what_does_this_geopandas_installation_error_mean/
然后您可以使用geopandas打开shapefile