Hi,
I just figured out that If I add the sld: prefix to the osm sld files, I can
style my features in udig (and probably geoserver). So if geotools can read an
sld file that does not have the sld: prefixes, then I can write a simple
program that reads the osm sld file then writes it out as a file again. This
time around with the sld: prefix option set to true. The new file should be
compatible with geoserver/udig.
I would appreciate sample code on how to do this.
Cheers,
Roman
--- On Thu, 8/4/11, Roman Isitua <[email protected]> wrote:
From: Roman Isitua <[email protected]>
Subject: Reading osm sld files using geotools
To: "geotools user mailing list" <[email protected]>
Date: Thursday, August 4, 2011, 1:55 AM
Hello,
I have a bunch of osm sld files. I noticed that some elements like Rule, Name
do not have the sld prefix in front of them i.e. sld: I will like to ask if I
can use geotools to read such files.
When the sld files are loaded to geoserver. Geoserver fails to render the
features probably because it is not able to read files correctly.
Cheers,
Roman.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users