From 065a716fde2c5e4ec4d42f3eae591ac0ee91965c Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Tue, 22 Sep 2009 21:14:26 +0000 Subject: [PATCH] start putting in geography functions git-svn-id: http://svn.osgeo.org/postgis/trunk@4528 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference.xml | 45 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/doc/reference.xml b/doc/reference.xml index f6813bc8e..8db58c73d 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -1125,6 +1125,30 @@ probed:6 inserted:0 conflicts:6 stale:0 , + + + + ST_GeographyFromText + Return a specified geography value from Well-Known Text representation or extended (WKT). + + + + + geography ST_GeographyFromText + text EWKT + + + + + Description + Returns a geography object from the well-known text representation. SRID 4326 is assumed. + + + + See Also + + + @@ -1335,7 +1359,6 @@ SELECT ST_GeomFromEWKT('CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 15 , , - ST_GeometryFromText @@ -7009,7 +7032,7 @@ CREATE INDEX idx_the_geom_26986_parcels ST_AsBinary - Return the Well-Known Binary (WKB) representation of the geometry without SRID meta data. + Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data. @@ -7018,6 +7041,10 @@ CREATE INDEX idx_the_geom_26986_parcels bytea ST_AsBinary geometry g1 + + text ST_AsText + geography g1 + bytea ST_AsBinary geometry g1 @@ -7039,8 +7066,10 @@ CREATE INDEX idx_the_geom_26986_parcels The WKB spec does not include the SRID. To get the OGC WKB with SRID format use ST_AsEWKB - ST_AsBinary is the reverse of . Use to convert to a postgis geometry from ST_AsBinary representation. + ST_AsBinary is the reverse of for geometry. Use to convert to a postgis geometry from ST_AsBinary representation. + + Availability: 1.5 geography support was introduced. @@ -7741,7 +7770,7 @@ SELECT ST_GeoHash(ST_SetSRID(ST_MakePoint(-126,48),4326),5); ST_AsText - Return the Well-Known Text (WKT) representation of the geometry without SRID metadata. + Return the Well-Known Text (WKT) representation of the geometry/geography without SRID metadata. @@ -7750,13 +7779,17 @@ SELECT ST_GeoHash(ST_SetSRID(ST_MakePoint(-126,48),4326),5); text ST_AsText geometry g1 + + text ST_AsText + geography g1 + Description - Returns the Well-Known Text representation of the geometry. + Returns the Well-Known Text representation of the geometry/geography. The WKT spec does not include the SRID. To get the SRID as part of the data, use the non-standard @@ -7768,6 +7801,8 @@ SELECT ST_GeoHash(ST_SetSRID(ST_MakePoint(-126,48),4326),5); ST_AsText is the reverse of . Use to convert to a postgis geometry from ST_AsText representation. + + Availability: 1.5 - support for geography was introduced. -- 2.49.0