From: Regina Obe Date: Tue, 8 Jul 2008 13:30:31 +0000 (+0000) Subject: numerous changes(remove additional parent, argument list changes, multi function... X-Git-Tag: 1.4.0b1~861 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06a39335d7aca49fe8fae3889ffdc04639cfefc2;p=postgis numerous changes(remove additional parent, argument list changes, multi function breakout) git-svn-id: http://svn.osgeo.org/postgis/trunk@2835 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index a70f86b85..67bcc9c76 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -613,8 +613,8 @@ the largest dimension of the components of a GEOMETRYCOLLECTION. - SELECT ST_dimension('GEOMETRYCOLLECTION(LINESTRING(1 1,0 0),POINT(0 0))'); -dimension + SELECT ST_Dimension('GEOMETRYCOLLECTION(LINESTRING(1 1,0 0),POINT(0 0))'); +ST_Dimension ----------- 1 @@ -696,7 +696,7 @@ dimension - ST_GeometryN(geometry,int) + ST_GeometryN(geometry,nth integer) Return the N'th geometry if the geometry is a @@ -721,7 +721,7 @@ dimension - ST_PointN(geometry,integer) + ST_PointN(geometry,nth integer) Return the N'th point in the first linestring in the @@ -765,7 +765,7 @@ dimension - ST_InteriorRingN(geometry,integer) + ST_InteriorRingN(geometry,nth integer) Return the N'th interior ring of the polygon geometry. @@ -821,8 +821,8 @@ dimension Returns the type of the geometry as a string. EG: - 'Linestring', 'Polygon', etc. This function differs from - GeometryType(geometry) in the case of the string that is returned, + 'ST_Linestring', 'ST_Polygon','ST_MultiPolygon' etc. This function differs from + GeometryType(geometry) in the case of the string and ST in front that is returned, as well as the fact that it will not indicate whether the geometry is measured. @@ -876,10 +876,11 @@ dimension - ST_GeomFromText(text,[<srid>]) + ST_GeomFromText(text) + ST_GeomFromText(text,srid integer) - Makes a Geometry from WKT with the given SRID. + Makes a Geometry from WKT with the given SRID. If no SRID is passed in SRID is unknown (-1 currently). OGC SPEC 3.2.6.2 - option SRID is from the conformance suite @@ -887,7 +888,8 @@ dimension - ST_PointFromText(text,[<srid>]) + ST_PointFromText(text) + ST_PointFromText(text,srid integer) Makes a Geometry from WKT with the given SRID. If SRID is @@ -901,30 +903,32 @@ dimension - ST_LineFromText(text,[<srid>]) + ST_LineFromText(text) + ST_LineFromText(text,srid integer) - - Makes a Geometry from WKT with the given SRID. If SRID is - not give, it defaults to -1. - - OGC SPEC 3.2.6.2 - option SRID is from the conformance - suite - - Throws an error if the WKT is not a Line - + + Makes a Geometry from WKT with the given SRID. If SRID is + not give, it defaults to -1. + + OGC SPEC 3.2.6.2 - option SRID is from the conformance + suite + + Throws an error if the WKT is not a Line + - ST_LinestringFromText(text,[<srid>]) - - - Makes a Geometry from WKT with the given SRID. If SRID is - not give, it defaults to -1. - - from the conformance suite - - Throws an error if the WKT is not a Line - + ST_LinestringFromText(text) + ST_LinestringFromText(text,srid integer) + + + Makes a Geometry from WKT with the given SRID. If SRID is + not give, it defaults to -1. + + from the conformance suite + + Throws an error if the WKT is not a Line + @@ -1916,7 +1920,7 @@ FROM SELECT p.gid, p.province_name, CASE WHEN ST_Accum(w.the_geom) IS NULL THEN p.the_geom - ELSE ST_MakePolygon(ST_LineMerge(ST_Boundary(p.the_geom)), ST_Accum(w.the_geom))) END + ELSE ST_MakePolygon(ST_LineMerge(ST_Boundary(p.the_geom)), ST_Accum(w.the_geom)) END FROM provinces p LEFT JOIN waterlines w ON (ST_Within(w.the_geom, p.the_geom) AND ST_IsClosed(w.the_geom)) @@ -2402,7 +2406,7 @@ z' = z This method is a subcase of the 3D method - ST_line_interpolate_point(linestring, location) + ST_line_interpolate_point(linestring geometry, locationfraction float8) Returns a point interpolated along a line. First argument @@ -2425,7 +2429,7 @@ z' = z This method is a subcase of the 3D method - ST_line_substring(linestring, start, end) + ST_Line_substring(linestring geometry, startfraction float8, endfraction float8) Return a linestring being a substring of the input one @@ -2452,7 +2456,7 @@ z' = z This method is a subcase of the 3D method - ST_line_locate_point(LineString, Point) + ST_line_locate_point(LineString geometry, Point geometry) Returns a float between 0 and 1 representing the location of