Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
判断多边形是否覆盖一个点,包括边界。
BOOLEAN ST_Covers(GEOGRAPHY polygon, GEOGRAPHY point) BOOLEAN ST_Covers(GEOMETRY polygon, GEOMETRY point)
polygon
POLYGON
MULTIPOLYGON
point
POINT
GEOMETRY
NULL
EMPTY
false
SELECT ST_Covers( ST_GeogFromText('POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))'), ST_GeogFromText('POINT (0 5)')); -- true