mojodna / marblecutter

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

catalog: include color interpretation per band #85

Closed mojodna closed 6 years ago

mojodna commented 7 years ago

R, G, B, then greyscale, NIR (maybe wavelength generally), classification, DEM/DSM, raw values.

mojodna commented 6 years ago

A Source's band_info (catalog schema: bands) property is intended to encode this. At present, it's only used by the landsat8 recipe as:

{
  "b": 2,
  "g": 3,
  "r": 4,
  "pan": 8
}

r, g, and b map to target imagery bands 0, 1, and 2 and allow source bands to be correlated. Additional well-known bands can be added to this in the future (e.g. "nir": 5).