I have a working Arc Pro python script in a toolbox which works just fine.
I would now like to set the outputcoordinatesystem to project (and eventually transform) my clipping output.
Whenever I set my env outputcordinatesystem to something, I get no features output. No errors from the clipping process, feature classes created, but no features. All input data is GDA94 Lat, Long (4238). The clipping polygon is created from a map extent, the map and clipping polygon are both in 4238
e.g. arcpy.env.outputCoordinateSystem = arcpy.SpatialReference(28356) #this is GDA94 MGA56
I have tried various outputcoordinatesystems - same result
I have just tried setting the outputcoordinatesystem to 4238 - the same as the input and everything works fine!
I am at a bit of a loss. I thought this would be a one line change.
Any help would be appreciated,
Ian Hamilton