From: Regina Obe Date: Thu, 1 Oct 2009 20:37:33 +0000 (+0000) Subject: put in ST_Distance proto for geography so can test it. X-Git-Tag: 1.5.0b1~436 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=898a8fbaf2f27656ef0086c72737100e750e5031;p=postgis put in ST_Distance proto for geography so can test it. git-svn-id: http://svn.osgeo.org/postgis/trunk@4574 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index 1c6d40868..99762721f 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -10049,10 +10049,10 @@ SELECT ST_Disjoint('POINT(0 0)'::geometry, 'LINESTRING ( 0 0, 0 2 )'::geometry); ST_Distance - Returns the 2-dimensional cartesian minimum distance between two geometries in - projected units. + For geometry type Returns the 2-dimensional cartesian minimum distance between two geometries in + projected units. For geography type returns the spherical minimum distance between two geographies (in eventually meters). - + @@ -10064,6 +10064,15 @@ SELECT ST_Disjoint('POINT(0 0)'::geometry, 'LINESTRING ( 0 0, 0 2 )'::geometry); geometry g2 + + float ST_Distance + + geography + gg1 + + geography + gg2 + @@ -10071,7 +10080,7 @@ SELECT ST_Disjoint('POINT(0 0)'::geometry, 'LINESTRING ( 0 0, 0 2 )'::geometry); Description Returns the 2-dimensional minimum cartesian distance between two geometries in - projected units. + projected units. For geography type returns the minimum distance around spheroid between two geographies (in eventually meters).