Hi Christian

I finally managed to get something working.  I had not added the new feature
type name ('GenRoads') to the FeatureTypeStyle for the pregeneralized shape
file.  The following two lines (added to the code that creates the line
style for the shape file) fixed the problem:

    featureTypeStyle.featureTypeNames().clear();
    featureTypeStyle.featureTypeNames().add(new NameImpl("GenRoads"));

Thanks,
Richard
-- 
View this message in context: 
http://n2.nabble.com/Shapefile-pregeneralization-tp4867089p4927363.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to