rchhe ha scritto: > Hello, I wrote about GML and labels previously > <http://www.nabble.com/Re%3A-Labeling-in-Geoserver-td22829430.html>. Is > there anyway through which I can control the placement of labels. Which > algorithm is being used to place labels now? I want to write a plugin in > Geoserver for optimum labeling. Could somebody please help me.
The code for labelling in not in GeoServer, it's in GeoTools, in the renderer module. Luckly labelling has an extension point, if you don't like the default placement you can write your own. Look for the org.geotools.renderer.lite.LabelCache interface and the org.geotools.renderer.lite.LabelCacheDefault implementation Out of curiousity, what kind of label placement algorithms are you planning to implement? Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
