[Qgis-user] Four band raster displaying funny

Jonathan Moules jonathanmoules at warwickshire.gov.uk
Mon Dec 2 03:53:10 PST 2013


Hi List,
I've got a 4 band raster aerial photography (RGBI) that comprises lots of
tiles. I've merged some of the tiles together with:

gdal_merge -o 1.tif -of GTiff -co TILED=YES -co BIGTIFF=YES -co
> COMPRESS=JPEG -co JPEG_QUALITY=50 -co BLOCKXSIZE=512 -co BLOCKYSIZE=512
> --optfile tiff_list.txt


But the resultant file looks funny in QGIS.
This is what the source file looks like (correct):
[image: Inline images 1]

This is what the merged file looks like (wrong):
[image: Inline images 2]

All the shadows are a whitey colour. This doesn't happen with 3-band (RGB)
images.
I've tried comparing individual bands; they all look different in the
4-band.

However, if I open the four-band in ArcGIS, it looks fine (both source and
original).

Anyone know what's going on? Is it a QGIS bug or is it doing something
"smart"; I can't see anything odd going on with symbology.

Thanks,
Jonathan

-- 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131202/64cef277/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 14658 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131202/64cef277/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13158 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131202/64cef277/attachment-0001.png>


More information about the Qgis-user mailing list