Hi Andrea
Taking a quick look at the streamingrender leads to 2 questions
1)
If the feature source supports both hints (which is ok), you pass both of
them to the feature source.
What are you exepecting, best fit geometries or already simplified
geometries. When quering features you can use only one of our 3 hints.
I think the code sequence
if(fsHints.contains(Hints.GEOMETRY_DISTANCE))
hints.put(Hints.GEOMETRY_DISTANCE, distance);
if(fsHints.contains(Hints.GEOMETRY_SIMPLIFICATION))
hints.put(Hints.GEOMETRY_SIMPLIFICATION, distance);
should be
if(fsHints.contains(Hints.GEOMETRY_SIMPLIFICATION))
hints.put(Hints.GEOMETRY_SIMPLIFICATION, distance);
else if(fsHints.contains(Hints.GEOMETRY_DISTANCE))
hints.put(Hints.GEOMETRY_DISTANCE, distance);
2) If the feature source supports Hints.GEOMETRY_SIMPLIFICATION it seems
that you do your own decimation again, but the the geometries are already
simplified. I did not see a line of code where you are preventing decimation
in this case.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel