Extract Data Task - Extent

06-04-2019 12:27 AM
New Contributor II

I am using the extract data task (rest api) to clip a layer to a polygon and extract features.  When a polygon is passed (Area of interest parameter) the service extracts features as expected, but when I pass the extent, an empty data set is returned. JSON object used for extent is like this:

"geometryType": "esriGeometryPolygon",
"features": [
           "geometry": {
                "extent": {
                    "xmin": 42990.10326649457,
                    "ymin": 55688.06728494705,
                    "xmax": 83438.36124634388,
                    "ymax": 84296.19741787399

0 Kudos
1 Reply
by MVP Regular Contributor
MVP Regular Contributor

Not sure about this, but as a starting point, what is the input parameters data type (GPDataFile, GPString, etc) set to?

0 Kudos