OGC SPEC s2.1.1.1 - also see asBinary(<geometry>,'XDR') and asBinary(<geometry>,'NDR')
select dimension('GEOMETRYCOLLECTION(LINESTRING(1 1,0 0),POINT(0 0)'); |
Returns 1 (TRUE) if this Geometry is "spatially disjoint" from anotherGeometry.
Do not call with a GeometryCollection as an argument
NOTE: this is the "allowable" version that returns a boolean, not an integer.
OGC SPEC s2.1.1.1 //s2.1.13.3 - a.Relate(b, 'FF*FF****')
Returns 1 (TRUE) if this Geometry "spatially intersects" anotherGeometry.
Do not call with a GeometryCollection as an argument
NOTE: this is the "allowable" version that returns a boolean, not an integer.
OGC SPEC s2.1.1.1 //s2.1.13.3 - Intersects(g1, g2 ) --> Not (Disjoint(g1, g2 ))
Returns 1 (TRUE) if this Geometry "spatially touches" anotherGeometry.
Do not call with a GeometryCollection as an argument
NOTE: this is the "allowable" version that returns a boolean, not an integer.
Returns 1 (TRUE) if this Geometry "spatially crosses" anotherGeometry.
Do not call with a GeometryCollection as an argument
NOTE: this is the "allowable" version that returns a boolean, not an integer.
OGC SPEC s2.1.1.1 // s2.1.13.3 - a.Relate(b, 'T*T******')
Returns 1 (TRUE) if this Geometry is "spatially within" anotherGeometry.
Do not call with a GeometryCollection as an argument
NOTE: this is the "allowable" version that returns a boolean, not an integer.
OGC SPEC s2.1.1.1 // s2.1.13.3 - a.Relate(b, 'T*F**F***')
Returns 1 (TRUE) if this Geometry is "spatially overlapping" anotherGeometry.
Do not call with a GeometryCollection as an argument
NOTE: this is the "allowable" version that returns a boolean, not an integer.
OGC SPEC s2.1.1.1 // s2.1.13.3
Returns 1 (TRUE) if this Geometry is "spatially contains" anotherGeometry.
Do not call with a GeometryCollection as an argument
NOTE: this is the "allowable" version that returns a boolean, not an integer.
OGC SPEC s2.1.1.1 // s2.1.13.3 - same as within(geometry,geometry)
Returns 1 (TRUE) if this Geometry is "spatially intersects" anotherGeometry.
Do not call with a GeometryCollection as an argument
NOTE: this is the "allowable" version that returns a boolean, not an integer.
OGC SPEC s2.1.1.1 // s2.1.13.3 - NOT disjoint(geometry,geometry)
Do not call with a GeometryCollection as an argument
NOTE: this is the "allowable" version that returns a boolean, not an integer.
OGC SPEC s2.1.1.1 // s2.1.13.3
returns the DE-9IM (dimensionally extended nine-intersection matrix)
Do not call with a GeometryCollection as an argument
not in OGC spec, but implied. see s2.1.13.2
Do not call with a GeometryCollection as an argument
Returns a geometry that represents the convex hull of this Geometry.
Returns a geometry that represents the point set intersection of this Geometry with anotherGeometry.
Do not call with a GeometryCollection as an argument
Returns a geometry that represents the point set union of this Geometry with anotherGeometry.
Do not call with a GeometryCollection as an argument
NOTE: this is renamed from "union" because union is an SQL reserved word
Returns a geometry that represents the point set union of this all Geometries in given set.
Do not call with a GeometryCollection in the argument set
Not explicitly defined in OGC SPEC
Same as the above, only memory-friendly (uses less memory and more processor time).
Returns a geometry that represents the point set difference of this Geometry with anotherGeometry.
Do not call with a GeometryCollection as an argument
Do not call with a GeometryCollection as an argument
Returns a POLYGON representing the bounding box of the geometry.
NOTE:PostGIS will add a Zmin/Zmax coordinate as well.
Returns the type of the geometry as a string. Eg: 'LINESTRING', 'POLYGON', 'MULTIPOINT', etc.
Returns true of the geometry start and end points are coincident.
Return the cartesian distance between two geometries in projected units.
Return the Well-Known Text representation of the geometry. For example: POLYGON(0 0,0 1,1 1,1 0,0 0)
Returns the integer SRID number of the spatial reference system of the geometry.
As above. A synonym for GeometryFromText.
Returns the last point of the geometry as a point.
Returns the first point of the geometry as a point.
Returns the centroid of the geometry as a point.
Computation will be more accurate if performed by the GEOS module (enabled at compile time).