-
Notifications
You must be signed in to change notification settings - Fork 4
Raster checks
List of raster checks:
The check can not be skipped.
The result values of the check are: ok, aborted.
The check verifies that the delivery has been uploaded to QC tool as a valid ZIP file and the ZIP file can be successfully unzipped.
The check can not be skipped.
The result values of the check are: ok, aborted.
This check verifies that the delivery contains all expected raster files. Depending on specific product, one delivery may contain one or more raster files. All raster files must be in valid GeoTiff (.tif) file format which can be successfully opened by GDAL software.
The naming of expected raster files is specified by the layer_names parameter.
The layer_names parameter can contain one or more a regular expressions. For each item in the layer_names, vector.naming check searches for a GeoTiff file that matches the regular expression. If a matching file is found, then a symbolic layer name is assigned to the matching GeoTiff file. If there is no matching file found, then vector.naming check exits with aborted status.
In general, the raster naming expressions in layer_names have the following structure:
<product_code>_<reference_year>_<resolution>_<aoi_code>_<epsg_code>_<version>.tif
where:
-
product_codeis 3-letter code of the product, e.g.FTY,GRA,WAW,IMC,IMD,TCD; -
reference_yearis 4-digit reference year, e.g.2018; -
resolutionis raster cell size in meters, e.g.010m,020mor100m; -
aoi_codeis 2-letter country code, AOI code or delivery unit code, e.g.eu; Theaoi_codeis also used to match the delivery with the corresponding AOI inraster.gapcheck; -
epsg_codeis a valid EPSG code identifying the raster coordinate reference system, e.g.3035; -
versionis product specific version identifier, e.g.v1_0
- The naming expressions are case-insensitive.
- Each GeoTiff file must contain a single band, multi-band rasters are not allowed.
- The number of GeoTiff files in the delivery must be equal to the number items in
layer_names, excessive .tif files are not allowed. - Inside one delivery, GeoTiff files can be located anywhere in the directory hierarchy, eg. all examples are valid:
FTY_2015_020m_eu_03035_d04.tif,fty_020m/fty_2015_020m_eu_03035_d04.tif,2015/fty/20m/fty_2015_020m_eu_03035_d04.tif.
A raster product delivery must contain a valid INSPIRE compliant XML metadata file and INSPIRE mapping tables.
INSPIRE mapping tables show the evidence that the products delivered are compatible with the INSPIRE Data Specification on Land Cover. This evidence is provided as table document showing the associations between the source (product/deliverable) and the target data model (INSPIRE Data Specification on Land Cover). Mapping tables are provided together with the final products.
Reference:
- Copernicus Land Monitoring Service, High Resolution Layer Forest, Product Specifications, https://land.copernicus.eu/user-corner/technical-library/hrl-forest, chapter 5. INSPIRE Metadata and mapping tables;
Each HRL raster delivery must have a .tif.vat.dbf file with a raster attribute table.
Only attribute names are checked.
The attribute names are case insensitive.
The attribute table must always have the following attributes:
-
value, corresponds to unique codes in the GeoTiff file -
count, corresponds to the number of raster cells belonging to each code. -
area_km2, the area in square kilometres covered by cells with the code. -
area_perc, the area in square kilometres covered by cells with the code, expressed as percent of total mapped area. -
class_name, a text description of the land use / landcover class corresponding to the code.
The EPSG authority must be part of the GeoTiff file's spatial reference system information.
The only accepted EPSG code is EPSG:3035 (ETRS89 ETRS-LAEA equal-area projection).
The EPSG code must be explicitly included in the CRS definition.
All cells in the raster product must have the same cell size. Required cell size is specified by the cellsize parameter in each product definition.
- Upper-left X, Y coordinates of the raster must be divisible by raster cell size with no remainder;
- Upper-left X, Y coordinates of the raster must be divisible by 1000 with no remainder.
The GeoTiff file in the raster delivery must conform to required data type.
The required data type is Byte (values from 0 to 255) or Int16 (values from -32768 to +32767)
A raster delivery must have a compression type specified. The compression type of the GeoTiff file must be LZW.
Only values specified in the list by each Product are allowed. Other values are reported as errors. Pixels with value 255 are considered to be 'NoData' or outside mapping area. It is not required that the raster has a 'NoDataValue' property set.
The AOI is defined by the boundary package, see Boundaries.
There must be no cell having the value set to NoData inside the AOI.
If gaps are found, the raster.gap check creates a raster attachment file with all gaps inside the AOI set to 1.
If the number of detected gaps is < 1,000,000 pixels, then an additional vector attachment file with vector boundaries of gap areas is also provided.
The data inside the GeoTiff raster file must be stored in tiles. The number of rows and columns in one tile must not be greater than the max_blocksize setting. Recommended tile size is 256 x 256 or 512 x 512 pixels. For more detail about tiled GeoTiff format, see the Cloud-Optimized GeoTiff specification (https://www.cogeo.org/).
Raster minimum mapping unit (MMU) check identifies patches with area smaller than specified MMU. To determine if a raster cell belongs to a patch, 4-way connectivity is used (two raster cells touching only by cell corner are not considered as part of the same patch). Cells with value 255 (NoData) are excluded from the MMU check.
Each raster delivery GeoTiff file must have a colour table.
The colour table must be embedded in the GeoTiff file and provided in form of a tif.clr text file
which is part of the delivery.
Values in the GeoTiff colour table and in the .tif.clr colour table must match.
- Colours common to all products
* 254; RGB = (153, 135, 153); unclassifiable; * 255; RGB = ( 0, 0, 0); outside area;
-
How To Use QC Tool
-
Checks
-
Products
-
- HRL Imperviousness
- HRL Tree Cover and Forest
- HRL Grassland
- HRL Water and Wetness
-
HRL Small Woody Features
- HRL Small Woody Features 2015: Raster 100m
- HRL Small Woody Features 2015: Vector Raster 5m
- HRL Small Woody Features 2018: Raster 100m
- HRL Small Woody Features change 2018: Raster 100m
- HRL Small Woody Features change 2018-2021: Raster 100m
- HRL Small Woody Features 2018: Vector Raster 5m
- HRL Small Woody Features 2018: Revised Woody Vegetation Layer 5m
- HRL CLC Backbone