[mapserver-users] Mapserver 7.0 and NODATA setting

Andrea Peri aperi2007 at gmail.com
Mon Aug 17 07:11:28 PDT 2015


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.


2015-08-17 15:44 GMT+02:00 Rahkonen Jukka (MML)
<jukka.rahkonen at maanmittauslaitos.fi>:
> Hi,
>
> I have never seen this processing directive PROCESSING "NODATA=9999" before. Where is it documented?
>
> -Jukka Rahkonen-
>
> Andrea Peri wrote:
>
> Hi,
> I have a raster (flot64) with NODATA = -9999.
> I set in LAYER section the value
>
>     PROCESSING "NODATA=-9999"
>
> But the nodata portion are still visible (black) I guess it seem a bug in the NODATA code portion, but other thought are welcome.
>
> This is the section I have:
>
>   LAYER
>     EXTENT 142485 4505685 424815 4904415
>     MAXSCALEDENOM 5e+06
>     METADATA
>       "wms_extent"    "142485.0 4505685.0 424815.0 4904415.0"
>       "wms_title"    "Landsat - RGB - sensore LC8 strisciata 191 - Attuale"
>     END # METADATA
>     MINSCALEDENOM 1
>     NAME "rt_sat.LC8191.rt.attuale"
>     PROCESSING "NODATA=-9999"
>     PROCESSING "SCALE_3=0.106926710091,0.285584945751"
>     PROCESSING "SCALE_2=0.072185581267,0.25725963371"
>     PROCESSING "SCALE_1=0.0567421160237,0.258098917796"
>     PROCESSING "BANDS=4,3,2"
>     PROJECTION
>       "init=epsg:32633"
>     END # PROJECTION
>     STATUS OFF
>     TYPE RASTER
>     UNITS PIXELS
>
>
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



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


More information about the mapserver-users mailing list