GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Validates a GeoJSON FeatureCollection and returns a normalized result object.

      Parameters

      • collection: unknown

        The GeoJSON FeatureCollection or array to validate.

      • ...rest: unknown[]

        Additional arguments passed through to the underlying validator.

      Returns { valid: boolean; errors: string[]; featureCount: number }

      { valid, errors, featureCount }.