UNPKG

@loaders.gl/geoarrow

Version:

GeoArrow columnar geometry encoding and decoding

21 lines 681 B
/** * A type that matches a string-to-string metadata map * in the form of a map or an object. */ export type Metadata = Map<string, string> | Record<string, string>; /** * A type that matches a variety of Apache arrow like schemas. * */ export type SchemaWithMetadata = { /** Schema level metadata */ metadata?: Metadata; /** Field top-level metadata */ fields?: { name: string; metadata?: Metadata; }[]; }; export declare function getMetadataValue(metadata: Metadata, key: string): string | null; export declare function setMetadataValue(metadata: Metadata, key: string, value: string): void; //# sourceMappingURL=metadata-utils.d.ts.map