This document is archived and information here might be outdated.  Recommended version.


IGeometryServer Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IGeometryServer Interface

Provides access to standard operations on geometric 'value' objects. The input geometries are never modified by these operations. Designed for use in building web services and web applications.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

This interface is new at ArcGIS 9.3.

Members

Description
Method Buffer Buffers an array of geometries by each distance specified in an array of distances. The distance units can optionally be specified. Geometries buffered at a given distance can optionally be unioned together.
Method Densify Applies the ArcObjects 'Densify' operation to each element of the geometry array.
Method FindSRByWKID Defines an SR based upon its well known identifier (WKID) and optionally a WKID for a vertical datum. The resolution and xy tolerances are either computed from the sr horizon or set to defaults. 'authority' is typically either 'EPSG' or 'Esri'.
Method FindSRByWKT Defines a spatial reference object based upon its well known text string (WKT) and optionally a WKT for a vertical datum. The resolution and xy tolerances are either computed from the sr horizon or set to defaults. The output sr is always high precision.
Method FindUnitsByWKID Defines a unit object based upon its well known identified (WKID). 'authority' is typically either 'EPSG' or 'Esri'.
Method FindUnitsByWKT Defines a unit object based upon its well known text string.
Method GetAreasAndLengths Calculates areas and perimeter lengths for each polygon in the specified array.
Method GetLabelPoints Calculates an interior point for each polygon.
Method GetLengths Calculates the length of eacch polyline in the specified array.
Method Project Projects an array of geometries from their current spatial reference (pInSR) to a destination spatial reference (pOutSR). The projection process can optionally include a datum transformation if the source and destination SRs have different GCSs.
Method Relation Determines the pairs of geometries from the input geometry arrays that participate in the specified spatial relation.
Method Simplify Applies the ArcObjects 'Simplify' operation to each element of the geometry array.

CoClasses that implement IGeometryServer

CoClasses and Classes Description
GeometryServer (esriGeoDatabase) Provides access to standard operations on geometric 'value' objects. The input geometries are never modified by these operations. Designed for use in building web services and web applications.
GeometryServerImpl Provides access to standard operations on geometric 'value' objects. The input geometries are never modified by these operations. Designed for use in building web services or other kinds of distributed applications.

Remarks

The GeometryServer lets clients programmatically apply common geometric operations to arrays of geometry 'value' objects. Buffering, projection of geometries from one spatial reference system to another, and evaluation of spatial relations are some of the operations provided.

For on overview of this interface, please refer to the documentation for the GeometryServer object defined in the geodatabase object library (esriGeodatabase).

.NET Related Topics

Geometry | Geometry service