From: Regina Obe Date: Mon, 4 Aug 2008 11:50:16 +0000 (+0000) Subject: Moved over ST_SRID, fixed a typo, added some references X-Git-Tag: 1.4.0b1~787 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ad5ab72fa3cbe2f6815d50ea82352fe8c160741;p=postgis Moved over ST_SRID, fixed a typo, added some references git-svn-id: http://svn.osgeo.org/postgis/trunk@2915 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index 1d0710f89..fa25f65eb 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -277,17 +277,6 @@ Geometry Accessors - - ST_SRID(geometry) - - - Returns the integer SRID number of the spatial reference - system of the geometry. - - OGC SPEC s2.1.1.1 - - - ST_Dimension(geometry) @@ -2335,17 +2324,6 @@ WHERE n*100.00/length < 1; - - ST_SRID - - - Return the spatial reference system identifier of the - ST_Geometry value. - - SQL-MM 3: 5.1.5 - - - ST_StartPoint diff --git a/doc/reference_new.xml b/doc/reference_new.xml index d701a4b9b..981cef2d1 100644 --- a/doc/reference_new.xml +++ b/doc/reference_new.xml @@ -1242,7 +1242,7 @@ SELECT ST_GeomFromText('MULTIPOLYGON(((-71.1031880899493 42.3152774590236, See Also - , + , , @@ -1302,16 +1302,11 @@ SELECT userpoints.id, ST_MakeLine(startpoint, endpoint) As drawn_line FROM userpoints ; - - - ST_MakePoint(<x>, <y>, [<z>], - [<m>]) - - - Creates a 2d,3dz or 4d point geometry. - - - + + See Also + , + + ST_MakePoint @@ -1914,6 +1909,59 @@ POINT(1 2) + + + ST_SRID + Returns the spatial reference identifier for the ST_Geometry as defined in spatial_ref_sys table. + + + + + + integer ST_SRID + geometry g1 + + + + + + Description + + Returns the spatial reference identifier for the ST_Geometry as defined in spatial_ref_sys table. + spatial_ref_sys + table is a table that catalogs all spatial reference systems known to PostGIS and is used for transformations from one spatial + reference system to another. So verifying you have the right spatial reference system identifier is important if you plan to ever transform your geometries. + + + + + This method implements the OpenGIS Simple Features + Implementation Specification for SQL. + OGC SPEC s2.1.1.1 + + + + + + This method implements the SQL/MM specification: + SQL-MM 3: 5.1.5 + + + + Examples + + SELECT ST_SRID(ST_GeomFromText('POINT(-71.1043 42.315)',4326)); + --result + 4326 + + + + See Also + + , , + + @@ -2132,7 +2180,7 @@ LINESTRING(1 2,1 10) | LINESTRING(1 10,1 2) See Also - , + , ,