Re: [gdal-dev] Possible bug in gdaldem color-relief, zero always transparent

2010-02-25 Thread Matt Williamson
Rouault wrote: > Hum, then I have no clue. Yes I tested with a dataset with zeros. > > You can file a ticket on Trac with the dataset and the .clr file attached, > provided that the dataset is not too big (no more than 1 MB). Otherwise, > you'll have to provide a link to the da

Re: [gdal-dev] Possible bug in gdaldem color-relief, zero always transparent

2010-02-23 Thread Matt Williamson
s > really those, and they are not an artifact of pasting into the email, then > this is the cause of your issue, as the parser only supports spaces, > tabulations, commas or colons. When fixing the clr file, I get expected > results. > > Le Tuesday 23 February 2010 20:12:14

[gdal-dev] Possible bug in gdaldem color-relief, zero always transparent

2010-02-23 Thread Matt Williamson
Hello List, I may have encountered a bug in gdaldem color-relief. When I use it to apply a color map to a GeoTIFF band that has positive and negative and zero values, the zero pixels are always translated as having alpha 0, even if the color map file explicitly states zero values should be opaq