Maps4HTML / geoserver

Maps for HTML MapML Extension / plug-in development fork of GeoServer
https://docs.geoserver.org/latest/en/user/extensions/mapml/index.html
Other
4 stars 1 forks source link

When setting MapML properties for a raster layer, enable mapping of one or more coverage bands to <featurecaption> #38

Closed prushforth closed 3 years ago

prushforth commented 3 years ago

Similar to vector feature layers, it should be possible to map a coverage "band", or a concatenation of coverage bands to the <featurecaption> that is emitted when querying the coverage. Otherwise, coverage data has no accessible name and won't be correctly read to the user. For some types of coverage data, there is only one band e.g. elevation. For other types of coverage there can be more bands and so we should allow the creation of a <featurecaption> from one or more of these (in the case that one band is not meaningful e.g. an RGB value needs all three values to be a color).

prushforth commented 3 years ago

This commit allows user to map ONE band to the <featurecaption>, which admittedly is not too useful, but it's a first step. Thinking about allowing multiple selections in the dropdown choice (which would likely be useful sometimes for vector attributes, too), as well as perhaps a templating mechanism, allowing a formatted string to be included, so the band names would be read in a more user-friendly manner.

prushforth commented 3 years ago

Closed by https://github.com/geoserver/geoserver/pull/4949