Processing FIL Norway imagery: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The biannual delivery of the FIL Norway ECW imagery dataset can be efficiently processed and converted to GeoPackage using the Python package filnorway_processor. This package will split the input according to a custom grid with 32768 x 32768 meters cells. The output is stored as GeoPackages with WEBP compression, and organized by county. | The biannual delivery of the FIL Norway ECW imagery dataset can be efficiently processed and converted to GeoPackage using the Python package '''''filnorway_processor'''''. This package will split the input according to a custom grid with 32768 x 32768 meters cells. The output is stored as GeoPackages with WEBP compression, and organized by county. These GeoPackages are then used to update the NorwayImageryCompressed product series. | ||
== Dependencies == | == Dependencies == | ||
Line 37: | Line 37: | ||
|Enable more detailed log messages | |Enable more detailed log messages | ||
|} | |} | ||
== Examples == | |||
Display help: | |||
python -m filnorway_processor --help | |||
Process FIL Norway for the entire country using 16 parallel processes: | |||
python -m filnorway_processor --input \\files\filnorway\ecw\ --fotodato \\files\filnorway\fotodato\fotodato_2025_02.shp --fylker c:\data\norway_counties_shapefiles\ --output \\files\filnorway\gpkg -p 16 |
Revision as of 13:10, 7 May 2025
The biannual delivery of the FIL Norway ECW imagery dataset can be efficiently processed and converted to GeoPackage using the Python package filnorway_processor. This package will split the input according to a custom grid with 32768 x 32768 meters cells. The output is stored as GeoPackages with WEBP compression, and organized by county. These GeoPackages are then used to update the NorwayImageryCompressed product series.
Dependencies
- GDAL >= 3.8.0 (with ECW driver)
The easiest way to get a Python environment where these dependencies are met, is to install the latest version of QGIS . Included is the OSGeo4W shell, where you can install and use the package.
Installation
The package is distributed as a Python wheel-file. Install using pip:
python -m pip install c:\path\filnorway_processor-1.0.6-py3-none-any.whl
Arguments
Argument | Description |
---|---|
--input
|
Input directory containing all FIL Norway ECW files |
--fylker
|
Vector dataset with one layer per Norwegian county. Does not have to contain all counties. |
--fotodato
|
"Fotodato" dataset with photography dates and coverage included in the delivery. Should be a single file/layer. This is used to clip datasets to valid data areas. |
--outpath
|
Output directory. |
-q, --quality
|
WEBP quality on the output GeoPackages. Default value: 5 |
-p, --num_processes
|
Maximum number of parallel processes to use |
--debug
|
Enable more detailed log messages |
Examples
Display help:
python -m filnorway_processor --help
Process FIL Norway for the entire country using 16 parallel processes:
python -m filnorway_processor --input \\files\filnorway\ecw\ --fotodato \\files\filnorway\fotodato\fotodato_2025_02.shp --fylker c:\data\norway_counties_shapefiles\ --output \\files\filnorway\gpkg -p 16