]> granicus.if.org Git - postgis/commitdiff
change references of the_geom and the_geog to geom and geog. "the" is so much wastef...
authorRegina Obe <lr@pcorp.us>
Wed, 9 Feb 2011 16:01:31 +0000 (16:01 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 9 Feb 2011 16:01:31 +0000 (16:01 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6791 b70326c6-7e19-0410-871a-916f4a2858ee

doc/using_postgis_app.xml

index 45b079714fd96604e50dd90e3aa5d5fba62db047..9bbd6cea9c9c1fa43f20bc2f6fca938a0da3b6b0 100644 (file)
@@ -242,7 +242,7 @@ postgis# VACUUM ANALYZE;</programlisting>
             the <varname>USING UNIQUE</varname> clause in your
             <varname>DATA</varname> line:</para>
 
-            <programlisting>DATA "the_geom FROM geotable USING UNIQUE gid"</programlisting>
+            <programlisting>DATA "geom FROM geotable USING UNIQUE gid"</programlisting>
 
           </answer>
         </qandaentry>
@@ -259,7 +259,7 @@ postgis# VACUUM ANALYZE;</programlisting>
             a "using srid=4326" clause in your <varname>DATA</varname> statement. Everything else 
             works exactly the same as with geometry.</para>
 
-            <programlisting>DATA "the_geog FROM geogtable USING SRID=4326 USING UNIQUE gid"</programlisting>
+            <programlisting>DATA "geog FROM geogtable USING SRID=4326 USING UNIQUE gid"</programlisting>
 
           </answer>
         </qandaentry>
@@ -280,9 +280,9 @@ postgis# VACUUM ANALYZE;</programlisting>
       SRID for the table. The <varname>USING</varname> clause can provide
       mapserver with these two pieces of information as follows:</para>
 
-      <programlisting>DATA "the_geom FROM (
+      <programlisting>DATA "geom FROM (
   SELECT 
-    table1.the_geom AS the_geom, 
+    table1.geom AS geom, 
     table1.oid AS oid, 
     table2.data AS data 
   FROM table1 
@@ -342,7 +342,7 @@ postgis# VACUUM ANALYZE;</programlisting>
   CONNECTIONTYPE postgis 
   NAME "roads"
   CONNECTION "user=theuser password=thepass dbname=thedb host=theserver" 
-  DATA "the_geom from roads" 
+  DATA "geom from roads" 
   STATUS ON 
   TYPE LINE 
   CLASS 
@@ -363,7 +363,7 @@ END</programlisting>
   CONNECTIONTYPE postgis 
   CONNECTION "user=theuser password=thepass dbname=thedb host=theserver" 
   PROCESSING "CLOSE_CONNECTION=DEFER"
-  DATA "the_geom from roads"
+  DATA "geom from roads"
   MINSCALE 100000 
   STATUS ON 
   TYPE LINE 
@@ -376,7 +376,7 @@ LAYER
   CONNECTIONTYPE postgis 
   CONNECTION "user=theuser password=thepass dbname=thedb host=theserver"
   PROCESSING "CLOSE_CONNECTION=DEFER"
-  DATA "the_geom from roads" 
+  DATA "geom from roads" 
   MAXSCALE 100000 
   STATUS ON 
   TYPE LINE
@@ -413,7 +413,7 @@ END</programlisting>
       <programlisting>LAYER 
   CONNECTIONTYPE postgis
   CONNECTION "user=theuser password=thepass dbname=thedb host=theserver" 
-  DATA "the_geom FROM (SELECT roads.oid AS oid, roads.the_geom AS the_geom, 
+  DATA "geom FROM (SELECT roads.oid AS oid, roads.geom AS geom, 
         road_names.name as name FROM roads LEFT JOIN road_names ON 
         roads.road_name_id = road_names.road_name_id) 
         AS named_roads USING UNIQUE oid USING SRID=-1"