[Users] Symbol in layer tree disappears when applying numberFormat in SLD

Bart van den Eijnden bartvde at osgis.nl
Mon Mar 7 00:02:05 CET 2011


Hi Andrew,

but then again, it works fine in your map or not?

So the legend code should also work IMHO.

In the application you sent both layers (Depth to water and groundwater elevation) have failing GetLegendGraphic requests when the labels are being displayed.

Best regards,
Bart

-- 
Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html

Bart van den Eijnden
OSGIS
bartvde at osgis.nl

On Mar 6, 2011, at 11:54 PM, Andrew Parker wrote:

> Thanks again Bart.  I was wondering how you got that error.   Removing 
> scale did the trick.
> 
> Your first email may have provided a clue, why would geoserver fail to 
> catch this error?  So I looked at my data types in PostGIS.  Depth to 
> water field is of type "numeric" in PostGIS.  Groundwater elevation is 
> "double precision".  Perhaps the data type needs to be decimal for the 
> formatting to work?
> 
> -- 
> Andrew Parker
> 
> 
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
> 



More information about the Users mailing list