Dear All

I have a road network shape file and i am showing this shape file using
geotools, i have one column in that .dbf file which is road name("NAME"), i
want to put the label on that shape file while viewing in my GUI...i am
using TextSymbolizer object to show the labels ,below is the line of that
code...

TextSymbolizer tsArch = sb.createTextSymbolizer(Color.BLACK, font, "NAME");

then i am adding this to style object..and try to see the shape file...it
shows me following error msg:::

""
NAME is not there in stated schema

""

Plz help me in this regard,

sushil

--
View this message in context: 
http://www.nabble.com/show-labels-t1160919.html#a3047102
Sent from the geotools-devel forum at Nabble.com.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to