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 style object. 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 cannot figure out what I need to do to get this to work. I think I need to set up multiple styles and provide a query for each style but I just don't know where to start.
Any clues as to which objects I should be looking at would be much appreciated. Thank you. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
