Hello Jonathan,
I merged all the files in one huge BIGTIFF image (700000 x 656000) and it came
out perfect with no gaps, lines or distortions. The problem with this approach
is that I tried to create overviews for the image and it took 4 continuous days
of gdaladdo running without any progress until I had to cancel the gdaladdo
operation.
So, what I am saying is, the original images don't have gaps or no data in
them. I am suspecting that the problem occurs because of gdaladdo. I have
tested on smaller images, with and without overviews and the images that have
no overviews came perfect with no lines or gaps!
Any ideas, tips or suggestions on other options or alternatives methods to
creating overviews by gdaladdo?
//Ammar
________________________________
From: Jonathan Moules <[email protected]>
To: Ammar <[email protected]>; [email protected]
Sent: Tuesday, January 14, 2014 12:17 PM
Subject: Re: [Geoserver-users] White lines in merged GeoTIFF files after
ImageMosaicing
Hi Ammar.
Please keep the discussion on-list, that way prospectively others can help too.
If the data does it in QGIS too then it's almost certainly a no-data issue. I
can't suggest how to resolve that as I don't know anything about your dataset.
Regards,
Jonathan
On 14 January 2014 11:10, Ammar <[email protected]> wrote:
Jonathan,
>
>First, I am really sorry about the last name thing. Probably I was working
>like a mule at the time I created the post.
>
>When I load the files directly into QGIS, I get the same white lines and
>distortions. When zooming in, the lines disappear at certain levels then after
>zooming in more, I get them back! It is like they are coming and going. The
>thing is, the lines happen exactly at the borders of each of the 21 merged
>Images!
>
>Any ideas?
>
>Regards,
>Ammar
>
>
>
>
>
>
>________________________________
> From: Jonathan Moules <[email protected]>
>To: Ammar <[email protected]>
>Cc: "[email protected]"
><[email protected]>
>Sent: Monday, January 13, 2014 4:44 PM
>Subject: Re: [Geoserver-users] White lines in merged GeoTIFF files after
>ImageMosaicing
>
>
>
>Hi Ammar,
>The commands that I used are: (recommended by Jonathan Mule)
>That's an original spelling of my last name. ;-)
>
>
>Do the images mosaic together neatly in something like QGIS when loaded as
>separate files? There may be whitespace as Alessio says. Does the whitespace
>appear/disappear as you zoom in/out?
>Cheers,
>Jonathan
>
>
>
>On 12 January 2014 18:31, Ammar <[email protected]> wrote:
>
>Dear list,
>>
>>
>>I have merged 21 GeoTIFF images using GDAL utilities. Each image is the
result of merging 500 smaller tiles. I am using ImageMosaic in Geoserver but I
am getting a mosaic that contains white lines
>>
>>
>>
>>What could be the reason behind having those white lines?
>>
>>
>>The commands that I used are: (recommended by Jonathan Mule)
>>
>>
>>
>>
>>
>>gdalbuildvrt -srcnodata 255 -vrtnodata 255 -a_srs EPSG:27700 -input_file_list
>>tiff_list.txt mosaic.vrt
>>
>>
>>
>>gdal_translate -of GTiff -co TILED=YES -co BIGTIFF=YES -co COMPRESS=JPEG -co
JPEG_QUALITY=80 -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co
PHOTOMETRIC=YCBCR mosaic.vrt mosaic.tif
>>
>>
>>
>>gdaladdo mosaic.tif -r average --config COMPRESS_OVERVIEW JPEG --config
>>JPEG_QUALITY_OVERVIEW 60 --config
INTERLEAVE_OVERVIEW PIXEL --config PHOTOMETRIC_OVERVIEW YCBCR 2 4 8 16
32 64 128 256 512
>>
>>
>>Thank you in advance
>>
>>//Ammar
>>_______________________________________________
>>gdal-dev mailing list
>>[email protected]
>>http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>>
>>------------------------------------------------------------------------------
>>CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>>Learn Why More Businesses Are Choosing CenturyLink Cloud For
>>Critical Workloads, Development Environments & Everything In Between.
>>Get a Quote or Start a Free Trial Today.
>>http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>>_______________________________________________
>>Geoserver-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>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.
>
>
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.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users