@deck.gl/carto
Version:
CARTO official integration with Deck.gl. Build geospatial applications using CARTO and Deck.gl.
22 lines • 675 B
TypeScript
import { BinaryPointFeature } from '@loaders.gl/schema';
export type IndexScheme = 'h3' | 'quadbin';
export type Indices = {
value: BigUint64Array;
};
export type NumericProps = BinaryPointFeature['numericProps'];
export type Properties = BinaryPointFeature['properties'];
export type Cells = {
indices: Indices;
numericProps: NumericProps;
properties: Properties;
};
export type SpatialBinary = {
scheme?: IndexScheme;
cells: Cells;
};
export type SpatialJson = {
id: string | bigint;
properties: Properties;
}[];
export declare function binaryToSpatialjson(binary: SpatialBinary): SpatialJson;
//# sourceMappingURL=spatialjson-utils.d.ts.map