FlatGeobufFacts
Defined in: packages/core/src/formats/lib/flatgeobuf.ts:417
A FlatGeobuf file’s facts, from its header alone (headerFacts).
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
byteLength | number | The file’s size in bytes (the buffer’s byteLength). | packages/core/src/formats/lib/flatgeobuf.ts:420 |
columns | string[] | The attribute columns the header declares. | packages/core/src/formats/lib/flatgeobuf.ts:436 |
crs? | string | The 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 |
features | number | The 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 |
geometryType | string | The header’s geometry type (Point, Polygon, …; Unknown for mixed). | packages/core/src/formats/lib/flatgeobuf.ts:428 |
indexed | boolean | Whether the file carries a spatial index (index node size > 0): what reading by view needs. | packages/core/src/formats/lib/flatgeobuf.ts:424 |
lonLat | boolean | Whether the data is longitude/latitude — what this version draws. | packages/core/src/formats/lib/flatgeobuf.ts:432 |
nodeSize | number | The index’s node size (0 without one; readers accept 2 to 65,535). | packages/core/src/formats/lib/flatgeobuf.ts:426 |