[Qgis-developer] No data value in raster transparency list

Etienne Tourigny etourigny.dev at gmail.com
Thu Aug 23 05:08:31 PDT 2012


I also find it puzzling that the data type changes (say from byte to
int). I understand that it is needed to have a nodata value when none
is given, but it would be nice to hide this from the user as well.

Etienne

On Thu, Aug 23, 2012 at 9:05 AM, Radim Blazek <radim.blazek at gmail.com> wrote:
> On Wed, Aug 22, 2012 at 6:13 PM, Etienne Tourigny
> <etourigny.dev at gmail.com> wrote:
>> On Wed, Aug 22, 2012 at 1:11 PM, Bob and Deb <bobdebm at gmail.com> wrote:
>>> I've seen nodata with huge float32 values.  Unfortunately they are rendered
>>> in qgis and I can not make them transparent by adding the value to the
>>> transparency list.
>>
>> that's because gdal provider chooses a nodata value that is out of the
>> range of "real" values, when file does not contain a nodata value.
>
> Yes. I agree that it is confusing for users. I would like to hide from
> users those internal nodata values, removing it from the transparency
> list is one step.
>
> Radim
>
>>> On Aug 22, 2012 8:56 AM, "Giovanni Manghi" <giovanni.manghi at faunalia.pt>
>>> wrote:
>>>>
>>>> It isn't the only odd thing/bug with nulls and transparency. For example
>>>> not always nulls are rendered transparent and when you try to add them to
>>>> the transparency list the entry is added as 0 instead.
>>>>
>>>> On Aug 22, 2012 4:49 PM, "Radim Blazek" <radim.blazek at gmail.com> wrote:
>>>> >
>>>> > Hi,
>>>> > does anybody know why raster no data value is automatically added to
>>>> > transparency list in properties dialog? It makes no sense IMO. No data
>>>> > values are always rendered as transparent, no need to define them also
>>>> > in transparent list.
>>>> >
>>>> > Radim
>>>> > _______________________________________________
>>>> > Qgis-developer mailing list
>>>> > Qgis-developer at lists.osgeo.org
>>>> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>
>>>>
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list