hello, I searching for a wait to translate GeoTools Styles to SLD files.
I have found : http://docs.codehaus.org/display/GEOTDOC/12+Render The exemple works for SLD > Style but on the other way I'm stuck : Style[] myStyles = .... //build a sld file StyledLayerDescriptor sld = CommonFactoryFinder. getStyleFactory(GeoTools.getDefaultHints()). createStyledLayerDescriptor(); //missing part <----- insert myStyles in the SLD //translate to xml string SLDTransformer styleTransform = new SLDTransformer(); try{ String xml = styleTransform.transform(sld); }catch(Exception e){ e.printStackTrace(); } If soneone knows how to do this. Thanks johann sorel ____________________________________________________________ Receive Notifications of Incoming Messages Easily monitor multiple email accounts & access them with a click. Visit http://www.inbox.com/notifier and check it out! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
