Interface: Feature
Defined in: types.ts:79
A geometry together with its attributes.
Properties
geometry
ts
geometry: Geometry | null;Defined in: types.ts:86
The geometry, or null. Null-geometry features are skipped on write and counted in ShapefileParts.skippedCount.
id?
ts
optional id?: string | number;Defined in: types.ts:90
Optional identifier. Not written to the shapefile.
properties
ts
properties: Record<string, unknown> | null;Defined in: types.ts:88
Attributes, which become .dbf columns. May be null or empty.
type
ts
type: "Feature";Defined in: types.ts:81
Discriminant.