laptop and a wrench

Bug

Arcpy.DefineProjection_management does not take 'Unknown' as a valid coordinate system.

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM087033
SubmittedDecember 4, 2012
Last ModifiedDecember 20, 2024
Applies toArcGIS for Desktop
Version found10.1
Operating SystemWindows OS
Operating System Version7 64 Bit
StatusWill Not Be Addressed

Additional Information

Workaround is ok. There has not been much demand to "clear spatial ref" in automated workflows.

Workaround

Load the 'Unknown' coordinate system from the GUID:dataset = r"<a href="file:c:/temp/esri.shp" target="_blank">c:\temp\esri.shp</a>"sr = arcpy.SpatialReference()sr.loadFromString('{B286C06B-0879-11D2-AACA-00C04FA33C20}')arcpy.DefineProjection_management(dataset, sr)

Steps to Reproduce

Bug ID: NIM087033

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options