]> granicus.if.org Git - postgis/commitdiff
minor corrections to ST_distance_sphere/spheroid descriptions
authorRegina Obe <lr@pcorp.us>
Mon, 2 Nov 2009 12:05:44 +0000 (12:05 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 2 Nov 2009 12:05:44 +0000 (12:05 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4717 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference.xml

index b706b49f8a3ebc933a20c1e3f895ce2849ad1382..21700f7b9c63f2776d3abd075cfdf32639376926 100644 (file)
@@ -10341,10 +10341,10 @@ The current implementation supports only vertices as the discrete locations. Thi
          <refnamediv>
                <refname>ST_Distance_Sphere</refname>
 
-               <refpurpose>Returns linear distance in meters between two lon/lat
+               <refpurpose>Returns minimum distance in meters between two lon/lat
                                geometries. Uses a spherical earth and radius of 6370986 meters.
-                               Faster than <xref linkend="ST_Distance_Spheroid"/>, but less
-                               accurate. Only implemented for points.</refpurpose>
+                               Faster than <xref linkend="ST_Distance_Spheroid">ST_Distance_Spheroid</xref>, but less
+                               accurate. PostGIS versions prior to 1.5 only implemented for points.</refpurpose>
          </refnamediv>
 
          <refsynopsisdiv>
@@ -10363,9 +10363,9 @@ The current implementation supports only vertices as the discrete locations. Thi
                <para>Returns minimum distance in meters between two lon/lat
                                points. Uses a spherical earth and radius of 6370986 meters.
                                Faster than <xref linkend="ST_Distance_Spheroid"/>, but less
-                               accurate. Only implemented for points.</para>
+                               accurate. PostGIS Versions prior to 1.5 only implemented for points.</para>
                <note>
-                       <para>This function currently does not look at the SRID of a point geometry and will always assume its in WGS 80 long lat. Prior versions of this function only support points.</para>
+                       <para>This function currently does not look at the SRID of a geometry and will always assume its in WGS 84 long lat. Prior versions of this function only support points.</para>
                </note>
                
                <para>Availability: 1.5 - support for other geometry types besides points was introduced. Prior versions only work with points.</para>
@@ -10402,9 +10402,9 @@ FROM
          <refnamediv>
                <refname>ST_Distance_Spheroid</refname>
 
-               <refpurpose>Returns linear distance between two lon/lat geometries given a
+               <refpurpose>Returns the minimum distance between two lon/lat geometries given a
                        particular spheroid.
-                       Prior versions of PostGIS only support points.</refpurpose>
+                       PostGIS  versions prior to 1.5 only support points.</refpurpose>
          </refnamediv>
 
          <refsynopsisdiv>
@@ -10421,11 +10421,11 @@ FROM
          <refsection>
                <title>Description</title>
 
-               <para>Returns linear distance in meters between two lon/lat
+               <para>Returns minimum distance in meters between two lon/lat
                                geometries given a particular spheroid. See the explanation of spheroids given for
-                       <xref linkend="ST_Length_Spheroid" />.</para>
+                       <xref linkend="ST_Length_Spheroid" />. PostGIS version prior to 1.5 only support points.</para>
                <note>
-                       <para>This function currently does not look at the SRID of a point geometry and will always assume its in WGS 80 long lat. Prior versions of this function only support points.</para>
+                       <para>This function currently does not look at the SRID of a geometry and will always assume its in WGS 80 long lat. Prior versions of this function only support points.</para>
                </note>
                
                <para>Availability: 1.5 - support for other geometry types besides points was introduced. Prior versions only work with points.</para>