Can I check whether a multipolygon contains point in PostGIS?
postgis
Solution
it worked like this:
SELECT name, st_contains(latlon, ST_GeomFromText('POINT(16.391944 48.218056)', 4326)) FROM bezirks
Problem
I got one column (`latlon`) which is a `ST_MultiPolygon`. The other geometry is a point which I just want to check if it is inside one of my MultiPolygons. I tried: ``` SELECT ST_CONTAINS(latlon, ST_GeometryFromText('POINT(48.208417 16.372472)') FROM districts ``` It always returns false; why can't I check if a point is within a multipolygon with `ST_Contains`?