<@
Updated at:
Copy as MD
Checks whether the spatial extent of the grid object is contained within a geometric object.
Syntax
boolean <@(geomgrid grid, geometry geom);
boolean <@(geometry geom, geomgrid grid);
boolean <@(geomgrid grid1, geomgrid grid2);Parameters
Parameter Name | Description |
grid | The grid object. |
geom | The geometry object. |
Description
The geometric object must have a spatial reference of CGC2000 (SRID=4490).
Examples
select ST_geomfromtext('POINT(116.31522216796875 39.910277777777778)',4490) <@
ST_gridfromtext('G001331032213300013') as t;
t
---------------
f
select ST_gridfromtext('G001331032213300013') <@
ST_gridfromtext('G001331032213300') as t
t
-------------
tIs this page helpful?