GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Reads the geometry types actually present in the data.

      Unlike detectGeometryTypes, it answers an EMPTY set when the data shows none — no feature, or features without a geometry — instead of assuming the three families. A caller that must tell "shows nothing" from "shows everything" reads this one.

      Parameters

      • data: unknown

        The GeoJSON to scan: a collection, or a single feature.

      Returns Set<string>

      The geometry types found. Empty when there are none.