Skip to main content

@loaders.gl/geospatial

Geospatial vector formats and geometry loader/writer descriptors share one package. Codec and geometry-construction utilities live in independent core subpaths.

FormatSubpathDescription
/kmlKML
—/gpxGPX
—/tcxTCX
/kmzKMZ
—/shapefileShapefile
—/shpSHP geometry
—/dbfDBF attributes
/flatgeobufFlatGeobuf
/geopackageGeoPackage
/wktWKT and WKT CRS
/wkbWKB and Hex WKB
—/twkbTiny 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​

Package exports​

All exported subpaths (24)

These are the package's public exports, including format entry points, parsers, writers, sources, and worker assets.

FormatImport subpath
@loaders.gl/geospatial/dbf
@loaders.gl/geospatial/dbf/bundled
@loaders.gl/geospatial/flatgeobuf
@loaders.gl/geospatial/flatgeobuf/bundled
@loaders.gl/geospatial/geopackage
@loaders.gl/geospatial/geopackage/bundled
@loaders.gl/geospatial/gpx
@loaders.gl/geospatial/gpx/bundled
@loaders.gl/geospatial/kml
@loaders.gl/geospatial/kml/bundled
@loaders.gl/geospatial/kmz
@loaders.gl/geospatial/kmz/bundled
@loaders.gl/geospatial/shapefile
@loaders.gl/geospatial/shapefile-worker.js
@loaders.gl/geospatial/shapefile/bundled
@loaders.gl/geospatial/shp
@loaders.gl/geospatial/shp/bundled
@loaders.gl/geospatial/tcx
@loaders.gl/geospatial/tcx/bundled
@loaders.gl/geospatial/wkb
@loaders.gl/geospatial/wkb/bundled
@loaders.gl/geospatial/wkt
@loaders.gl/geospatial/wkt-worker.js
@loaders.gl/geospatial/wkt/bundled