From: Regina Obe Date: Mon, 2 Nov 2009 12:05:44 +0000 (+0000) Subject: minor corrections to ST_distance_sphere/spheroid descriptions X-Git-Tag: 1.5.0b1~315 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d353f4855e2d84369bcf16feda32fb5b7eff9a68;p=postgis minor corrections to ST_distance_sphere/spheroid descriptions git-svn-id: http://svn.osgeo.org/postgis/trunk@4717 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index b706b49f8..21700f7b9 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -10341,10 +10341,10 @@ The current implementation supports only vertices as the discrete locations. Thi ST_Distance_Sphere - Returns linear distance in meters between two lon/lat + Returns minimum distance in meters between two lon/lat geometries. Uses a spherical earth and radius of 6370986 meters. - Faster than , but less - accurate. Only implemented for points. + Faster than ST_Distance_Spheroid, but less + accurate. PostGIS versions prior to 1.5 only implemented for points. @@ -10363,9 +10363,9 @@ The current implementation supports only vertices as the discrete locations. Thi Returns minimum distance in meters between two lon/lat points. Uses a spherical earth and radius of 6370986 meters. Faster than , but less - accurate. Only implemented for points. + accurate. PostGIS Versions prior to 1.5 only implemented for points. - 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. + 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. Availability: 1.5 - support for other geometry types besides points was introduced. Prior versions only work with points. @@ -10402,9 +10402,9 @@ FROM ST_Distance_Spheroid - Returns linear distance between two lon/lat geometries given a + Returns the minimum distance between two lon/lat geometries given a particular spheroid. - Prior versions of PostGIS only support points. + PostGIS versions prior to 1.5 only support points. @@ -10421,11 +10421,11 @@ FROM Description - Returns linear distance in meters between two lon/lat + Returns minimum distance in meters between two lon/lat geometries given a particular spheroid. See the explanation of spheroids given for - . + . PostGIS version prior to 1.5 only support points. - 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. + 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. Availability: 1.5 - support for other geometry types besides points was introduced. Prior versions only work with points.