Giuseppe Aruta wrote:

Hi,

> I did a test on Andreas' job about import/export SLD.

thanks, your efforts are appreciated here!

> These are the resaults:
> 
> a) OpenJUMP can easly open Kosmo SLD. It imports
> everything except fill type and halo.
> Sometimes it cannot import the correct position of the
> Text

Yes, the label placement elements of SLD are not used. I think in OpenJUMP you
cannot place labels in the same way as in SLD.

> 
> b) OpenJUMP opens uDig SLD but it doesn't import the
> correct fill colour (depends to syntax of SLD, see
> later). OK for text, text color, font and  and font
> dimension. 

Are you sure? When I'm testing your files, the fill colors seem to be imported
correctly. The only thing not supported are more complicated OGC expressions
(ie, something other that a literal or a ogc:Literal). Since OpenJUMP does not
support color theming in an arbitrary manner, implementing this would be
difficult.

> d) uDig doesn't import OpenJUMP SLD. 
> When I load in uDig a SLD file from OpenJUMP, the
> screen turns to white
> (I think this depends to different syntax of SLD
> files (open SLD with a text edirtor to see it)

You probably mean this, right?:

<CssParameter name="fill">#ffcc77</CssParameter>

versus

<CssParameter name="fill"><ogc:Literal>#ffcc77</ogc:Literal></CssParameter>

The example file on opengis.net
(http://schemas.opengis.net/sld/1.0.0/example-sld.xml) uses the syntax OpenJUMP
creates now, so I guess we're on the safe side ;-)

> You can see a better deatil on a EXCEL file attached
> to this mail. I also attached the shapefile I used for
> the test and the SLD files. (in TEST_ON_SLD.ZI(P))

Thanks for that, it's always nice to have more test data ;-)

Best regards, Andreas
-- 
l a t / l o n  GmbH
Aennchenstrasse 19           53177 Bonn, Germany
phone ++49 +228 18496-12     fax ++49 +228 1849629
http://www.lat-lon.de        http://www.deegree.org

-------------------------------------------------------
On June 17 is deegree day - Am 17. Juni ist deegree day
              http://deegree.org/deegreeday

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to