Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new GCI_ constants in particular for InfraRed and SAR, and 'standardize' … #10721

Merged
merged 5 commits into from
Sep 19, 2024

Commits on Sep 18, 2024

  1. GTiff: when reading a unrecognized value of color interpretation in t…

    …he GDAL_METADATA, expose it in a COLOR_INTERPRETATION metadata item
    rouault committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    b45a3d3 View commit details
    Browse the repository at this point in the history
  2. Add new GCI_ constants in particular for InfraRed, and 'standardize' …

    …a band-level IMAGERY metadata domain
    
    Added values:
        * GCI_PanBand: Panchromatic band [0.40 - 1.00 um]
        * GCI_CoastalBand: Coastal band [0.40 - 0.45 um]
        * GCI_RedEdgeBand: Red-edge band [0.69 - 0.79 um]
        * GCI_NIRBand: Near-InfraRed (NIR) band [0.75 - 1.40 um]
        * GCI_SWIRBand: Short-Wavelength InfraRed (SWIR) band [1.40 - 3.00 um]
        * GCI_MWIRBand: Mid-Wavelength InfraRed (MWIR) band [3.00 - 8.00 um]
        * GCI_LWIRBand: Long-Wavelength InfraRed (LWIR) band [8.00 - 15 um]
        * GCI_TIRBand: Thermal InfraRed (TIR) band (MWIR or LWIR) [3 - 15 um]
        * GCI_OtherIRBand: Other infrared band [0.75 - 1000 um]
    
    For spectral bands, the wavelength ranges are indicative only, and may vary
    depending on sensors.
    
    STACIT driver enhanced to map STAC common_name to GCI_ constants
    
    gdalinfo -json output enhanced to output STAC common_name from GCI_
    constants
    
    Items in the IMAGERY band-level metadata domain:
    - CENTRAL_WAVELENGTH_UM: Central Wavelength in micrometers.
    - FWHM_UM: Full-width half-maximum (FWHM) in micrometers.
    
    Filled by the SENTINEL2 and ENVI drivers (if corresponding metadata items are found in
    the ENVI header)
    rouault committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    6123db2 View commit details
    Browse the repository at this point in the history
  3. GTiff: make sure CreateCopy() copies the band IMAGERY metadata domain…

    … by default (unless COPY_SRC_MDD or SRC_MDD creation options are set)
    rouault committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    f2eb859 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    804bc11 View commit details
    Browse the repository at this point in the history
  5. GDALColorInterp: add GCI_SAR_[Ka|K|Ku|X|C|S|L|P_Band], as well as GCI…

    …_[IR|SAR]_[Start|End]
    
    as well as GCI_IR_Reserved[1|2|3|4] and GCI_SAR_Reserved_[1|2]
    rouault committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    66d2068 View commit details
    Browse the repository at this point in the history