Fixed mistake in FAQ example on radius searching.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Sat, 4 May 2002 23:08:05 +0000 (23:08 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Sat, 4 May 2002 23:08:05 +0000 (23:08 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@155 b70326c6-7e19-0410-871a-916f4a2858ee

doc/postgis.xml

index 2ffa516f42864c5d483e2e1be9080026eae186c2..688b401bfbeb267f07e88afca978edbbac6fb6ba 100644 (file)
@@ -284,7 +284,7 @@ FROM GEOTABLE
 WHERE 
   GEOM &amp;&amp; GeometryFromText('BOX3D(900 900,1100 1100)',-1)
 AND
-  Distance(GeometryFromText('POINT(1000 1000)',-1),GEOM);</programlisting></answer></qandaentry><qandaentry><question><para>How do I perform a coordinate reprojection as part of a query?</para></question><answer><para>To perform a reprojection, both the source and destination coordinate systems must be defined in the SPATIAL_REF_SYS table, and the geometries being reprojected must already have an SRID set on them.  Once that is done, a reprojection is as simple as referring to the desired destination SRID.</para><programlisting>SELECT Transform(GEOM,4269) FROM GEOTABLE;</programlisting></answer></qandaentry> 
+Distance(GeometryFromText('POINT(1000 1000)',-1),GEOM) < 100;</programlisting></answer></qandaentry><qandaentry><question><para>How do I perform a coordinate reprojection as part of a query?</para></question><answer><para>To perform a reprojection, both the source and destination coordinate systems must be defined in the SPATIAL_REF_SYS table, and the geometries being reprojected must already have an SRID set on them.  Once that is done, a reprojection is as simple as referring to the desired destination SRID.</para><programlisting>SELECT Transform(GEOM,4269) FROM GEOTABLE;</programlisting></answer></qandaentry> 
         </qandaset> 
   </chapter> 
   <chapter>