创建投影 from osgeo import osr spatialRef = osr.SpatialReference() spatialRef.ImportFromEPSG(4326) #WGS84 重投影 from osgeo import ogr from osgeo import osrsource = osr.SpatialReference() ……