]> granicus.if.org Git - postgis/commitdiff
Add ST_Shift_Longitude, ST_Difference, ST_SymDifference
authorRegina Obe <lr@pcorp.us>
Fri, 17 Oct 2008 03:04:42 +0000 (03:04 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 17 Oct 2008 03:04:42 +0000 (03:04 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/1.3@3132 b70326c6-7e19-0410-871a-916f4a2858ee

postgis_comments.sql

index 081908833285079e54ae3ae956ca6fab85bb6501..1ff58980369827614213febd5b66a3dabc137e3c 100644 (file)
@@ -231,6 +231,8 @@ COMMENT ON FUNCTION ST_Collect(geometry, geometry) IS 'args: g1, g2 - Return a s
                        \r
 COMMENT ON FUNCTION ST_ConvexHull(geometry ) IS 'args: geomA - The convex hull of a geometry represents the minimum closed geometry that encloses all geometries within the set.';\r
                        \r
+COMMENT ON FUNCTION ST_Difference(geometry , geometry ) IS 'args: geomA, geomB - Returns a geometry that represents that part of geometry A that does not intersect with geometry B.';\r
+                       \r
 COMMENT ON FUNCTION ST_Dump(geometry ) IS 'args: g1 - Returns a set of geometry_dump rows, formed by a geometry (geom).';\r
                        \r
 COMMENT ON FUNCTION ST_MakePolygon(geometry) IS 'args: linestring - Creates a Polygon formed by the given shell. Input geometries must be closed LINESTRINGS.';\r
@@ -241,10 +243,14 @@ COMMENT ON FUNCTION ST_Intersection(geometry, geometry) IS 'args: geomA, geomB -
                        \r
 COMMENT ON AGGREGATE ST_Polygonize(geometry) IS 'args: geomfield - Aggregate. Creates a GeometryCollection containing possible polygons formed from the constituent linework of a set of geometries.';\r
                        \r
+COMMENT ON FUNCTION ST_Shift_Longitude(geometry ) IS 'args: geomA - Reads every point/vertex in every component of every feature in a geometry, and if the longitude coordinate is <0, adds 360 to it. The result would be a 0-360 version of the data to be plotted in a 180 centric map';\r
+                       \r
 COMMENT ON FUNCTION ST_Simplify(geometry, float) IS 'args: geomA, tolerance - Returns a "simplified" version of the given geometry using the Douglas-Peuker algorithm.';\r
                        \r
 COMMENT ON FUNCTION ST_SimplifyPreserveTopology(geometry, float) IS 'args: geomA, tolerance - Returns a "simplified" version of the given geometry using the Douglas-Peuker algorithm. Will avoid creating derived geometries (polygons in particular) that are invalid.';\r
                        \r
+COMMENT ON FUNCTION ST_SymDifference(geometry , geometry ) IS 'args: geomA, geomB - Returns a geometry that represents the portions of A and B that do not intersect. It is called a symmetric difference because ST_SymDifference(A,B) = ST_SymDifference(B,A).';\r
+                       \r
 COMMENT ON AGGREGATE ST_Union(geometry) IS 'args: g1field - Returns a geometry that represents the point set union of the Geometries.';\r
                        \r
 COMMENT ON FUNCTION ST_Union(geometry) IS 'args: g1 - Returns a geometry that represents the point set union of the Geometries.';\r