I can be more accurate on { ColorThemingStyle for polygons with some fill patterns seems not working} Polygon fill pattern are samples are saved as temp image files like "ojp5731593574799380314pti.png" On saving to SLD file the relative path of the file is saved as tag (in windows) <OnlineResource xlink:type="simple" xlink:href="file:/C:/Users/<Urer>/AppData/Local/Temp/ jp5731593574799380314pti.png "/> When I try to load, the SLD import cannot recognize it and throws an error message in the log file (An ogc:filter could not be found while trying to parse a color theming style). Peppe
Il giorno ven 23 nov 2018 alle ore 16:24 Giuseppe Aruta < giuseppe.ar...@gmail.com> ha scritto: > 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