Skip to content

Features Galore, Swagger Docs, and Docker Image

Compare
Choose a tag to compare
@banesullivan banesullivan released this 20 Dec 07:52
· 337 commits to main since this release

The last few tags have been full of useful/nice to have features and clean up. The follow is a recap

  • Multi-band support: create composite images from selected bands
  • Automatically opens web browser when launching from command line
  • Under the hood improvements and abstraction of the underlying flask app to a Blueprint
  • Major UI improvements with color mapping options
  • Support user provided CesiumIon tokens
  • Support memcached
  • Better handle bad filenames/URLs with 404 page
  • Improvements to CesiumJS and GeoJS tile viewers
  • Google Analytics support
  • New pixel endpoint
  • New Histogram endpoint
  • New tile sources endpoint
  • New colormaps listing endpoint

Swagger API Docs

There is now an /swagger/ view with full API documentation:

List Tiles
Screen Shot 2021-12-20 at 12 41 12 AM Screen Shot 2021-12-20 at 12 41 27 AM

This introduced a new flask-restx dependency.

Docker Image

You can now pull a pre-built docker image from the packages of this repository

docker pull ghcr.io/banesullivan/localtileserver/localtileserver:latest

To run:

docker run --rm -it -p 8000:8000 ghcr.io/banesullivan/localtileserver/localtileserver

If you want to serve/visualize tiles from files on your local system, simply mount the directory:

docker run --rm -it -p 8000:8000 -v /path/to/mount/:/data ghcr.io/banesullivan/localtileserver/localtileserver

Then be sure to put the ?filename=/data/... in the URL params