ST_Contains
This section contains reference documentation for the ST_Contains function.
Signature
Warning
Usage Examples
select group_city,
ST_AsText(location) AS locationString,
ST_Contains(
ST_GeomFromText('POLYGON ((
-74.171737 40.607377,
-74.089339 40.753180,
-73.911498 40.769303,
-74.016555 40.604249,
-74.171737 40.607377))'),
toGeometry(location)
) AS inPolygon
from meetupRsvp
order by inPolygon DESC
limit 5group_city
locationString
inPolygon
count(*)
Was this helpful?

