I am using the following code segment to create a spatial reference.
spatialReferance = arcpy.SpatialReference()
spatialReferance.factoryCode = spatialReferanceFactoryCode
spatialReferance.create()
But it gives the following error:
Runtime error : ERROR 999999: Error executing function. the input string is not a geographic or projected coordinate system
How can I programmatically determine whether a factory code is valid or not?
spatialReferanceFactoryCode
? – om_henners Oct 10 '12 at 5:09