AnsweredAssumed Answered

How do I flip X/Y geometry in a feature class?

Question asked by eric.eagle on Oct 17, 2016
Latest reply on Oct 20, 2016 by bixb0012

I have a geoJSON service I'm querying that's being supplied by GeoServer.  I have a python script that ingests this feed routinely and uses arcpy.AsShape to render the geoJSON as various feature classes (I am extracting points, lines and polygons).


The problem is that the X/Ys in the service itself are backwards, even according to its own documentation.  So my features are falling in all kinds of impossible locations.


Is there a fast way in python to flip the X/Y geometry in feature classes, including the vertices of line and polygon types?