Joel Mirkin ha scritto:
> Hi,
> does anyone have any suggestions for increasing the rendering time for 
> StreamingRenderer? (Other than setting the renderer hint 
> optimizedDataLoadingEnabled to true).

Well, there are lots of way to _increase_ the rendering time. I would
try putting in parallel a thread that does random trigonometric operations
in a tight and endless loop for example :-p

If, more seriosly, you want to _decrease_ the rendering time, you may want
to disable antialiasing (don't remember if it's enabled by default):

RenderingHints hints = new RenderingHints(RenderingHints.KEY_ANTIALIASING, 
RenderingHints.VALUE_ANTIALIAS_OFF );
renderer.setJava2DHints(hints);

Also, if the dataset is small, try to preload it into memory by using:

Map rendererParams = new HashMap();
rendererParams.put("memoryPreloadingEnabled",new Boolean(true) );

If not, maybe you may want to try out another data format that performs better
than the one you're using, or, if you're using exclusively shapefiles, to use
the shapefile optimized renderer.

Cheers
Andrea Aime

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to