Hi all, I am just starting to experiment with postgis 2.0 and its raster support.   When I run the following query:<div><br></div><div><div>select st_intersection(r.rast, v.geom)</div><div>from ned r, test_line v</div><div>
where st_intersects(r.rast, v.geom)</div></div><div><br></div><div>I get this error:</div><div>







<p class="p1">ERROR:  lower bound of FOR loop cannot be null<br>CONTEXT:  PL/pgSQL function "_st_intersects" line 103 at FOR with integer loop variable<br>PL/pgSQL function "st_intersection" line 4 at assignment<br>
SQL function "st_intersection" statement 1</p><p class="p1">My build is SVN revision 7959.  The ned table consists of about 1800 100x100 tiles.  The test_line table contains one record with a linestring geometry.  Both the tiles and the linestring are in the same projection (EPSG 4326). </p>
<p class="p1">Does anyone have any insights into what might be going on here?</p><p class="p1">Thanks,<br>Joel</p><p class="p1"><br></p><p class="p1"><br></p><p class="p1"><br></p></div>