Interface: WriteOptions
Defined in: types.ts:133
Settings for converting GeoJSON into a shapefile.
Extended by
Properties
dimensions?
ts
optional dimensions?: Dimensions;Defined in: types.ts:147
Force the dimensionality.
By default a third ordinate is read as Z and a fourth as a measure; pass 'xym' to treat the third as a measure instead.
maxFieldLength?
ts
optional maxFieldLength?: number;Defined in: types.ts:154
Cap on .dbf character column width, 1–254. Defaults to 254.
Columns are otherwise sized to the longest value present. Lowering this shrinks the file at the cost of truncating long text.
shapeType?
ts
optional shapeType?: ShapeFamily;Defined in: types.ts:140
Force a geometry family instead of inferring it from the data.
Useful when a batch happens to contain only Point features but downstream consumers expect Multipoint.