This is one of those cases where the problem only seems to be complicated because of the available tools.
Not sure if this is heresy, but if I were you I'd consider writing a custom rendering class that implements GTRenderer and colours features with custom code rather than Styles. Seems simpler. Of course, if you need to render features from other layers in addition to the mesh then this suggestion won't be much use. Michael ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users