Geometry service Union method

The Union method constructs the set-theoretic union of the input geometries.

Union(SpatialReference SpatialReference, Geometry[] InGeometryArray)

Parameter

Description

SpatialReference

The SpatialReference of the geometries in InGeometryArray. Cannot be null.

InGeometryArray

An array of points, multipoints, polylines, or polygons. The input types cannot be mixed.

Return Value

A single Geometry of the same type as the inputs.

Remarks

This operation constructs the set-theoretic union of the geometries in the input array. All inputs must be of the same type.

Polygon input arrayUnion result
Figure 1: The Union operation applied to a collection of three polygons.

2/28/2020