Skip to content

FlatGeobufFacts

Defined in: packages/core/src/formats/lib/flatgeobuf.ts:417

A FlatGeobuf file’s facts, from its header alone (headerFacts).

PropertyTypeDescriptionDefined in
byteLengthnumberThe file’s size in bytes (the buffer’s byteLength).packages/core/src/formats/lib/flatgeobuf.ts:420
columnsstring[]The attribute columns the header declares.packages/core/src/formats/lib/flatgeobuf.ts:436
crs?stringThe declared CRS, e.g. “EPSG:4326” or “EPSG:3857”, when the header records one.packages/core/src/formats/lib/flatgeobuf.ts:430
envelope?[number, number, number, number][west, south, east, north], when the header records an extent.packages/core/src/formats/lib/flatgeobuf.ts:434
featuresnumberThe header’s feature count (0 when the writer didn’t record it).packages/core/src/formats/lib/flatgeobuf.ts:422
format"flatgeobuf"-packages/core/src/formats/lib/flatgeobuf.ts:418
geometryTypestringThe header’s geometry type (Point, Polygon, …; Unknown for mixed).packages/core/src/formats/lib/flatgeobuf.ts:428
indexedbooleanWhether the file carries a spatial index (index node size > 0): what reading by view needs.packages/core/src/formats/lib/flatgeobuf.ts:424
lonLatbooleanWhether the data is longitude/latitude — what this version draws.packages/core/src/formats/lib/flatgeobuf.ts:432
nodeSizenumberThe index’s node size (0 without one; readers accept 2 to 65,535).packages/core/src/formats/lib/flatgeobuf.ts:426