Are you sure you want to delete this access key?
Data is sources from the The luxembourgish data platform.
Data is provided as JPEG2000 encoded 3-band images with 20cm resolution and projected in EPSG:2169 (LUREF).
Prior to the DVC-tracked preprocessing steps the raw data was reorganized as follows (the final output files are tracked in this repo though):
# year 2017 data
YEAR=2017
RGB=ortho2017_RVB_pays.jp2
NIR=LUX17_CIR_v3.jp2
# year 2019 data
#YEAR=2019
#RGB=ortho_2019.jp2
#NIR=ortho_2019ir.jp2
# merge bands (allow projection difference since one source has a differnt projection string but correct projection parameters)
gdalbuildvrt b1.vrt -b 1 ${RGB}
gdalbuildvrt b2.vrt -b 2 ${RGB}
gdalbuildvrt b3.vrt -b 3 ${RGB}
gdalbuildvrt b4.vrt -b 1 ${NIR}
gdalbuildvrt -allow_projection_difference -separate allbands.vrt b1.vrt b2.vrt b3.vrt b4.vrt
gdal_translate -of GTiff -co "COMPRESS=LZW" -co "PREDICTOR=2" -co "TILED=YES" -co "BIGTIFF=YES" -co "ALPHA=NO" -colorinterp_1 "red" -colorinterp_2 "green" -colorinterp_3 "blue" allbands.vrt ortho_ms_${YEAR}.tif
# reproject and limit extent to common area
gdalwarp -co "NUM_THREADS=ALL_CPUS" -multi -overwrite -ot Byte -ts 302346 420442 -te 263584.672 5479988.018 324060.605 5564085.859 -t_srs '+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs' -r average ortho_ms_2017.tif ortho_ms_${YEAR}_EPSG3044.vrt
gdal_translate -co "NUM_THREADS=ALL_CPUS" -co "COMPRESS=LZW" -co "PREDICTOR=2" -co "TILED=YES" -co "BIGTIFF=YES" -co "ALPHA=NO" ortho_ms_${YEAR}_EPSG3044.vrt ortho_ms_${YEAR}_EPSG3044.tif
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?