This documentation is for the unreleased development version of jOOQ. Click on the above version links to get this documentation for a supported version of jOOQ.
Spatial functions
Applies to ❌ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
A few databases have implemented the ISO/IEC 13249-3 SQL standard spatial extensions (or vendor specific adaptations thereof) to calculate geometric or geographic sets.
These extensions are very useful, and SQL is a perfect match for them. Starting with jOOQ 3.16, we support quite a few of these spatial functions, spatial aggregate and window functions, spatial predicates, and more.
Before moving on with the following chapters of the jOOQ manual, get yourself acquainted with the various standards around spatial data, the WKT (Well-known text representation of geometry), and other related topics, to see how a polygon like:
POLYGON ((-1 -1, 1 -1, 1 1, -1 1, -1 -1))
... can produce the equivalent:
Table of contents
- 3.11.23.1.
- ST_Area
- 3.11.23.2.
- ST_AsText
- 3.11.23.3.
- ST_Boundary (new)
- 3.11.23.4.
- ST_Centroid
- 3.11.23.5.
- ST_Difference
- 3.11.23.6.
- ST_Dimension (new)
- 3.11.23.7.
- ST_Distance
- 3.11.23.8.
- ST_EndPoint
- 3.11.23.9.
- ST_ExteriorRing
- 3.11.23.10.
- ST_GeometryN
- 3.11.23.11.
- ST_GeometryType
- 3.11.23.12.
- ST_GeomFromText
- 3.11.23.13.
- ST_InteriorRingN
- 3.11.23.14.
- ST_Intersection
- 3.11.23.15.
- ST_Length
- 3.11.23.16.
- ST_NumGeometries
- 3.11.23.17.
- ST_NumInteriorRings
- 3.11.23.18.
- ST_NumPoints
- 3.11.23.19.
- ST_Perimeter (new)
- 3.11.23.20.
- ST_PointN
- 3.11.23.21.
- ST_SRID
- 3.11.23.22.
- ST_StartPoint
- 3.11.23.23.
- ST_Transform (new)
- 3.11.23.24.
- ST_Union
- 3.11.23.25.
- ST_X
- 3.11.23.26.
- ST_XMax (new)
- 3.11.23.27.
- ST_XMin (new)
- 3.11.23.28.
- ST_Y
- 3.11.23.29.
- ST_YMax (new)
- 3.11.23.30.
- ST_YMin (new)
- 3.11.23.31.
- ST_Z
- 3.11.23.32.
- ST_ZMax (new)
- 3.11.23.33.
- ST_ZMin (new)
previous : next |
Feedback
Do you have any feedback about this page? We'd love to hear it!