mojodna / marblecutter

Dynamic tiling of raster data for OpenAerialMap + others
Other
121 stars 25 forks source link

Multispectral imagery #79

Open mojodna opened 7 years ago

mojodna commented 7 years ago

Imagery from EVR2EST comes as 5-band JP2000s and MrSIDs (R, G, B, NIR?; in which order?). GDAL doesn't see ColorInterp attributes on the JP2000s (except for the alpha band: 5).

The simplest (from marblecutter's perspective) approach is to feed it a VRT that maps appropriate bands (or maybe metadata in the catalog).

For this to work, however, the imagery needs to be transcoded correctly; it currently picks the first 3 bands and encodes them with YCbCr JPEG compression, which loses avaialble data.

72 is related, as those will also be 4-5 band images.