@loaders.gl/geospatial
Geospatial vector formats and geometry loader/writer descriptors share one package. Codec and geometry-construction utilities live in independent core subpaths.
| Format | Subpath | Description |
|---|---|---|
/kml | KML | |
| — | /gpx | GPX |
| — | /tcx | TCX |
/kmz | KMZ | |
| — | /shapefile | Shapefile |
| — | /shp | SHP geometry |
| — | /dbf | DBF attributes |
![]() | /flatgeobuf | FlatGeobuf |
/geopackage | GeoPackage | |
/wkt | WKT and WKT CRS | |
/wkb | WKB and Hex WKB | |
| — | /twkb | Tiny WKB |
Import metadata from the package root or format subpaths. Parser-bearing loaders use named implementation entrypoints, such as @loaders.gl/geospatial/wkb. GeoPackage requires the optional sql.js peer dependency. See Get Started for installation and loading patterns.
Format guides
- FlatGeobuf
- GeoPackage
- GPX
- KML
- TCX
- Shapefile
- TWKB - Tiny Well-Known Binary
- WKB - Well-Known Binary
- WKT-CRS - Coordinate Systems
- Well-Known Text
Package exports
All exported subpaths (24)
These are the package's public exports, including format entry points, parsers, writers, sources, and worker assets.
