How to combine GeoTIFFs on the Geoshare into a single Grid Overlay using WMS Overlays

From Tygron Support wiki
Jump to navigation Jump to search

GeoTIFFs can be made available on the Geo Share and automatically imported using a WMS Overlay. However, the size of grid datasets sometimes necessitates such a dataset is split up over multiple files, each of which would be offered up as a separate layer of a WMS and thus a separate (timeframe of a) Grid Overlay. In these situations, it is necessary to recombine the individual pieces of the dataset into a single unified whole before using it in calculations.

Editor → Current Situation (Ribbon tab) → Overlays (Ribbon bar) → Combo Overlay (Dropdown)
How to combine GeoTIFFs on the Geoshare into a single Grid Overlay using WMS Overlays:
  1. Ensure the desired grid data is available as a WMS from the Geo Share.
  2. Create a new Combo Overlay to add all the parts together.
  3. Create more WMS Overlays to obtain the separate datasets.
  4. Depending on whether the datasets are in separate timeframes or separate Grid Overlays:
    If the datasets are in separate WMS Overlays, ensure each is set as an input for the new Combo Overlay.
    If the datasets are timeframes in one WMS Overlay, ensure that single WMS Overlay is set as input for the new Combo Overlay.
  5. Ensure that its clear under which circumstances a dataset does not feature data. From a WMS Overlay, this is the value 0.
  6. Depending on whether the datasets are in separate timeframes or separate Grid Overlays:
    If the datasets are in separate Grid Overlays, set the Combo Overlay formula to the following:
    IF(GT(MAX(A,B,C), 0), MAX(A,B,C), IF(LT(MIN(A,B,C), 0), MIN(A,B,C),0) ) - If the inputs A, B, and C are used
    If the datasets are in one Grid Overlay but separate timeframes, set the Combo Overlay formula to the following:
    IF(GT(MAX(A0:9), 0), MAX(A0:9), IF(LT(MIN(A0:9), 0), MIN(A0:9),0) ) - If the datasets span 10 timeframes (0 through 9)
  7. Ensure the WMS Overlay(s) have obtained any relevant and available data.
  8. Recalculate the Combo Overlay to have it combine the datasets.

Notes

  • Because a WMS Overlay does not differentiate between a received 0 value and a NO_DATA value, there is no discernable difference between a 0 as data, or an absence of data.
  • The described formulas can easily be expanded by adding additional terms. Either more input letters, or greater values for the last timeframe index.
  • The described formulas default to the highest value found among datasets. If the original dataset is cut up properly, even when overlaps exist they should agree with one another in value. If they are not in agreement, either the highest value will be selected (if its greater than 0) or the lowest value (if its lower than 0).

How-to's

See also