Hi all,

I am having some issues with using GeoExt, OpenLayers + GeoServer, when it 
comes to the legend and WPS.

Here are some WMS layers I tried to display on a map and within a GeoExt 
LegendPanel : "Cities" (points, works great), "CoastLine" (line, works great), 
"ZST Gibraltar" (polygon, works great), "Timezones" (polygon with GeoServer SLD 
for colors, works still great).

No, some layers that have a few problems :
"TSE Gibraltar" (2 GS layers that are integrated on server side, requested as 
one layer with OpenLayers) is displayed, but no legend. I think it's because 
it's agregation of layers, so no real SLD.
"Waves speed" (1 GS layer of points with WPS for interpolation, makes an "area" 
layer), here again the layer is displayed well, but no legend.

I tried basic GetLegendGraphic for these two layers, I do have good legend for 
WPS layer, but none of course for agregated layers.

All these layers are requested with OpenLayers as OpenLayers.Layer.WMS, with 
same configuration. GeoExt LegendPanel is configured so :

legendPanel = new GeoExt.LegendPanel({
        defaults: {
                labelCls: 'mylabel',
                style: 'padding:5px'
        },
        bodyStyle: 'padding:5px',
        width: 350,
        autoScroll: true,
        region: 'west'
});

Do you have any idea how to display the legend for WPS processed images?
Thanks for the help !

Regards,


Gabriel Vatin

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to