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 usually packaged as an array. See the Geometry Objects topic.

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:

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"}