I am getting the following error when using the ST_Intersects function in this query:

STATEMENT: select ST_Value(rast, ST_Transform(ST_SetSRID(ST_Point(126.5, 37.5), 4326), ST_SRID(rast))) from srtm3 where ST_Intersects(rast, ST_Transform(ST_SetSRID(ST_Point(126.5, 37.5), 4326), ST_SRID(rast)));
ERROR:  lower bound of FOR loop cannot be null
CONTEXT: PL/pgSQL function "_st_intersects" line 97 at FOR with integer loop variable

I am not sure what it is complaining about. Any help would be greatly appreciated.
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to