AKROGIS / ThemeManager

NPS Alaska's GIS Theme Manager
2 stars 0 forks source link

Metadata for raster functions #14

Closed regan-sarwas closed 5 years ago

regan-sarwas commented 5 years ago

When loading a layer file with a raster function chain, Theme Manager should find metadata for the raster function.

regan-sarwas commented 5 years ago

This is not possible.

  1. The raster function does not have a persisted location, except in a map document or layer file. Theme Manager will already find metadata if it exists for the layer file or map document (preferred solution).
  2. There may be several raster datasets in the function chain, so even if it were possible to extract those, and their respective metadata files, it wouldn't be clear which one to use. Granted if there were only one, we could use that, but that isn't a general solution. In this case, the theme list author can set the metadata path manually.
  3. The purpose of a function chain is to dynamically create a new raster based on the input of one or more rasters. This new raster is inherently different than any of the input rasters, so any metadata for the output would need to be dynamically created as well by "applying the function chain" to the source rasters. This is beyond the scope of Theme Manager.