Skip to content

Expose a GDAL file as a HTTP accessible on-the-fly COG

Notifications You must be signed in to change notification settings

rouault/cogserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

cogserver

Expose any GDAL recognized raster file as a HTTP accessible on-the-fly COG (Cloud Optimized GeoTIFF)

The on-the-fly COG file is not materialized to disk, can be of arbitrary size with little RAM consumption and can be accessed in a piecewise way with HTTP GET Range header.

Quality: proof-of-concept

What remains to be implemented:

  • expose metadata in GDAL_METADATA tag
  • allow compression
  • expose overviews when they exist

License

Affero GPL v3

Contact me if you need a different license than AGPL.

Pre-requisites

  • Python 3
  • GDAL native library
  • GDAL Python bindings

How to use

Serve: cogserver.py my_gdal_raster --port 8080

Consume: gdalinfo /vsicurl/http://localhost:8080/my.tif

About

Expose a GDAL file as a HTTP accessible on-the-fly COG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages