[mapserver-users] Mapserver 7.0 and NODATA setting

Andrea Peri aperi2007 at gmail.com
Sun Sep 6 03:32:12 PDT 2015


Hi,

I have no success to find any info on the NODATA question in the
floating point raster.

Is this kind of raster suitable for use on mapserver ?

Thx.


2015-08-18 10:27 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
> HI,
>
> The question of NODATA processing command is not completelly clear afaik.
> Infact I found a patch from warmerdam:
>
> https://trac.osgeo.org/mapserver/ticket/2404
>
> Where it speak explicitly of a PROCESSING "NODATA" setting.
>
>>I would note that OFFSITE is still supported, and the usual PROCESSING "NODATA=OFF" >mechanism can be used to disable using GDAL level nodata.
>
> A.
>
>
> 2015-08-18 9:28 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
>> Hi,
>>
>> I have a clearly response from the log.
>>
>> The nodata is unsupported for this kind of rasters.
>>
>>> LoadGDALImage(rt_sat.LC8191.rt.attuale): NODATA value -9999 in GDAL
>>>file or PROCESSING directive largely ignored.  Not yet fully supported for
>>>unclassified scaled data.  The NODATA value is excluded from auto-scaling
>>>min/max computation, but will not be transparent.
>>
>> So I must found another solution for my rasters.
>>
>> Regards.
>>
>>
>>
>> 2015-08-18 9:08 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
>>> So my question is a little different.
>>>
>>> Seem that mapserver was not able to automatically understand the
>>> NODATA values of floating point rasters.
>>>
>>> In my usecase: the NODATA value is -9999.0
>>> I produce the catalog using gdaltindex, and apply the result to mapserver 7.
>>>
>>> The result is this:
>>>
>>> http://tinyurl.com/ndsdyr8
>>>
>>> The only partially solution I found was to set
>>> OFFSITE 0 0 0
>>> but it is acceptable for my usecase because the black color is a color
>>> really available inside the rasters and it is not usable as a
>>> transparent color.
>>>
>>> Is this an issue for mapserver 7 ?
>>>
>>> Thx,
>>>
>>> A.
>>>
>>>
>>>
>>> 2015-08-17 16:11 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
>>>> Hi Jukka.
>>>>
>>>> Perhaps you have right !
>>>>
>>>> The NODATA setting is an ancient setting that I reuse always in my
>>>> mapfiles but only now I notice that the mapserver document don't
>>>> report him.
>>>> So more probably it is a false setting.
>>>>
>>>> But , if the nodata setting dont exist, how say to the mapserver to
>>>> filter the nodata of a floating raster  ?
>>>>
>>>> Thx.
>>>>
>>>
>>>>> --
>>>>> -----------------
>>>>> Andrea Peri
>>>>> . . . . . . . . .
>>>>> qwerty àèìòù
>>>>> -----------------
>>>>> _______________________________________________
>>>>> mapserver-users mailing list
>>>>> mapserver-users at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>>
>>>>
>>>>
>>>> --
>>>> -----------------
>>>> Andrea Peri
>>>> . . . . . . . . .
>>>> qwerty àèìòù
>>>> -----------------
>>>
>>>
>>>
>>> --
>>> -----------------
>>> Andrea Peri
>>> . . . . . . . . .
>>> qwerty àèìòù
>>> -----------------
>>
>>
>>
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty àèìòù
>> -----------------
>
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the mapserver-users mailing list