import arcpy outputPrj = r'C:\temp\Mollweide (world).prj' spatialRef = arcpy.SpatialReference() spatialRef.createFromFile(outputPrj) stRef = spatialRef.exportToString() stRef = stRef.replace("Central_Meridian',0.0","Central_Meridian',-70.1") spRef2 = arcpy.SpatialReference() spRef2.loadFromString(stRef) print spRef2.name,spRef2.centralMeridian
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.