I have published to arcgis server a python script that output a feature class. I would like to round coordinates of the REST output.
I have tryed to use the XYResolution envrionement setting in the python script but it is ignored
arcpy.env.XYResolution = "0 Meters"
In the JSON output from the REST api, the geometry is not rounded like this
"geometry": { "x": -7498445.5090999994, "y": 6161009.2334999964 }
Any idea why?