[mapserver-commits] r12580 - branches/branch-6-0/docs/en/ogc trunk/docs/en/ogc

svn at osgeo.org svn at osgeo.org
Sat Sep 24 15:13:24 EDT 2011


Author: havatv
Date: 2011-09-24 12:13:24 -0700 (Sat, 24 Sep 2011)
New Revision: 12580

Modified:
   branches/branch-6-0/docs/en/ogc/wfs_server.txt
   trunk/docs/en/ogc/wfs_server.txt
Log:
Added documentation on gml_constantsChant to the wfs_server documentation (#3562).

Modified: branches/branch-6-0/docs/en/ogc/wfs_server.txt
===================================================================
--- branches/branch-6-0/docs/en/ogc/wfs_server.txt	2011-09-24 16:30:23 UTC (rev 12579)
+++ branches/branch-6-0/docs/en/ogc/wfs_server.txt	2011-09-24 19:13:24 UTC (rev 12580)
@@ -527,6 +527,21 @@
 Layer Object
 ------------
 
+**gml_constants**
+  (Optional) A comma delimited list of constants.  This option allows
+  you to define data that are not part of the underlying dataset and
+  add them to the GML output.  Many application schemas require
+  constants of one form or another.  To specify the value and type of
+  the constants use gml_[item name]_value and gml_[item name]_type.
+
+  ::
+  
+    "gml_constants" "const1,const2"
+    "gml_const1_type" "Character"
+    "gml_const1_value" "abc"
+    "gml_const2_type" "Integer"
+    "gml_const2_value" "999"
+
 **gml_exclude_items**
 
 - *Description:* (Optional) A comma delimited list of items to
@@ -600,6 +615,9 @@
 - *Description:* (Optional) Specifies the type of the attribute.
   Valid values are Integer|Real|Character|Date|Boolean.
 
+**gml_[item name]_value**
+  Used to specify values for gml_constants.
+
 **gml_[item name]_width**
   (Optional) Specifies the width of the indicated field for formats
   where this is significant, such as Shapefiles.

Modified: trunk/docs/en/ogc/wfs_server.txt
===================================================================
--- trunk/docs/en/ogc/wfs_server.txt	2011-09-24 16:30:23 UTC (rev 12579)
+++ trunk/docs/en/ogc/wfs_server.txt	2011-09-24 19:13:24 UTC (rev 12580)
@@ -527,6 +527,21 @@
 Layer Object
 ------------
 
+**gml_constants**
+  (Optional) A comma delimited list of constants.  This option allows
+  you to define data that are not part of the underlying dataset and
+  add them to the GML output.  Many application schemas require
+  constants of one form or another.  To specify the value and type of
+  the constants use gml_[item name]_value and gml_[item name]_type.
+
+  ::
+  
+    "gml_constants" "const1,const2"
+    "gml_const1_type" "Character"
+    "gml_const1_value" "abc"
+    "gml_const2_type" "Integer"
+    "gml_const2_value" "999"
+
 **gml_exclude_items**
 
 - *Description:* (Optional) A comma delimited list of items to
@@ -600,6 +615,9 @@
 - *Description:* (Optional) Specifies the type of the attribute.
   Valid values are Integer|Real|Character|Date|Boolean.
 
+**gml_[item name]_value**
+  Used to specify values for gml_constants.
+
 **gml_[item name]_width**
   (Optional) Specifies the width of the indicated field for formats
   where this is significant, such as Shapefiles.



More information about the mapserver-commits mailing list