[mapserver-commits] r10098 - in trunk/docs/en: mapfile ogc

svn at osgeo.org svn at osgeo.org
Mon Apr 12 19:58:07 EDT 2010


Author: warmerdam
Date: 2010-04-12 19:58:05 -0400 (Mon, 12 Apr 2010)
New Revision: 10098

Modified:
   trunk/docs/en/mapfile/outputformat.txt
   trunk/docs/en/ogc/wcs_server.txt
Log:
describe new NULLVALUE/_rangeset_nullvalue support(#655,#1709)

Modified: trunk/docs/en/mapfile/outputformat.txt
===================================================================
--- trunk/docs/en/mapfile/outputformat.txt	2010-04-12 15:38:45 UTC (rev 10097)
+++ trunk/docs/en/mapfile/outputformat.txt	2010-04-12 23:58:05 UTC (rev 10098)
@@ -136,6 +136,10 @@
     - GDAL/\*: All FORMATOPTIONs are passed onto the GDAL create function. 
       Options supported by GDAL are described in the detailed documentation 
       for each GDAL format
+    - GDAL/\*: NULLVALUE=n is used in raw image modes (IMAGEMODE 
+      BYTE/INT16/FLOAT) to pre-initialize the raster and an attempt is made
+      to record this in the resulting file as the nodata value. This is
+      automatically set in WCS mode if rangeset_nullvalue is set. 
     - GD/PNG and AGG/PNG both support quantizing from 24/32 bits to 8bits,
       in order to reduce the final image size (and therefore save bandwidth) (see
       also http://trac.osgeo.org/mapserver/ticket/2436#comment:4 for strategies

Modified: trunk/docs/en/ogc/wcs_server.txt
===================================================================
--- trunk/docs/en/ogc/wcs_server.txt	2010-04-12 15:38:45 UTC (rev 10097)
+++ trunk/docs/en/ogc/wcs_server.txt	2010-04-12 23:58:05 UTC (rev 10098)
@@ -131,6 +131,7 @@
 	    "wcs_label"           "Elevation/Bathymetry"  ### required
 	    "wcs_rangeset_name"   "Range 1"               ### required to support DescribeCoverage request
 	    "wcs_rangeset_label"  "My Label"              ### required to support DescribeCoverage request 
+            "wcs_rangeset_nullvalue" "-65535"
 	  END
 	  TYPE RASTER ### required
 	  STATUS ON
@@ -510,6 +511,10 @@
 
 - *Description:* (Required for DescribeCoverage request)
 
+**wcs_rangeset_nullvalue**
+
+- *Description:* Used to establish the null value for the layer in the DescribeCoverage result.  It also sets the NULLVALUE item on the OUTPUTFORMAT object so that unitialized areas of the result will be set to this value, and where possible the returned file will have this value marked as nodata in metadata.
+
 **wcs_srs**
 
 - *Description:* (Optional) Spatial reference system of the layer, in the form of: EPSG:code (e.g. EPSG:42304)  



More information about the mapserver-commits mailing list