]> granicus.if.org Git - postgis/commitdiff
Fix mistakes in geography faq item.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 7 Dec 2009 15:56:34 +0000 (15:56 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 7 Dec 2009 15:56:34 +0000 (15:56 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4991 b70326c6-7e19-0410-871a-916f4a2858ee

doc/using_postgis_app.xml

index 42a8e6996c6011e2ee1e50e1d6350c22e8a4af1e..45b079714fd96604e50dd90e3aa5d5fba62db047 100644 (file)
@@ -256,14 +256,10 @@ postgis# VACUUM ANALYZE;</programlisting>
           <answer>
             <para>Yes! MapServer understands geography columns as being the same as 
             geometry columns, but always using an SRID of 4326. Just make sure to include
-            a "using srid=4326" clause in your <varname>DATA</varname> statement and. Everything else 
-            works exactly the same as for geometry.</para>
+            a "using srid=4326" clause in your <varname>DATA</varname> statement. Everything else 
+            works exactly the same as with geometry.</para>
 
-            <para>You can specify what unique key for mapserver to use with
-            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 "the_geog FROM geogtable USING SRID=4326 USING UNIQUE gid"</programlisting>
 
           </answer>
         </qandaentry>