Function deserialize

Implementation

  • Deserialize FlatGeobuf into GeoJSON features

    Parameters

    • url: string

      Input string

    • Optionalrect: Rect

      Filter rectangle - NOT USED

    • OptionalheaderMetaFn: HeaderMetaFn

      Callback that will receive header metadata when available

    • Optionalnocache: boolean

    Returns AsyncGenerator<IGeoJsonFeature>

  • Deserialize FlatGeobuf from a typed array into GeoJSON features NOTE: Does not support spatial filtering

    Parameters

    • typedArray: Uint8Array

      Input byte array

    • Optionalrect: Rect

      Filter rectangle - NOT USED

    • OptionalheaderMetaFn: HeaderMetaFn

      Callback that will receive header metadata when available

    • Optionalnocache: boolean

    Returns GeoJsonFeatureCollection

  • Deserialize FlatGeobuf from a stream into GeoJSON features NOTE: Does not support spatial filtering

    Parameters

    • stream: ReadableStream<any>

      stream

    • Optionalrect: Rect

      Filter rectangle

    • OptionalheaderMetaFn: HeaderMetaFn

      Callback that will receive header metadata when available

    • Optionalnocache: boolean

    Returns AsyncGenerator<IGeoJsonFeature>