[mapserver-commits] r12002 - branches/branch-6-0/docs/en/input/vector trunk/docs/en/input/vector

svn at osgeo.org svn at osgeo.org
Fri Aug 5 05:52:26 EDT 2011


Author: havatv
Date: 2011-08-05 02:52:25 -0700 (Fri, 05 Aug 2011)
New Revision: 12002

Modified:
   branches/branch-6-0/docs/en/input/vector/postgis.txt
   trunk/docs/en/input/vector/postgis.txt
Log:
Added using before unique in the postgis document (#3127)

Modified: branches/branch-6-0/docs/en/input/vector/postgis.txt
===================================================================
--- branches/branch-6-0/docs/en/input/vector/postgis.txt	2011-08-05 09:41:08 UTC (rev 12001)
+++ branches/branch-6-0/docs/en/input/vector/postgis.txt	2011-08-05 09:52:25 UTC (rev 12002)
@@ -73,7 +73,7 @@
   CONNECTION "dbname=yourdatabasename user=yourdbusername"
   DATA "the_geom from (select g.gid, g.the_geom, a.attr1, a.attr2 from
         geotable g join attrtable a on g.gid = a.aid) as subquery
-        unique gid using srid=4326"
+        using unique gid using srid=4326"
 
 This example shows using a geometry function and database sort to
 limit the number of features and vertices returned to MapServer:
@@ -84,7 +84,7 @@
   CONNECTION "dbname=yourdatabasename user=yourdbusername"
   DATA "the_geom from (select g.gid, ST_Simplify(g.the_geom, 10.0) as
         the_geom from geotable g order by ST_Area(g.the_geom) desc
-         limit 10) as subquery unique gid using srid=4326"
+        limit 10) as subquery using unique gid using srid=4326"
 
 This example shows the use of the !BOX! substitution string to
 over-ride the default inclusion of the map bounding box in the SQL. By
@@ -101,7 +101,7 @@
   CONNECTION "dbname=yourdatabasename user=yourdbusername"
   DATA "the_geom from (select g.gid, ST_Union(g.the_geom, 10.0) as
         the_geom from geotable g where ST_Intersects(g.geom,!BOX!)) as
-        subquery unique gid using srid=4326"
+        subquery using unique gid using srid=4326"
 
 
 OGRINFO Examples

Modified: trunk/docs/en/input/vector/postgis.txt
===================================================================
--- trunk/docs/en/input/vector/postgis.txt	2011-08-05 09:41:08 UTC (rev 12001)
+++ trunk/docs/en/input/vector/postgis.txt	2011-08-05 09:52:25 UTC (rev 12002)
@@ -73,7 +73,7 @@
   CONNECTION "dbname=yourdatabasename user=yourdbusername"
   DATA "the_geom from (select g.gid, g.the_geom, a.attr1, a.attr2 from
         geotable g join attrtable a on g.gid = a.aid) as subquery
-        unique gid using srid=4326"
+        using unique gid using srid=4326"
 
 This example shows using a geometry function and database sort to
 limit the number of features and vertices returned to MapServer:
@@ -84,7 +84,7 @@
   CONNECTION "dbname=yourdatabasename user=yourdbusername"
   DATA "the_geom from (select g.gid, ST_Simplify(g.the_geom, 10.0) as
         the_geom from geotable g order by ST_Area(g.the_geom) desc
-         limit 10) as subquery unique gid using srid=4326"
+        limit 10) as subquery using unique gid using srid=4326"
 
 This example shows the use of the !BOX! substitution string to
 over-ride the default inclusion of the map bounding box in the SQL. By
@@ -101,7 +101,7 @@
   CONNECTION "dbname=yourdatabasename user=yourdbusername"
   DATA "the_geom from (select g.gid, ST_Union(g.the_geom, 10.0) as
         the_geom from geotable g where ST_Intersects(g.geom,!BOX!)) as
-        subquery unique gid using srid=4326"
+        subquery using unique gid using srid=4326"
 
 
 OGRINFO Examples



More information about the mapserver-commits mailing list