Thanks Even.

I would guess that also other users who have both RGB+alpha and RGB+NIR images 
will appreciate these changes. At least for me it has been plain mystery when 
the fourth band appears as alpha and when as undefined, and how to change the 
interpretation despite using VRT.


-Jukka-

________________________________
Lähettäjä: Even Rouault <even.roua...@spatialys.com>
Lähetetty: 1. lokakuuta 2017 22:54
Vastaanottaja: gdal-dev@lists.osgeo.org
Kopio: Rahkonen Jukka (MML)
Aihe: Re: [gdal-dev] Gdal_edit and TIFFTAG_EXTRASAMPLES


Updates:



1) I've improved the GTiff driver to support updating color interpretation in 
udpate mode

2) I've improved gdal_edit to support a

-colorinterp_X red|green|blue|alpha|undefined option where X is the band number.

3) I've fixed "tiffset -s ExtraSamples 1 val" to work (the issue was specific 
to specifying just one value indeed)



Note that with libtiff when you change an existing tag, the file size will 
slightly increase each time you do a change.



Even



--

Spatialys - Geospatial professional services

http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to