[gdal-dev] WMS bands - no color interpretation ?

Ari Jolma ari.jolma at gmail.com
Sat Sep 25 03:48:14 EDT 2010


On 09/24/2010 03:48 PM, Oyvind Idland wrote:
> Hi,
>
> i am fiddling around a bit with GDAL. I can successfully load GeoTIFF 
> files etc, but when trying with the WMS
> driver, something strange happens:
>
> Opening the example frmt_wms_onearth_global_mosaic.xml works fine. I 
> query for bands, and get 3.
> When calling band->GetColorInterpretation(), I get 0 (GCI_Undefined) 
> for all 3 bands.

I get 3, 4 and 5. I'm using the latest trunk. If something was broken, 
it is fixed now. Latest change (r19089) in wms/dataset.cpp is from Mar 
15 2010 with message "default color interpretation fro wms driver 
#3420". You've found the bug reported in ticket 3420, which is now fixed 
in trunk.

Ari

>
> I am using v. 1.7.2.
>
>
> -- Øyvind
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100925/fa9581ef/attachment.html


More information about the gdal-dev mailing list