使用Python解析.shp文件时转换坐标系
当我解析.shp文件(使用Python模块pyshp)时,点坐标存储在英尺坐标系(ftUS)中。如何将此数据转换为度、纬度和经度格式使用Python解析.shp文件时转换坐标系,python,coordinates,coordinate-systems,coordinate-transformation,Python,Coordinates,Coordinate Systems,Coordinate Transformation,当我解析.shp文件(使用Python模块pyshp)时,点坐标存储在英尺坐标系(ftUS)中。如何将此数据转换为度、纬度和经度格式 import shapefile sf = shapefile.Reader("test") shapes = sf.shapes() print(shapes[0].points) 结果:[[1447887.395856008,552512.2958560139]这可能很有用,但如果您能找到更清洁的解决方案,我会非常感兴趣。谢谢,非常有用!我的解决方案更复
import shapefile
sf = shapefile.Reader("test")
shapes = sf.shapes()
print(shapes[0].points)
结果:[[1447887.395856008,552512.2958560139]这可能很有用,但如果您能找到更清洁的解决方案,我会非常感兴趣。谢谢,非常有用!我的解决方案更复杂,包括使用js实现proj模块+python。