From: Regina Obe Date: Sun, 1 Nov 2009 22:31:05 +0000 (+0000) Subject: amend doc for st_distance_sphere, st_distance_spheroid to reflect expanded support. X-Git-Tag: 1.5.0b1~316 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32bdb628f7b7a7e2058e4b3a3159531a870c9e5e;p=postgis amend doc for st_distance_sphere, st_distance_spheroid to reflect expanded support. git-svn-id: http://svn.osgeo.org/postgis/trunk@4716 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index c9d37a24a..b706b49f8 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -10342,7 +10342,7 @@ The current implementation supports only vertices as the discrete locations. Thi ST_Distance_Sphere Returns linear distance in meters between two lon/lat - points. Uses a spherical earth and radius of 6370986 meters. + geometries. Uses a spherical earth and radius of 6370986 meters. Faster than , but less accurate. Only implemented for points. @@ -10351,8 +10351,8 @@ The current implementation supports only vertices as the discrete locations. Thi float ST_Distance_Sphere - geometry pointlonlatA - geometry pointlonlatB + geometry geomlonlatA + geometry geomlonlatB @@ -10360,13 +10360,15 @@ The current implementation supports only vertices as the discrete locations. Thi Description - Returns linear distance in meters between two lon/lat + 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. - This function currently does not look at the SRID of a point geometry and will always assume its in WGS 80 long lat. + 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. + + Availability: 1.5 - support for other geometry types besides points was introduced. Prior versions only work with points. @@ -10400,17 +10402,17 @@ FROM ST_Distance_Spheroid - Returns linear distance between two lon/lat points given a + Returns linear distance between two lon/lat geometries given a particular spheroid. - Currently only implemented for points. + Prior versions of PostGIS only support points. float ST_Distance_Spheroid - geometry pointlonlatA - geometry pointlonlatB + geometry geomlonlatA + geometry geomlonlatB spheroid measurement_spheroid @@ -10420,11 +10422,13 @@ FROM Description Returns linear distance in meters between two lon/lat - points given a particular spheroid. See the explanation of spheroids given for + geometries given a particular spheroid. See the explanation of spheroids given for . - This function currently does not look at the SRID of a point geometry to determine spheroid and will always assume points are along the spheroid given. + 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. + + Availability: 1.5 - support for other geometry types besides points was introduced. Prior versions only work with points.