未定义空间参考
lyr= desc=arcpy.Describe(lyr) spatialRef = arcpy.Describe(lyr).spatialReference print spatialRef.type 结果是'Unknown'
已定义空间参考
>>> geoSR = arcpy.SpatialReference(4490) ... print geoSR.type ... Geographic >>> projSR = arcpy.SpatialReference(4525) ... print projSR.type ... Projected
标签:...,Reference,lyr,type,System,print,arcpy,坐标系 From: https://www.cnblogs.com/yzhyingcool/p/17134972.html