UNPKG

@loaders.gl/shapefile

Version:

Loader for the Shapefile Format

32 lines 1.03 kB
import type { LoaderWithParser, StrictLoaderOptions } from '@loaders.gl/loader-utils'; export type DBFLoaderOptions = StrictLoaderOptions & { dbf?: { encoding?: string; shape?: 'rows' | 'table' | 'object-row-table'; /** Override the URL to the worker bundle (by default loads from unpkg.com) */ workerUrl?: string; }; }; /** * DBFLoader - DBF files are used to contain non-geometry columns in Shapefiles */ export declare const DBFWorkerLoader: { readonly name: "DBF"; readonly dataType: unknown; readonly batchType: never; readonly id: "dbf"; readonly module: "shapefile"; readonly version: any; readonly worker: true; readonly category: "table"; readonly extensions: ["dbf"]; readonly mimeTypes: ["application/x-dbf"]; readonly options: { readonly dbf: { readonly encoding: "latin1"; }; }; }; /** DBF file loader */ export declare const DBFLoader: LoaderWithParser; //# sourceMappingURL=dbf-loader.d.ts.map