FRAMES | NO FRAMES Description | Parameters | Examples | Response
Geometry Service

This is an archive of a previous version of the ArcGIS REST API. The current version can be found at http://resources.arcgis.com/en/help/arcgis-rest-api/

URL http://<catalog-url>/<serviceName>/GeometryServer
Supported Operations Project  Simplify   Buffer   Areas and Lengths   Lengths   Relation   Label Points  
Parent Resource Catalog

Note: The Relation and Label Points operations were added at 9.3 SP1.

Description

A geometry service contains utility methods, which 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." Note that geometry input and output, where required, are always packaged as an array.

Use a geometry service to:

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

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json

Example Usage

Example 1: URL for the Geometry Service on sampleserver1.

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer

JSON Response Syntax

{
"serviceDescription" : "<serviceDescription>"
}

JSON Response Example

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