|
|
| Parameter | Value |
|
|
|
|-----------|-------|
|
|
|
| `source` attribute | "geotiff" |
|
|
|
| `source` attribute | `"geotiff"` |
|
|
|
| Output type | Image Grids |
|
|
|
|
|
|
This source can be used to display GeoTiffs
|
|
|
This source can be used to display GeoTiffs.
|
|
|
|
|
|
Currently only uncompressed GeoTiffs and the compressions PackBits and LZW are well-tested.
|
|
|
|
|
|
There is a known issue that causes Deflate-Compressed GeoTiffs not to be displayed correctly.
|
|
|
There is a known issue that causes Deflate-Compressed GeoTiffs to be displayed incorrectly.
|
|
|
|
|
|
The source will try to read embedded or external pyramids to significantly speed up the loading times.
|
|
|
The source will try to read the embedded or an external thumbnail pyramid to speed up the loading times.
|
|
|
|
|
|
If your file does not already contain the pyramids, you can convert it to a cloud optimized geotiff using gdal as follows:
|
|
|
The image will not be read into RAM completely, so loading times might be longer if large images are stored as strips instead of tiles.
|
|
|
|
|
|
You can add a thumbnail pyramid to your files with `gdaladdo`:
|
|
|
|
|
|
```bash
|
|
|
gdal_translate input.tif output.tif -co TILED=YES -co COPY_SRC_OVERVIEWS=YES -co COMPRESS=LZW -co BIGTIFF=YES
|
|
|
gdaladdo -clean file.tif
|
|
|
gdaladdo -r lanczos file.tif
|
|
|
```
|
|
|
|
|
|
You can then add pyramids to the file as follows:
|
|
|
You can convert your image into a cloud optimized geotiff using `gdal_translate`. The resulting image will have the thumbnail pyramid embedded, and it will be stored in the tiled format.
|
|
|
|
|
|
```bash
|
|
|
gdaladdo -clean output.tif
|
|
|
gdaladdo -r lanczos output.tif
|
|
|
gdal_translate input.tif output.tif -co TILED=YES -co COPY_SRC_OVERVIEWS=YES -co COMPRESS=LZW -co BIGTIFF=YES
|
|
|
```
|
|
|
|
|
|
The image will not be read into RAM completely, so to keep memory usage and loading times low, try storing your image as Tiles as compared to Strips..
|
|
|
|
|
|
| Setting | Description | Default |
|
|
|
|---------|-------------|---------|
|
|
|
| ProjectionCode | The EPSG code for the coordinate system used in this file. Usually this is read from the metadata in the file itself, but you can provide one here to override it if there is none. | (not set, please provide one in your file) |
|
|
|
| `ProjectionCode` | The EPSG code for the coordinate system used in this file. Usually this is read from the metadata in the file itself, but you can provide one here to override it if there is none. | (not set, please provide one in your file) |
|
|
|
|
|
|
# Example Files
|
|
|
|
... | ... | |