Function deserialize

  • Deserialize FlatGeobuf into OpenLayers Features

    Parameters

    • input: string | Uint8Array | ReadableStream<any>

      Input byte array, stream or string

    • Optionalrect: Rect

      Filter rectangle

    • OptionalheaderMetaFn: HeaderMetaFn

      Callback that will recieve header metadata when available

    • nocache: boolean = false

    Returns AsyncGenerator<OlFeature> | OlFeature[]