Hi list !

I use StreamingRenderer to generate fixed-size images (500/500px)
which are cached in an H2 database and updated when needed. It works
well, but performances are random. I searched low code and all is
around StreamingRenderer.

On an empty feature layer, first images are produced in 50 or 100ms
but with just 30 or 40 features it go up to 4 seconds (sometimes 20
seconds) for each small picture (500 x 500px)

However, raster data is displayed on background in the same time in
just 20 or 50 ms. And this data is extracted from H2 database too.

I think the only weird thing in my code is that the coordinates are a
bit fanciful (like in a CAD) with points like 172/190 2000/2100, ...
but I am using the GENERIC_2D CRS.

I tried to play on Rendering Hints without success. I tried in debug
mode and without, nothing changed. I usually run OpenJDK 1.8 but I
tried on Oracle 1.8, it seems a bit better but it is always about 2s.

Someone know how can I fix that ? Thanks for your help !

-- 




***

Rémi PACE

http://remi-pace.fr
https://github.com/remipassmoilesel

Photographie:
http://toutes-les-bulles-eclatent.fr

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to