From cf5ea61bd602783e6ec66f8b79dd02afe6f5b437 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 20 Dec 2004 14:11:18 +0000 Subject: [PATCH] Created a new 'Geometry Editors' section. git-svn-id: http://svn.osgeo.org/postgis/trunk@1167 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/postgis.xml | 268 +++++++++++++++++++++++++----------------------- 1 file changed, 138 insertions(+), 130 deletions(-) diff --git a/doc/postgis.xml b/doc/postgis.xml index fb4235b26..b7b596925 100644 --- a/doc/postgis.xml +++ b/doc/postgis.xml @@ -3791,6 +3791,144 @@ FROM geometry_table; + + Geometry Editors + + + + addBBOX(geometry) + + Add bounding box to the geometry. This would make bounding + box based queries faster, but will increase the size of the + geometry. + + + + + dropBBOX(geometry) + + Drop the bounding box cache from the geometry. + This reduces geometry size, but makes bounding-box based + queries slower. + + + + + force_collection(geometry) + + + Converts the geometry into a GEOMETRYCOLLECTION. This is + useful for simplifying the WKB representation. + + + + + force_2d(geometry) + + + Forces the geometries into a "2-dimensional mode" so that + all output representations will only have the X and Y coordinates. + This is useful for force OGC-compliant output (since OGC only + specifies 2-D geometries). + + + + + force_3dz(geometry) + force_3d(geometry) + + + Forces the geometries into XYZ mode. + + + + + force_3dm(geometry) + + + Forces the geometries into XYM mode. + + + + + force_4d(geometry) + + + Forces the geometries into XYZM mode. + + + + + multi(geometry) + + + Returns the geometry as a MULTI* geometry. If the geometry + is already a MULTI*, it is returned unchanged. + + + + + transform(geometry,integer) + + + Returns a new geometry with its coordinates transformed to + the SRID referenced by the integer parameter. The destination SRID + must exist in the SPATIAL_REF_SYS table. + + + + + translate(geometry,float8,float8,float8) + + + Translates the geometry to a new location using the numeric + parameters as offsets. Ie: translate(geom,X,Y,Z). + + + + + Reverse(geometry) + + Returns the geometry with vertex order reversed. + + + + + ForceRHR(geometry) + + Force polygons of the collection to obey Right-Hand-Rule. + + + + + simplify(geometry, tolerance) + + + Returns a "simplified" version of the given geometry using + the Douglas-Peuker algorithm. Will actually do something only with + (multi)lines and (multi)polygons but you can safely call it with + any kind of geometry. Since simplification occurs on a + object-by-object basis you can also feed a GeometryCollection to + this function. Note that returned geometry might loose its + simplicity (see isSimple) + + + + + segmentize(geometry, maxlength) + + + Return a modified [multi]polygon having no ring segment + longer then the given distance. Interpolated points will have Z + and M values (if needed) set to 0. Distance computation is + performed in 2d only. + + + + + + + Misc @@ -3886,69 +4024,6 @@ FROM geometry_table; - - addBBOX(geometry) - - Add bounding box to the geometry. This would make bounding - box based queries faster, but will increase the size of the - geometry. - - - - - dropBBOX(geometry) - - Drop the bounding box cache from the geometry. - This reduces geometry size, but makes bounding-box based - queries slower. - - - - - force_collection(geometry) - - - Converts the geometry into a GEOMETRYCOLLECTION. This is - useful for simplifying the WKB representation. - - - - - force_2d(geometry) - - - Forces the geometries into a "2-dimensional mode" so that - all output representations will only have the X and Y coordinates. - This is useful for force OGC-compliant output (since OGC only - specifies 2-D geometries). - - - - - force_3dz(geometry) - force_3d(geometry) - - - Forces the geometries into XYZ mode. - - - - - force_3dm(geometry) - - - Forces the geometries into XYM mode. - - - - - force_4d(geometry) - - - Forces the geometries into XYZM mode. - - - zmflag(geometry) @@ -3979,15 +4054,6 @@ FROM geometry_table; - - multi(geometry) - - - Returns the geometry as a MULTI* geometry. If the geometry - is already a MULTI*, it is returned unchanged. - - - nrings(geometry) @@ -4034,25 +4100,6 @@ FROM geometry_table; - - transform(geometry,integer) - - - Returns a new geometry with its coordinates transformed to - the SRID referenced by the integer parameter. The destination SRID - must exist in the SPATIAL_REF_SYS table. - - - - - translate(geometry,float8,float8,float8) - - - Translates the geometry to a new location using the numeric - parameters as offsets. Ie: translate(geom,X,Y,Z). - - - xmin(box3d) ymin(box3d) zmin(box3d) @@ -4069,34 +4116,6 @@ FROM geometry_table; - - Reverse(geometry) - - Returns the geometry with vertex order reversed. - - - - - ForceRHR(geometry) - - Force polygons of the collection to obey Right-Hand-Rule. - - - - - simplify(geometry, tolerance) - - - Returns a "simplified" version of the given geometry using - the Douglas-Peuker algorithm. Will actually do something only with - (multi)lines and (multi)polygons but you can safely call it with - any kind of geometry. Since simplification occurs on a - object-by-object basis you can also feed a GeometryCollection to - this function. Note that returned geometry might loose its - simplicity (see isSimple) - - - line_interpolate_point(geometry, proportion) @@ -4107,17 +4126,6 @@ FROM geometry_table; - - segmentize(geometry, maxlength) - - - Return a modified [multi]polygon having no ring segment - longer then the given distance. Interpolated points will have Z - and M values (if needed) set to 0. Distance computation is - performed in 2d only. - - - AsSVG(geometry, [rel], [precision]) -- 2.40.0