On Wed, Oct 30, 2013 at 3:04 PM, Oehler, Philipp <
philipp.oeh...@isi.fraunhofer.de> wrote:
> Hi,****
>
> ** **
>
> I want to write a map created by Geotools to a SVG image using Apache
> Batik, as suggested here
>
> http://docs.geotools.org/latest/userguide.old/library/render/gtrenderer.html#svg
> ****
>
> and here****
>
> http://xmlgraphics.apache.org/batik/using/svg-generator.html****
>
> I set both the dependencies for gt-svg and the batik library.****
>
> ** **
>
> Unfortunately, the renderer freezes when calling *renderer.paint(svgGenerator,
> imageBounds, mapBounds);* see code below.****
>
> ** **
>
> When I step into the method, an exception is thrown at *
> java.util.concurrent.FutureTask:innerRunandReset()*
>
> after *labelCache.end(graphics, paintArea);* is called at *
> StreamingRenderer:854*
>
> and the thread freezes *at java.util.concurrent.ThreadPoolExecutor:1130.*
>
Something bad is happening in the renderer I guess. The renderer uses two
threads, one fetches the data,
the other paints it, it seems in your case an error breaks the
communication between the two threads.
Not sure what though, it's most likely dependent on your specific data and
usage.
The last change that affected communication between the two threads was
performed Feb 24 2013,
I believe 9.4 was released a few months after that...
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users