and further to my example, the gaps and black areas started appearing
after GeoServer upgrade to 2.1.1 which I did just after a Java upgrade
to 1.6.0_26 (on Ubuntu 64-bit server 10.04 LTS).

If I try to revert to 2.1.0, Geoserver starts then crashes (I thought it
should revert easily back to previous minor version?) so I've had to go
back to 2.1.1. 

This is how I generated the images that go into my ImageMosaic, which
was working in 2.1.0 on previous Java version, so I doubt it's a
projection problem:

gdalwarp -s_srs "+proj=tmerc +lat_0=0 +lon_0=19 +k=1 +x_0=0 +y_0=0
+ellps=WGS84 +datum=WGS84 +units=m +no_defs" -t_srs "EPSG:3857" -r cubic
-multi  -tr 0.5 0.5 -of GTiff file_a /tmp/file_b

then

gdal_translate -co "TILED=YES" -co "COMPRESS=JPEG"  -co
"PHOTOMETRIC=YCBCR" -co "JPEG_QUALITY=75" -projwin ulx uly lrx
lry /tmp/file_b file_c

then

gdaladdo -r average --config COMPRESS_OVERVIEW JPEG --config
PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL file_c 2 4
8 16 32 64



On Tue, 2011-08-09 at 05:44 -0700, AndyC wrote:

> For further infomation I have also tried the following; Converting jpg
> to tiff files, creating new .tfw files and gdal_translate to geotiff
> with the same gaps appearing. Adding full projection information to
> the geotiffs eg; gdal_translate -of GTiff -a_srs "+proj=tmerc
> +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000
> +ellps=airy +datum=OSGB36 +units=m +no_defs" -co TILED=YES -co
> COMPRESS=JPEG OSIM_TV4299.jpg OSIM_TV4299.tif but with the same gaps
> appearing as well. This one has me stumped but I have the feeling that
> it is projection related. 
> 
> ______________________________________________________________________
> View this message in context: Re: Image Mosaic & Gaps
> Sent from the GeoServer - User mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model 
> configuration take the hassle out of deploying and managing Subversion and 
> the tools developers use with it. Learn more about uberSVN and get a free 
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
regards

Gavin

Gavin Fleming
http://afrispatial.co.za
t: 0218620670
c: 0845965680
f: 0866164820 


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to