Hi, I see it, I can set a nodata value, but mapserver seem to ignore it. I was able to remove it from maps only setting the its color (white) to transparent.
Now I try the same dataset-vrt using qgis directly to have another point of view. 2015-09-07 13:18 GMT+02:00 Yves Jacolin <[email protected]>: > Andrea, > > Maybe you can have a look into VRT format where you can set up a NODATA value. > > Regards, > > Y. > On Sunday, September 06, 2015 12:32:12 Andrea Peri wrote: >> 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 <[email protected]>: >> > 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 <[email protected]>: >> >> 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 <[email protected]>: >> >>> 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 <[email protected]>: >> >>>> 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 >> >>>>> [email protected] >> >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >>>> >> >>>> -- >> >>>> ----------------- >> >>>> Andrea Peri >> >>>> . . . . . . . . . >> >>>> qwerty àèìòù >> >>>> ----------------- >> >>> >> >>> -- >> >>> ----------------- >> >>> Andrea Peri >> >>> . . . . . . . . . >> >>> qwerty àèìòù >> >>> ----------------- >> >> >> >> -- >> >> ----------------- >> >> Andrea Peri >> >> . . . . . . . . . >> >> qwerty àèìòù >> >> ----------------- >> > >> > -- >> > ----------------- >> > Andrea Peri >> > . . . . . . . . . >> > qwerty àèìòù >> > ----------------- > > -- > Responsable Formation et Support > Camptocamp France SAS > Savoie Technolac, BP 352 > 73377 Le Bourget du Lac, Cedex > Tel (France) : +33 4 58 48 20 43 (new !) > Tel (Suisse) : +41 21 619 10 43 > Mob. : +33 6 18 75 42 21 > Fax : 04 79 70 15 81 > Mail : [email protected] > http://www.camptocamp.com -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù ----------------- _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
