PostGIS is an extension to the PostgreSQL object-relational database system which allows GIS (Geographic Information Systems) objects to be stored in the database. PostGIS includes support for GiST-based R-Tree spatial indexes, and functions for analysis and processing of GIS objects.
This is the manual for version 3.5.0dev
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.
Feel free to use this material any way you like, but we ask that you attribute credit to the PostGIS Project
and wherever possible, a link back to https://postgis.net.
geometry_dump
rows for the components of a geometry.geometry_dump
rows for the coordinates in a geometry.geometry_dump
rows for the segments in a geometry.geometry_dump
rows for
the exterior and interior rings of a Polygon.valid_detail
row stating if a geometry is valid or if not a reason and a location.ST_Length
ST_Perimeter
.ValidateTopology
.table_name
in schema schema_name
and unregisters the columns from topology.layer table.alinestring
to a topology connecting two existing isolated nodes anode
and anothernode
and returns the edge id of the new edge.apoint
geometry exists as a node an error is thrown. Returns description of move.aface
.topoelementarray
for a set of element_id, type arrays (topoelements).topoelementarray
(an array of topoelements) containing the topological elements and type of the given TopoGeometry (primitive elements).topoelement
objects containing the topological element_id,element_type of the given TopoGeometry (primitive elements).exclude_nodata_value
is set to false, then all pixels include nodata
pixels are considered to intersect and return value. If exclude_nodata_value
is not passed in then reads it from metadata of raster.NODATA
value of a given band's pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.
NODATA
values around a given band's pixel specified by either a columnX and rowY or a geometric point expressed in the same spatial reference coordinate system as the raster.
crop
is not specified or TRUE, the output raster is cropped.TRUE
if A's bounding box intersects B's bounding box.TRUE
if A's bounding box is to the left of B's.TRUE
if A's bounding box is to the right of B's.TRUE
if A's bounding box is the same as B's. Uses double precision bounding box.TRUE
if A's bounding box is contained by B's. Uses double precision bounding box.TRUE
if A's bounding box is the same as B's.TRUE
if A's bounding box is contains B's. Uses double precision bounding box.tiger_data
if no schema is specified.county_all
, state_all
or state code followed by county
or state
.tiger_data
if no schema is specified.normalized_address
(addy) for each location, and the rating. The lower the rating the more likely the match. Results are sorted by lowest rating first. Can optionally pass in maximum results, defaults to 10. Uses Tiger data (edges, faces, addr), PostgreSQL fuzzy string matching (soundex, levenshtein).tiger_data
schema. Each state script is returned as a separate record.tiger_data
schema. Each state script is returned as a separate record. Latest version supports Tiger 2010 structural changes and also loads census tract, block groups, and blocks tables.norm_addy
type that has road suffix, prefix and type standardized, street, streetname etc. broken into separate fields. This function
will work with just the lookup data packaged with the tiger_geocoder (no need for tiger census data).norm_addy
type that has road suffix, prefix and type standardized, street, streetname etc. broken into separate fields. This function
will work with just the lookup data packaged with the tiger_geocoder (no need for tiger census data). Requires address_standardizer extension.norm_addy
composite type object, returns a pretty print representation of it. Usually used in conjunction with normalize_address.