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 EXECUTE
format('SELECT geoid format('SELECT geoid
FROM observatory.%I FROM observatory.%I
WHERE the_geom && $1', WHERE ST_WITHIN($1, the_geom)',
geom_table_name) geom_table_name)
USING geom USING geom
INTO geoid; INTO geoid;