I have a large number of adjacent polygons which I have reduced to a much smaller number of polygons using the ArcGIS REST API (union operation). I have the result in JSON. I have mostly OuterBoundary, but there will be a few InnerBoundary. How do I convert this to KML using the ArcGIS REST API? I don't wish to do it manually because of the inner/outer ring complication.
I did the conversion to KML 'manually'. Wasn't too hard to determine polygon winding direction - used shoelace formula.