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>283 / 310Function geometry geography 3D (2.5D) Curves SQL MMST_WithinST_XST_XMaxST_XMinST_YST_YMaxST_YMinST_ZST_ZMaxST_ZMinST_Zmflag8.9 New <strong>PostGIS</strong> Functions8.9.1 <strong>PostGIS</strong> Functions new, behavior changed, or enhanced in 1.5The functions given below are <strong>PostGIS</strong> functions that were introduced or enhanced in this major release.• <strong>PostGIS</strong>_LibXML_Version - Availability: 1.5 Returns the version number of the libxml2 library.• ST_AddMeasure - Availability: 1.5.0 Return a derived geometry with measure elements linearly interpolated between the startand end points. If the geometry has no measure dimension, one is added. If the geometry has a measure dimension, it isover-written with new values. Only LINESTRINGS and MULTILINESTRINGS are supported.• ST_AsBinary - Availability: 1.5.0 geography support was introduced. Return the Well-Known Binary (WKB) representationof the geometry/geography without SRID meta data.• ST_AsGeoJSON - Availability: 1.5.0 geography support was introduced. Return the geometry as a GeoJSON element.• ST_AsText - Availability: 1.5 - support for geography was introduced. Return the Well-Known Text (WKT) representation ofthe geometry/geography without SRID metadata.• ST_Buffer - Availability: 1.5 - ST_Buffer was enhanced to support different endcaps and join types. These are useful forexample to convert road linestrings into polygon roads with flat or square edges instead of rounded edges. Thin wrapper for geographywas added. - requires GEOS >= 3.2 to take advantage of advanced geometry functionality. (T) For geometry: Returnsa geometry that represents all points whose distance from this Geometry is less than or equal to distance. Calculations are in theSpatial Reference System of this Geometry. For geography: Uses a planar transform wrapper. Introduced in 1.5 support for differentend cap and mitre settings to control shape. buffer_style options: quad_segs=#,endcap=round|flat|square,join=round|mitre|bevel,• ST_ClosestPoint - Availability: 1.5.0 Returns the 2-dimensional point on g1 that is closest to g2. This is the first point of theshortest line.• ST_CollectionExtract - Availability: 1.5.0 Given a GEOMETRYCOLLECTION, returns a MULTI* geometry consisting onlyof the specified type. Sub-geometries that are not the specified type are ignored. If there are no sub-geometries of the righttype, an EMPTY collection will be returned. Only points, lines and polygons are supported. Type numbers are 1 == POINT, 2== LINESTRING, 3 == POLYGON.• ST_Covers - Availability: 1.5 - support for geography was introduced. Returns 1 (TRUE) if no point in Geometry B is outsideGeometry A. For geography: if geography point B is not outside Polygon Geography A

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

Saved successfully!

Ooh no, something went wrong!