Hi,

I'm new to Java and new to GeoTools. I've managed to load a shapefile into a 
layer and can display it using the StyledMapPane. 
I can alter the colour of all of the polygons in that layer by replacing the 
layer's style object.
What I want to do is to change the colour of one of the polygons in the layer. 

I have added a field in the shapefile table called "colour" which is an integer 
which will signify what colour a particular polygon should be drawn in. The 
problem is I just can't figure out what I need to do to get this to work. 

Could someone please tell me which classes I should be looking at, or point me 
at some sample code?

Thank you very much,

Regards,

Steve Borg



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to