Hi Andrea.
I created them all with the same gdal code and the same levels of
overviews:
i.e.:
gdal_translate -of GTiff -co "TILED=YES" -co "BIGTIFF=YES" -co
"COMPRESS=JPEG" -co "JPEG_QUALITY=50" -co "BLOCKXSIZE=512" -co
"BLOCKYSIZE=512" -a_srs "EPSG:27700" SP24_Colour.tif
f:/tiled/SP24_Colour.tif
gdaladdo -r average f:/tiled/SP24_Colour.tif 2 4 8 16 32 64 128 256
So they all have overviews and they all have the same SRS (27700).
However, because the rasters are all of different sizes, their overviews
are also of different sizes, even though they go down same the number of
levels.
So for example:
Files: SK00_Colour.tif
Size is 48000, 8000
...
Band 1 Block=512x512 Type=Byte, ColorInterp=Red
Overviews: 24000x4000, 12000x2000, 6000x1000, 3000x500, 1500x250,
750x125, 375x63, 188x32
Band 2 Block=512x512 Type=Byte, ColorInterp=Green
Overviews: 24000x4000, 12000x2000, 6000x1000, 3000x500, 1500x250,
750x125, 375x63, 188x32
Band 3 Block=512x512 Type=Byte, ColorInterp=Blue
Overviews: 24000x4000, 12000x2000, 6000x1000, 3000x500, 1500x250,
750x125, 375x63, 188x32
-----
Files: SK20_Colour.tif
Size is 104000, 96000
...
Band 1 Block=512x512 Type=Byte, ColorInterp=Red
Overviews: 52000x48000, 26000x24000, 13000x12000, 6500x6000, 3250x3000,
1625x1500, 813x750, 407x375
Band 2 Block=512x512 Type=Byte, ColorInterp=Green
Overviews: 52000x48000, 26000x24000, 13000x12000, 6500x6000, 3250x3000,
1625x1500, 813x750, 407x375
Band 3 Block=512x512 Type=Byte, ColorInterp=Blue
Overviews: 52000x48000, 26000x24000, 13000x12000, 6500x6000, 3250x3000,
1625x1500, 813x750, 407x375
Is it this? And if so, how do I use ImageMosaic with this dataset given my
source data is irregularly shaped?
Regards,
Jonathan
On 16 May 2013 19:09, Andrea Aime <[email protected]> wrote:
> On Thu, May 16, 2013 at 7:29 PM, Jonathan Moules <
> [email protected]> wrote:
>
>> Hi List,
>> I'm trying to use an ImageMosaic and I'm getting some really odd
>> behaviour.
>> - The Mosiac is made of GeoTiffs (inner tiled and overviews) which
>> GeoServer can serve fine as regular files.
>> - There are currently 8 items totalling 11GB (the other 20GB are still
>> processing). These items all have different shapes and sizes, but none
>> overlap and they're all part of one grid.
>> -I have the "Background Values" set to -9999 for nodata (it had a
>> black background before this).
>>
>
> A common case is either:
> * not having the overviews
> * having files with different native resolutions (check them with gdalinfo)
> * having files with different overviews, or at least one with none
>
> Cheers
> Andrea
>
> --
> ==
> GeoServer training in Milan, 6th & 7th June 2013! Visit
> http://geoserver.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
>
> -------------------------------------------------------
>
--
This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
authorised to receive it for the addressee) you may not copy or use it, or
disclose it to anyone else. If you have received this transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users