On Tue, Nov 12, 2013 at 9:27 AM, Jonathan Moules <
jonathanmou...@warwickshire.gov.uk> wrote:

> Hi List,
> We've recently taken deliver of some aerial photography.
>
> As lossless GeoTIFFs, the RedGreenBlue data is *278GB*
> As a compressed JP2 file the data is *26GB* - the JP2 is almost as good
> as the GeoTIFFs and comes with pyramids built in.
>
> But for speed purposes with GeoServer I've created an imageMosaic of 13
> Jpeg compressed GeoTIFFs with overviews/tiles etc. This comes out at a
> massive *106GB* and the quality is worse than the JP2 file despite being
> four times the size.
>

Try something like this instead:

gdal_translate out.tiff in.tiff -co TILED=YES -co blockxsize=512 -co
blockysize=512 -co COMPRESS=JPEG -co JPEG_QUALITY=85 -co PHOTOMETRIC=YCBCR
gdaladdo out.tiff -r average --config COMPRESS_OVERVIEW JPEG --config
JPEG_QUALITY_OVERVIEW 85 --config INTERLEAVE_OVERVIEW PIXEL --config
PHOTOMETRIC_OVERVIEW YCBCR 2 4 8 16 32

Should give you much better quality, and still, a relatively low size (not
as small as JP2, but faster)

Cheres
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

-------------------------------------------------------
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to