Skip to content

Repository files navigation

ol-stac

An "automagical" STAC LayerGroup for OpenLayers released under the Apache 2.0 license.

Test Status

Getting Started

Please read the Quick Start first: https://ol-stac.moregeo.it/doc/quickstart.html

Explore the examples to get started with some more code: https://ol-stac.moregeo.it/en/latest/examples/

Dig into the API documentation for all details: https://ol-stac.moregeo.it/en/latest/apidoc/

OpenLayers versions

ol-stac works best with OpenLayers >= 10.10.0.

It should work with older versions >= 9.0.0, but certain features will be unavailable or work less reliably, for example:

  • Better no-data/transparency handling (requires >= 10.10.0)
  • Better per-band visualization of GeoTiff files (requires >= 10.9.0)
  • Automatic loading of missing projections for GeoTiff files (EPSG code retrieval requires >= 10.0.0, other projection codes require >= 10.8.0)
  • GeoZARR support (requires >= 10.8.0)

Generally, we highly recommend to use OpenLayers >= 10.9.0. If you use an older version, please ensure it works well for your usecases.

Older versions of ol-stac (< 1.3.0) support OpenLayers >= 7.5.2.

Sponsors

ol-stac appreciates contributions of all kinds.

The development of this package was financially supported by:

Many thanks also to OpenLayers and its contributors.

If you need any help, please contact me.

TypeScript support

The ol-stac package includes auto-generated TypeScript declarations as *.d.ts files.

Documentation

Check out the hosted examples or the API documentation.

Bugs

Please use the GitHub issue tracker for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.

Related work

A similar package for Leaflet and authored by Daniel Dufour and Matthias Mohr is stac-layer. It has a very similar interface and functionality.

About

An "automagical" STAC LayerGroup for OpenLayers

Topics

Resources

Stars

19 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages