npeihl

Arcpy - Reproject Polygon object

Discussion created by npeihl on Apr 19, 2011
Latest reply on Apr 19, 2011 by npeihl
My script creates an arcpy.Polygon object from the extent of a data frame in an MXD. The coordinate system of the data frame varies in different maps. So the spatial reference of the arcpy.Polygon object can also vary. What I want the script to do is re-project the arcpy.Polygon object into a standard coordinate system, but I don't see a function to do this. I know I can call the Project_management tool, but that requires an output feature class to be created. I would much rather the reprojected output be a new arcpy.Polygon object.

Is there an option to re-project an arcpy.Polygon object into another arcpy.Polygon object?

Outcomes