ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / IGeometryEngine Interface / SimplifyOgc Method
The geometry to be simplified.
(Optional) The default value is false. When true, it forces the simplification code to be applied to the geometry even if the geometry comes from a trusted source or has already been simplified. When false, the method will do nothing if called on the same geometry a second time.

In This Topic
    SimplifyOgc Method (IGeometryEngine)
    In This Topic
    Simplifies the given geometry according to the Open Geospatial Consortium (OGC) validation specification.
    Syntax
    Function SimplifyOgc( _
       ByVal geometry As Geometry, _
       Optional ByVal forceSimplify As Boolean _
    ) As Geometry

    Parameters

    geometry
    The geometry to be simplified.
    forceSimplify
    (Optional) The default value is false. When true, it forces the simplification code to be applied to the geometry even if the geometry comes from a trusted source or has already been simplified. When false, the method will do nothing if called on the same geometry a second time.

    Return Value

    The simplified geometry.
    Exceptions
    ExceptionDescription
    The input geometry is null.
    The method is not implemented for GeometryBag or Multipatch.
    Remarks
    The OGC specification is defined in OpenGIS Implementation Standard for Geographic information – simple feature access – Part 1: common architecture.

    A geometry that is simplified using this method will be simple for IsSimpleAsFeature and SimplifyAsFeature.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also