i’m working on an implementation of geonetwork that renders wms layers to the map - once a few have been rendered (taking their colour from the wms service) it becomes harder to differentiate them (although layer opacity can be changed) - one possible solution might be to allow users to set layer colours.
from initial observations, it looks as it this might need to take place at the point that openlayers renders to canvas, any ideas or recommendations?
Depending how you want to implement, in general the point of WMS is that the data provider is providing a predrawn layer that is intended to be used as is.
A WMS can be setup with multiple named styles, and a user interface can be used to choose between these if available
Depending on the WMS service it may allow you to pass inline SLD with the requested fill color. In this case your web application is taking over, but the rendering is still going to occur on the server side
You may be able to play with some special effects on the images once they are available in openlayers as individual ImageLayer layers.
One technique I enjoyed when working on a desktop client was to use opacity to fade out every layer execpet the currently selected layer. If you are providing a legend you could turn this into a hover effect as the mouse passes over each legend entry.
interesting, the hue adjustment in the openlayers demo you provided should work well for differentiation purposes, also i think it will look neat sitting alongside the opacity slider in the gn ui - thanks!
the use case here is a planner assessing a given location and pulling in all the various planning restriction zones (polygons) that cover that location.
Depending how you want to implement, in general the point of WMS is that the data provider is providing a predrawn layer that is intended to be used as is.
A WMS can be setup with multiple named styles, and a user interface can be used to choose between these if available
Depending on the WMS service it may allow you to pass inline SLD with the requested fill color. In this case your web application is taking over, but the rendering is still going to occur on the server side
You may be able to play with some special effects on the images once they are available in openlayers as individual ImageLayer layers.
One technique I enjoyed when working on a desktop client was to use opacity to fade out every layer execpet the currently selected layer. If you are providing a legend you could turn this into a hover effect as the mouse passes over each legend entry.
i’m working on an implementation of geonetwork that renders wms layers to the map - once a few have been rendered (taking their colour from the wms service) it becomes harder to differentiate them (although layer opacity can be changed) - one possible solution might be to allow users to set layer colours.
from initial observations, it looks as it this might need to take place at the point that openlayers renders to canvas, any ideas or recommendations?
interesting, the hue adjustment in the openlayers demo you provided should work well for differentiation purposes, also i think it will look neat sitting alongside the opacity slider in the gn ui - thanks!
the use case here is a planner assessing a given location and pulling in all the various planning restriction zones (polygons) that cover that location.
Depending how you want to implement, in general the point of WMS is that the data provider is providing a predrawn layer that is intended to be used as is.
A WMS can be setup with multiple named styles, and a user interface can be used to choose between these if available
Depending on the WMS service it may allow you to pass inline SLD with the requested fill color. In this case your web application is taking over, but the rendering is still going to occur on the server side
You may be able to play with some special effects on the images once they are available in openlayers as individual ImageLayer layers.
One technique I enjoyed when working on a desktop client was to use opacity to fade out every layer execpet the currently selected layer. If you are providing a legend you could turn this into a hover effect as the mouse passes over each legend entry.
i’m working on an implementation of geonetwork that renders wms layers to the map - once a few have been rendered (taking their colour from the wms service) it becomes harder to differentiate them (although layer opacity can be changed) - one possible solution might be to allow users to set layer colours.
from initial observations, it looks as it this might need to take place at the point that openlayers renders to canvas, any ideas or recommendations?