On Tue, Jan 15, 2013 at 9:35 PM, Ákos Maróy <a...@maroy.hu> wrote:

> by big, I mean for example rendering an area of about 550km x 350km at a
> scale of 1:500.000, with 600dpi or more - that is images of about 26.000
> x 16.000 pixels or more.
>

One simple observation about the problem, regardless of what technique
you use to generate the image, if you are going out with formats like
PNG or JPEG right before encoding the image will be fully stored in
memory, because both formats encoders want the entire data buffer
of the image.

The only format that can do tiled writing is TIFF as far as I know.

About the approach, another way is to create a JAI operation that
gets the MapContext as a parameter, and generates tiles on demand
by having the map context paint only the tile required at the moment.

That, coupled with a TIFF output, should work (no promises).

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

-------------------------------------------------------
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to