12.07.2015 Views

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>PostGIS</strong> <strong>1.5.8</strong> <strong>Manual</strong>272 / 310• ST_XMin - Returns X minima of a bounding box 2d or 3d or a geometry.• ST_YMax - Returns Y maxima of a bounding box 2d or 3d or a geometry.• ST_YMin - Returns Y minima of a bounding box 2d or 3d or a geometry.• ST_ZMax - Returns Z minima of a bounding box 2d or 3d or a geometry.• ST_ZMin - Returns Z minima of a bounding box 2d or 3d or a geometry.8.6 <strong>PostGIS</strong> Functions that support 3DThe functions given below are <strong>PostGIS</strong> functions that do not throw away the Z-Index.• AddGeometryColumn - Adds a geometry column to an existing table of attributes.• Box3D - Returns a BOX3D representing the maximum extents of the geometry.• DropGeometryColumn - Removes a geometry column from a spatial table.• ST_Accum - Aggregate. Constructs an array of geometries.• ST_AddMeasure - Return a derived geometry with measure elements linearly interpolated between the start and end points. Ifthe geometry has no measure dimension, one is added. If the geometry has a measure dimension, it is over-written with newvalues. Only LINESTRINGS and MULTILINESTRINGS are supported.• ST_AddPoint - Adds a point to a LineString before point (0-based index).• ST_Affine - Applies a 3d affine transformation to the geometry to do things like translate, rotate, scale in one step.• ST_AsEWKB - Return the Well-Known Binary (WKB) representation of the geometry with SRID meta data.• ST_AsEWKT - Return the Well-Known Text (WKT) representation of the geometry with SRID meta data.• ST_AsGML - Return the geometry as a GML version 2 or 3 element.• ST_AsGeoJSON - Return the geometry as a GeoJSON element.• ST_AsHEXEWKB - Returns a Geometry in HEXEWKB format (as text) using either little-endian (NDR) or big-endian (XDR)encoding.• ST_AsKML - Return the geometry as a KML element. Several variants. Default version=2, default precision=15• ST_Boundary - Returns the closure of the combinatorial boundary of this Geometry.• ST_Collect - Return a specified ST_Geometry value from a collection of other geometries.• ST_ConvexHull - The convex hull of a geometry represents the minimum convex geometry that encloses all geometries withinthe set.• ST_CoordDim - Return the coordinate dimension of the ST_Geometry value.• ST_CurveToLine - Converts a CIRCULARSTRING/CURVEDPOLYGON to a LINESTRING/POLYGON• ST_Difference - Returns a geometry that represents that part of geometry A that does not intersect with geometry B.• ST_Dump - Returns a set of geometry_dump (geom,path) rows, that make up a geometry g1.• ST_DumpPoints - Returns a set of geometry_dump (geom,path) rows of all points that make up a geometry.• ST_DumpRings - Returns a set of geometry_dump rows, representing the exterior and interior rings of a polygon.• ST_EndPoint - Returns the last point of a LINESTRING geometry as a POINT.• ST_Extent3D - an aggregate function that returns the box3D bounding box that bounds rows of geometries.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!