preemptively set_srid for obs_getavailableboundaries

This commit is contained in:
John Krauss
2016-07-01 09:51:20 -04:00
committed by Rafa de la Torre
parent 3f63f6f138
commit 11dbb860ab

View File

@@ -114,7 +114,7 @@ BEGIN
AND
observatory.OBS_column.type = 'Geometry'
AND
ST_Intersects($1, observatory.obs_table.the_geom)
ST_Intersects($1, st_setsrid(observatory.obs_table.the_geom, 4326))
$string$ || timespan_query
USING geom;
RETURN;