From: Regina Obe Date: Tue, 4 Nov 2008 14:15:37 +0000 (+0000) Subject: Add ST_HasArc, pull some useful comments from source code to add to ST_CurveToLine X-Git-Tag: 1.4.0b1~531 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d61ca4783027442df774e90f6eac1ddd14421c9;p=postgis Add ST_HasArc, pull some useful comments from source code to add to ST_CurveToLine git-svn-id: http://svn.osgeo.org/postgis/trunk@3245 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_new.xml b/doc/reference_new.xml index 808d998f5..a34e26138 100644 --- a/doc/reference_new.xml +++ b/doc/reference_new.xml @@ -6734,6 +6734,62 @@ SELECT ST_Equals(ST_Reverse(ST_GeomFromText('LINESTRING(0 0, 10 10)')), + + + ST_HasArc + + Returns true if a geometry or geometry collection contains a circular string + + + + + + boolean ST_HasArc + geometry geomA + + + + + + Description + + Returns true if a geometry or geometry collection contains a circular string + + Availability: 1.2.3? + + + + + + This function supports 3d and will not drop the z-index. + + + + + + + This method supports Circular Strings and Curves + + + + + Examples + + SELECT ST_HasArc(ST_Collect('LINESTRING(1 2, 3 4, 5 6)', 'CIRCULARSTRING(1 1, 2 3, 4 5, 6 7, 5 6)')); + st_hasarc + -------- + t + + + + + + See Also + + , + + + ST_Intersects @@ -8356,7 +8412,7 @@ SELECT ST_AsEWKT(ST_Collect(ST_GeomFromEWKT('POINT(1 2 3)'), ST_CurveToLine - Converts a CIRCULARSTRING to a LINESTRING + Converts a CIRCULARSTRING/CURVEDPOLYGON to a LINESTRING/POLYGON @@ -8371,8 +8427,9 @@ SELECT ST_AsEWKT(ST_Collect(ST_GeomFromEWKT('POINT(1 2 3)'), Description - Converst a CIRCULAR STRING to regular LINESTRING. Useful for outputting to devices that can't support CIRCULARSTRING geometry types - + Converst a CIRCULAR STRING to regular LINESTRING or CURVEPOLYGON to POLYGON. Useful for outputting to devices that can't support CIRCULARSTRING geometry types + Converts a given geometry to a linear geometry. + Each curved geometry or segment is converted into a linear approximation using the default value of 32 segments per quarter circle Availability: 1.2.2?