Cloud-native reads
Ask for the data. Fetch only the bytes behind it.
Range-aware sources translate a logical request into scheduled byte ranges. Metadata, caching, and cancellation stay in the transport layer while the application works with a normal decoded result.
Logical request
Range scheduler
offsets · limits · HTTP Range
Useful bytes
The same access pattern powers tiled scenes, columnar files, point clouds, and windowed rasters without making the whole object a prerequisite.
The FlatGeobuf path
Use the index before decoding features.
A source can discover the header and packed R-tree, select candidate features by bounds, then decode only the ranges needed for the request.
Index
Packed R-tree for spatial candidate selection
Access
HTTP range reads for cloud-hosted files
Output
GeoJSON-like features or Arrow feature tables
Operations
Bounds, predicates, projection, limits, and cancellation
The @loaders.gl/geospatial/flatgeobuf module handles the FlatGeobuf format, a binary FlatBuffers-encoded format that defines geospatial geometries.
Detailed guide
FlatGeobuf module details
The sections below cover installation, loader and source APIs, spatial filtering, Arrow output, and attribution.
Installation
npm install @loaders.gl/geospatial
npm install @loaders.gl/core
Loaders and Writers
| Loader / Source | Description |
|---|---|
FlatGeobufLoader | Loads FlatGeobuf files as geospatial tables. |
FlatGeobufLoader | Streams features and spatially filtered data from FlatGeobuf sources. |
Attribution
The FlatGeobufLoader forks the flatgeobuf NPM module under the BSD 2-Clause license.
