Parameters
- geometries
- The collection of geometries to union. If a geometry is an Envelope, it is converted to a Polygon.
Return Value
A geometry representing the union of the input geometries.
Exception | Description |
---|---|
System.ArgumentNullException | Geometries is null or empty. |
System.NotImplementedException | The method is not implemented for GeometryBag. |
System.ArgumentException | Geometry is the wrong type for this operation. Cannot union geometries that have unequal dimensions. GeometryDimensionType |
System.InvalidOperationException | Incompatible spatial references between the input geometries. |
System.NotImplementedException | One of the geometries has a spatial reference which is an image coordinate system. |
Target Platforms: Windows 11, Windows 10