-
Couldn't load subscription status.
- Fork 11
Added information on resampling algorithms for overviews #509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 11 commits
e708aab
b2c50d1
c7908f0
c7bfa0e
0561e04
75ea35c
7a9ddc9
6bba2dd
e591123
3ddbc61
aacb877
9055c54
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,11 +7,17 @@ Some Digital Earth Australia (DEA) products are provided as **continental-scale | |
|
|
||
| These datasets are made available as **Cloud-Optimised GeoTIFFs (COGs)**, a format that enables users to efficiently *stream* raster data directly from the cloud without downloading the files. This provides a fast and convenient way to access full-continental coverage from tools like QGIS or ArcGIS Pro, especially when working with large datasets. | ||
|
|
||
| COGs include overviews, which are lower-resolution pyramid layers that allow fast rendering at different zoom levels. When zooming out, GIS software displays a coarser overview to improve performance. These layers are generated using a **resampling algorithm**, which determines how pixel values are aggregated when reducing spatial resolution. For DEA products, the choice of resampling algorithm depends on the nature of the data: | ||
|
|
||
| - **MODE** – used for **categorical data**; assigns the most frequent value within the extent of an overview pixel. | ||
| - **BILINEAR** – used for **continuous data** with minimal missing values; interpolates pixels to produce a smooth gradient. | ||
| - **NEAREST** – used for **continuous or categorical data with many missing values**; each overview pixel takes the value of the higher-resolution pixel closest to its centroid. This algorithm appears to maximise the visualisation of products where valid pixels are surrounded by many no-data pixels. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @GL-S Could "appears to maximise" be replaced by "optimises" ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll do some quick testing today, but essentially "nearest" was the only method that wouldn't come out empty if an overview pixel overlapped with a high-res single nodata pixel. So using "nearest" was less about maximising data coverage, but more to ensure our overviews contained at least some data. I think we can probably go with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah ok, I just wanted to double check this. thanks for confirming! |
||
|
|
||
| Not all DEA products provide continental-scale COGs. Currently, this access method is only available for selected products: | ||
|
|
||
| - `DEA Land Cover </data/product/dea-land-cover-landsat/>`_ | ||
| - `DEA Intertidal </data/product/dea-intertidal/>`_ | ||
| - `DEA Tidal Composites </data/product/dea-tidal-composites/>`_ | ||
| - `DEA Land Cover </data/product/dea-land-cover-landsat/>`_ - uses `MODE` as the overview resampling algorithm | ||
| - `DEA Intertidal </data/product/dea-intertidal/>`_ - uses `NEAREST` as the overview resampling algorithm | ||
| - `DEA Tidal Composites </data/product/dea-tidal-composites/>`_ - uses `NEAREST` as the overview resampling algorithm | ||
|
|
||
| **VRT (Virtual Raster) files** are provided alongside the ``.tif`` mosaics. These files serve as lightweight wrappers around the main data and can be used to open data in GIS software with visual settings already applied. We use VRTs to provide: | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GL-S This text shouldnt be indented. Looks good though.