Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

rio-viz plugin to visualise STAC items in browser

License

Notifications You must be signed in to change notification settings

developmentseed/stac-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stac-viewer

!! WORK IN PROGRESS !!

Visualize STAC items in browser.

Install

$ pip install git+https://github.com/developmentseed/stac-viewer.git

CLI

$ stac-viewer --help
Usage: stac-viewer [OPTIONS] STAC_PATH

  Visualise STAC item in browser.

      Media-type of assets need to be one of:
          - image/tiff; application=geotiff
          - image/tiff; application=geotiff; profile=cloud-optimized
          - image/vnd.stac.geotiff; cloud-optimized=true
          - image/tiff
          - image/x.geotiff
          - image/jp2
          - application/x-hdf5
          - application/x-hdf

Options:
  --style [satellite|basic]  Mapbox basemap
  --port INTEGER             Webserver port (default: 8080)
  --host TEXT                Webserver host url (default: 127.0.0.1)
  --mapbox-token TOKEN       Mapbox token
  --exclude TEXT             Exclude assets (default: ['thumbnail'])
  --separate                 Consider each asset as separate band
  --help                     Show this message and exit.

Examples

$ stac-viewer https://storage.googleapis.com/pdd-stac/disasters-0.9.0/hurricane-harvey/0831/20170831_162740_ssc1d1.json

$ AWS_REQUEST_PAYER="requester" stac-viewer https://raw.githubusercontent.com/radiantearth/stac-spec/master/item-spec/examples/CBERS_4_MUX_20181029_177_106_L4.json --separate

About

rio-viz plugin to visualise STAC items in browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published