Fixing overlapping point issue

This commit is contained in:
Stuart Lynn
2016-04-13 15:10:14 -04:00
parent 38a784b15c
commit 6ee0b99bd4

View File

@@ -329,7 +329,7 @@ BEGIN
EXECUTE
format('SELECT geoid
FROM observatory.%I
WHERE the_geom && $1',
WHERE ST_WITHIN($1, the_geom)',
geom_table_name)
USING geom
INTO geoid;