Interface: ShapefileSource
Defined in: read.ts:8
The pieces of a shapefile to read. Only the .shp is required.
Properties
cpg?
ts
optional cpg?: string;Defined in: read.ts:14
Contents of the .cpg; decides how .dbf text is decoded.
dbf?
ts
optional dbf?: Uint8Array<ArrayBufferLike>;Defined in: read.ts:12
Contents of the .dbf. Without it, features have empty properties.
prj?
ts
optional prj?: string;Defined in: read.ts:16
Contents of the .prj; surfaced as wkt on the result.
shp
ts
shp: Uint8Array;Defined in: read.ts:10
Contents of the .shp. The .shx is not needed.