[mapserver-commits] r12523 - branches/branch-6-0/docs/en/cgi trunk/docs/en/cgi

svn at osgeo.org svn at osgeo.org
Tue Sep 6 15:37:54 EDT 2011


Author: havatv
Date: 2011-09-06 12:37:54 -0700 (Tue, 06 Sep 2011)
New Revision: 12523

Modified:
   branches/branch-6-0/docs/en/cgi/controls.txt
   trunk/docs/en/cgi/controls.txt
Log:
WKT option for CGI imageshape and mapsahape added to controls (#3185).

Modified: branches/branch-6-0/docs/en/cgi/controls.txt
===================================================================
--- branches/branch-6-0/docs/en/cgi/controls.txt	2011-09-06 19:06:52 UTC (rev 12522)
+++ branches/branch-6-0/docs/en/cgi/controls.txt	2011-09-06 19:37:54 UTC (rev 12523)
@@ -40,13 +40,17 @@
     The spatial extent of the existing inline image, that is, the image the 
     users can see in their browser.
 
-IMGSHAPE [x1 y1 x2 y2 x3 y3 ...]
-    Shape given in image coordinates.
+IMGSHAPE [x1 y1 x2 y2 x3 y3 ...] | [WKT]
+    An arbitrary polygon shape (specified using **image coordinates**)
+    to be used for query purposes.
 
-    An arbitrary polygon shape to be used for query purposes. Multiple 
-    instances simply add parts to the shape so it is possible to construct 
-    a shape with holes. Used with modes NQUERY and NQUERYMAP. 
+    The polygon is specified by listing its coordinates (multiple
+    instances simply add parts to the shape so it is possible to
+    construct a shape with holes) or by specifying the WKT (Well
+    Known Text) representation.
 
+    Used with modes NQUERY and NQUERYMAP. 
+
 IMGSIZE [cols] [rows]
     The size (in pixels) of the exiting inline image.
 
@@ -78,13 +82,17 @@
     The size (in pixels) of the image to be created. Useful for allowing users 
     to change the resolution of the output map dynamically.
 
-MAPSHAPE [x1 y1 x2 y2 x3 y3 ...]
-    Shape in map coordinates.
+MAPSHAPE [x1 y1 x2 y2 x3 y3 ...] | [WKT]
+    An arbitrary polygon shape (specified using **map coordinates**)
+    to be used for query purposes.
 
-    An arbitrary polygon shape to be used for query purposes. Multiple 
-    instances simply add parts to the shape so it is possible to construct a 
-    shape with holes. Used with modes NQUERY and NQUERYMAP.
+    The polygon is specified by listing its coordinates (multiple
+    instances simply add parts to the shape so it is possible to
+    construct a shape with holes) or by specifying a WKT (Well Known
+    Text) representation of the polygon.
 
+    Used with modes NQUERY and NQUERYMAP.
+
 MAPXY [x] [y] , MAPXY (shape)
     A point, in the same coordinate system as the shapefiles, to be used in 
     conjuction with a buffer or a scale to construct a map extent.

Modified: trunk/docs/en/cgi/controls.txt
===================================================================
--- trunk/docs/en/cgi/controls.txt	2011-09-06 19:06:52 UTC (rev 12522)
+++ trunk/docs/en/cgi/controls.txt	2011-09-06 19:37:54 UTC (rev 12523)
@@ -40,13 +40,17 @@
     The spatial extent of the existing inline image, that is, the image the 
     users can see in their browser.
 
-IMGSHAPE [x1 y1 x2 y2 x3 y3 ...]
-    Shape given in image coordinates.
+IMGSHAPE [x1 y1 x2 y2 x3 y3 ...] | [WKT]
+    An arbitrary polygon shape (specified using **image coordinates**)
+    to be used for query purposes.
 
-    An arbitrary polygon shape to be used for query purposes. Multiple 
-    instances simply add parts to the shape so it is possible to construct 
-    a shape with holes. Used with modes NQUERY and NQUERYMAP. 
+    The polygon is specified by listing its coordinates (multiple
+    instances simply add parts to the shape so it is possible to
+    construct a shape with holes) or by specifying the WKT (Well
+    Known Text) representation.
 
+    Used with modes NQUERY and NQUERYMAP. 
+
 IMGSIZE [cols] [rows]
     The size (in pixels) of the exiting inline image.
 
@@ -78,13 +82,17 @@
     The size (in pixels) of the image to be created. Useful for allowing users 
     to change the resolution of the output map dynamically.
 
-MAPSHAPE [x1 y1 x2 y2 x3 y3 ...]
-    Shape in map coordinates.
+MAPSHAPE [x1 y1 x2 y2 x3 y3 ...] | [WKT]
+    An arbitrary polygon shape (specified using **map coordinates**)
+    to be used for query purposes.
 
-    An arbitrary polygon shape to be used for query purposes. Multiple 
-    instances simply add parts to the shape so it is possible to construct a 
-    shape with holes. Used with modes NQUERY and NQUERYMAP.
+    The polygon is specified by listing its coordinates (multiple
+    instances simply add parts to the shape so it is possible to
+    construct a shape with holes) or by specifying a WKT (Well Known
+    Text) representation of the polygon.
 
+    Used with modes NQUERY and NQUERYMAP.
+
 MAPXY [x] [y] , MAPXY (shape)
     A point, in the same coordinate system as the shapefiles, to be used in 
     conjuction with a buffer or a scale to construct a map extent.



More information about the mapserver-commits mailing list