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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PostGIS</strong> <strong>1.5.8</strong> <strong>Manual</strong>52 / 310Chapter 7<strong>PostGIS</strong> ReferenceThe functions given below are the ones which a user of <strong>PostGIS</strong> is likely to need. There are other functions which are requiredsupport functions to the <strong>PostGIS</strong> objects which are not of use to a general user.Note<strong>PostGIS</strong> has begun a transition from the existing naming convention to an SQL-MM-centric convention. As a result,most of the functions that you know and love have been renamed using the standard spatial type (ST) prefix. Previousfunctions are still available, though are not listed in this document where updated functions are equivalent. The nonST_ functions not listed in this documentation are deprecated and will be removed in a future release so STOP USINGTHEM.7.1 PostgreSQL <strong>PostGIS</strong> Types7.1.1 box2dbox2d — A box composed of x min, ymin, xmax, ymax. Often used to return the 2d enclosing box of a geometry.Descriptionbox2d is a spatial data type used to represent the enclosing box of a geometry or set of geometries. ST_Extent in earlier versionsprior to <strong>PostGIS</strong> 1.4 would return a box2d.7.1.2 box3dbox3d — A box composed of x min, ymin, zmin, xmax, ymax, zmax. Often used to return the 3d extent of a geometry orcollection of geometries.Descriptionbox3d is a postgis spatial data type used to represent the enclosing box of a geometry or set of geometries. ST_Extent3D returnsa box3d object.Casting BehavorThis section lists the automatic as well as explicit casts allowed for this data type

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

Saved successfully!

Ooh no, something went wrong!