Skip to content

Replacement for deprecated geometryEngine.extendedSpatialReferenceInfo() #336

@lukehartmann-vertigis

Description

@lukehartmann-vertigis

Deprecated geometryEngine.extendedSpatialReferenceInfo — replacement guidance?

Since 4.32, geometryEngine.extendedSpatialReferenceInfo() is deprecated.
The documentation does not list a direct replacement and no Geometry Operator seems to provide the same tolerance/xyTolerance information.

I previously used it like this:

const info = geometryEngine.extendedSpatialReferenceInfo(spatialReference);
const tolerance = info.tolerance;

Question

What is the recommended approach to retrieve a spatial reference’s default tolerance now?

A short clarification or recommended practice would help avoid inconsistent fallback values across applications.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions