Skip to content

geodalib / core/src / createPolygonCollectionFromBinaryFeatures

Function: createPolygonCollectionFromBinaryFeatures() ​

createPolygonCollectionFromBinaryFeatures(polygonsArray, wasm, fixPolygon?, convertToUTM?): PolygonCollection

Defined in: core/src/geometry/binary-geometry.ts:166

Creates a GeoDa PolygonCollection from binary polygon features

Parameters ​

polygonsArray ​

(undefined | BinaryPolygonFeature)[]

Array of binary polygon features from GeoArrow chunks

wasm ​

GeoDaInterface

The initialized GeoDa WASM module

fixPolygon? ​

boolean

convertToUTM? ​

boolean

Returns ​

PolygonCollection

A GeoDa polygon collection