geolens-io / geolens-examples

Runnable examples

GeoLens is a self-hosted spatial data hub.

One place to catalog, search, map and analyze your spatial data. It publishes all of it through OGC API Features and Records, STAC, vector tiles and raster tiles. The integration is a URL.

So the client library never has to know what GeoLens is. Every browser and Python example here is one file that reads the public demo anonymously, with no key and no build step. Most need no GeoLens library at all; the three marked SDK use one to show what the catalog knows that a URL cannot. The CLI card is the exception: publishing writes to a catalog, so it runs against your own instance with a credential.

GET /api/collections/{id}/items GeoJSON features
GET /api/tiles/{table}/{z}/{x}/{y}.pbf Vector tiles
GET /raster-tiles/{id}/tiles/{z}/{x}/{y}.png Raster tiles

See what GeoLens itself builds

Maps, stories and dashboards composed in GeoLens, then published on the public demo. All of them open without an account.

Stories

Chaptered walk-throughs that move a map from one scene to the next.

Map dashboards

A panel of widgets beside the map, each summarizing one layer.

Start where you work

CI replays every "Try live" card against the live demo on every change and every morning; the runs are public.

Run your own

The demo these examples read is not yours. One command starts an instance that is, with Docker Compose; open http://localhost:8080, then point any example at it by changing the instance URL and replacing any demo dataset IDs, table names or share links with your own.

curl -fsSL https://getgeolens.com/install.sh | sh