FRAMES | NO FRAMES Description | Parameters | Examples | Response
Geometry Service
URL http://<catalog-url>/<serviceName>/GeometryServer
Supported Operations Project   Simplify   Buffer   Areas and Lengths   Lengths   Relation   Label Points   Auto Complete   Convex Hull   Cut   Densify   Difference   Generalize   Intersect   Offset   Reshape   Trim / Extend   Union  
Parent Resource Catalog

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

     New parameters for Areas and Lengths and Lengths operations were added at 10.

     Auto Complete , Convex Hull , Cut , Densify , Difference , Generalize , Intersect , Offset , Reshape , Trim / Extend and Union operations were added at 10.

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