Hi it seems that sld import/export has some faults. According to an user's mail (I recived) it was not possible to load text symbology on a layer. While waiting a more complete info (and opening a bug ticket), I did some (partial) tests. This is what I found: - Save: vertex symbology from external image file is not saved into the xml file. The tag <sld:ExternalGraphic> is not recorded even if it is present into the layerstyle2sld.xsl file template - Load: vertex symbologies applied as ColorThemingStyle are decoded as multiple BasicStyle. Thus is not easy to apply a styling according to an attribute classification - Load: strangelly Labeling works fine. labels are located anyhow at the center of the geometry. - Load. ColorThemingStyle for polygon works only if user uses base fill colors. ColorThemingStyle for polygons with some fill patterns seems not working - Load both line color and line pattern seem to work. I remember years ago everyting seemed to work fine ( http://ojwiki.soldin.de/index.php?title=Import-Export_Layer_Style). I wonder if this is connecte external libraries.
Good news: the method new Java2XML().write(layer, "layer", stringWriter) controls the way to export style (both on project file and partially on sld file). I thing I will implement an alternative way to export/import style to file using this method. Best regards Peppe
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel