Hi Luong,

I've moved your question to the users' list...

>     i am going through this tutorial
> http://docs.codehaus.org/display/GEOTDOC/SLD+XML+Support and wanted to know
> if org.geotools.xml.Configuration = new org.geotools.sld.SLDConfiguration();
> org.geotools.xml.Parser parser = new org.geotools.xml.Parser( configuration
> );
>
> was out of date, because i'm attempting to display the road names from my
> .dbf file with the help of my .sld file but everytime i use the code lines,
> i get an error saying class not found. I also manuallly installed
> gt2-xml-sld and gt-xml so it can recognise it but i keep getting the same
> error. Am i missing any other jar files for this or have i lost the plot?

I've edited the code example on that page to make it a little clearer
(I hope).  Please try it now.

Regarding dependencies: for that example you only need to specify the
gt-xsd-sld in your pom.xml. Maven will automagically round up the
other required dependencies for you.

Hope this helps

Michael

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to