Geometry Service

Description

A geometry service contains utility methods that provide access to sophisticated and frequently used geometric operations. An ArcGIS Server web site can only expose one geometry service with the static name "Geometry".

NoteNote:

Geometry input and output, where required, are always packaged as an array.

Use a geometry service to do the following:

The REST API Geometry Service resource is primarily a processing and algorithmic resource that supports operations related to geometries. The Geometry Service resource has the following operations:

Resource hierarchy

Geometry Service

Request parameters

Parameter

Details

f

Description: The response format. The default response format is html.

Values: html | json

Example usage

URL for the geometry service on sampleserver6.

http://sampleserver6.arcgisonline.com/ArcGIS/rest/services/Utilities/Geometry/GeometryServer

JSON response syntax

{"serviceDescription" : "<serviceDescription>"}

JSON response example

{"serviceDescription" : "Test Geometry Service Description"}