Timeline for Projection using ArcPy with ArcGIS Pro
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 12, 2020 at 22:59 | comment | added | Therow | This was a very odd issue. I had run print on dsc previously which produced the following: "NAD_1983_StatePlane_California_III_FIPS_0403_Feet" *However, when trying to output the spatial reference it requires "NAD 1983 StatePlane California III FIPS 0403 (US Feet)" with arcpy.SpatialReference. I have no idea why there is a need for one over the other. | |
Feb 12, 2020 at 22:58 | vote | accept | Therow | ||
Feb 12, 2020 at 21:48 | comment | added | MattM | The only reason it would do that is because the "dsc.spatialReference.Name" doesn't match the string. Like I had said, try printing "dsc.spatialReference.Name" to the console and see what it returns. My guess is there's a typo that's causing the if block to run | |
Feb 12, 2020 at 21:25 | comment | added | Therow | This didn't work. Adding " _ " still output all of the feature classes with the extension _NAD1983 -- which is what it should do if all feature classes do not meet this classification. | |
Feb 12, 2020 at 19:34 | history | edited | PolyGeo♦ | CC BY-SA 4.0 |
Turned question in answer into statement
|
Feb 12, 2020 at 18:10 | history | answered | MattM | CC BY-SA 4.0 |