Skip to content

Interface: ShapefileLayer ​

Defined in: types.ts:255

One shapefile found inside an archive.

Properties ​

encoding ​

ts
encoding: string;

Defined in: types.ts:263

The character set used to decode the .dbf.


geojson ​

ts
geojson: FeatureCollection;

Defined in: types.ts:259

The layer's features. Carries wkt when the layer had a .prj.


name ​

ts
name: string;

Defined in: types.ts:257

Base name of the layer, without extension or directory.


prj? ​

ts
optional prj?: string;

Defined in: types.ts:261

Contents of the .prj, if the archive had one for this layer.

Released under the MIT License.