Reading-eScience-Centre / edal-java

Environmental Data Abstraction Layer libraries
Other
39 stars 30 forks source link

add check for GetLegendGraphic parameters 'layer' and 'style' #87

Closed yosoyjay closed 7 years ago

yosoyjay commented 7 years ago

The spec for SLD indicates that GetLegendGraphic has the required parameters of 'layer' and 'style' (see http://www.opengeospatial.org/standards/sld). I've add a check in GetMapStyleParams for these params, but I'm not convinced it's at the right level of abstraction.

Thoughts?

guygriffiths commented 7 years ago

Yep, that looks like the correct place for it. Merging now, thanks.