How to create extent from featureset using arcgis rest api only?

02-16-2016 08:26 PM
New Contributor

Is there any way to get extent from featureset (contains Feature objects)?

Featureset is obtained by performing query operation on feature service layer in esri rest api.

Arcgis rest api 10.3 introduced new parameter (returnExtentOnly) to retrieve extent but it is not available in previous versions. Client is in plain java and do not want to introduce any esri client API.

1) Is there any way to get extent using rest services only? (where input = geometries of polygons)

2) Any java util available to calculate extent based on polygon geometries (featureset)?

E.g. in  arcgis rest api 10.3

0 Kudos
0 Replies