AnsweredAssumed Answered

Swap coordinate pairs in a Polygon

Question asked by mtrompesri-nl-esridist Employee on Feb 3, 2015
Latest reply on Feb 3, 2015 by xander_bakker



I have an "Poll an External Website for JSON" Input connector. The Polygon information in the json is wrapped in a string and looks like this:



With some string processing I am able to make a valid Geometry and send it to an Hosted FeatureService. The polygon looks like this:



The location is east of Somalia instead of the Netherlands because latitude and longitude are in the wrong order.


Is there a way to swap the coordinate pairs in the polygon?


Kind Regards, Maarten Tromp