The Geoserver list may be better to post this too. However, I through the geoext list will have a better understanding of the tree-builder functionality.
I used the tree-builder.js code from http://dev.geoext.org/sandbox/mapgears/geoext.ux/ux/LayerTreeBuilder/examples/tree-builder.html. And applied it to my application at http://saturn.nmt.edu/tests/test.html. All symbology in the layer tree displays correctly until I zoom into the "USGS Gauging Stations>Depth to water (ft)" layer until the labels display in the map. When the labels display the symbology in the tree disappears. This only happens when I apply formatting in the Geoserver sld to limit the decimal places to one, as follows: <Label> <ogc:Function name="numberFormat"> <ogc:Literal>#.#</ogc:Literal> <ogc:PropertyName>lev_va</ogc:PropertyName> </ogc:Function> </Label> If I remove the numberFormat portion: <Label> <ogc:PropertyName>lev_va</ogc:PropertyName> </Label> the layer tree symbol displays properly. However, the label displays all decimal places. Does anyone know how to correct this issue or is it recommend that I format the PostGIS data to one decimal place? Thanks, -- Andrew Parker _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
