Function deserialize

Implementation

  • Deserialize FlatGeobuf from a URL into generic features

    Parameters

    • url: string

      Input string

    • fromFeature: FromFeatureFn

      Callback that receives generic features

    • Optionalrect: Rect

      Filter rectangle

    Returns AsyncGenerator<IFeature>

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

    Parameters

    • typedArray: Uint8Array

      Input byte array

    • fromFeature: FromFeatureFn

      Callback that receives generic features

    Returns IFeature[]

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

    Parameters

    • input: ReadableStream<any>

      stream

    • fromFeature: FromFeatureFn

      Callback that receives generic features

    Returns AsyncGenerator<IFeature>