No one else had the same issue with 8242? This is exactly the same query as i ran in r.8001, but now it give me the error below in return.<div>Any suggestions? </div><div><br></div><div>Best,</div><div>Andreas<br><br><div class="gmail_quote">
2011/11/25 Andreas Forĝ Tollefsen <span dir="ltr"><<a href="mailto:andreasft@gmail.com">andreasft@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<div><br></div><div>Sorry for posting a lot these days but I am very busy finalizing a project.</div><div><br></div><div>Previously, I have been running the following query without problems (in rev.8001). After updating to rev.8242 i am getting a strange error.</div>

<div>Could someone please see what is wrong? Is it one of the functions that has changed?</div><div><br></div><div>Query: </div><div><div><div>SELECT gid, AVG(((foo.geomval).val)) FROM (SELECT p.gid, ST_Intersection(p.cell, r.rast) AS geomval FROM mountain r, priogrid_land p WHERE ST_Intersects(p.cell, r.rast) AND p.gid =219260) AS foo </div>

<div>GROUP BY gid ORDER BY gid;</div></div></div><div><br></div><div>Error:</div><div><div>ERROR:  column bmd.hasnodata does not exist</div><div>LINE 1: SELECT bmd.hasnodata                FROM ST_BandMetaData(ras...</div>

<div>               ^</div><div>QUERY:  SELECT bmd.hasnodata                FROM ST_BandMetaData(rast, nband) AS bmd</div><div>CONTEXT:  PL/pgSQL function "_st_intersects" line 32 at SQL statement</div><div>PL/pgSQL function "st_intersection" line 5 at assignment</div>

<div><br></div><div>********** Error **********</div><div><br></div><div>ERROR: column bmd.hasnodata does not exist</div><div>SQL state: 42703</div><div>Context: PL/pgSQL function "_st_intersects" line 32 at SQL statement</div>

<div>PL/pgSQL function "st_intersection" line 5 at assignment</div><div><br></div></div><div><br></div><div>Thanks for any help.</div><div><br></div><div>Best regards,</div><div>Andreas</div>
</blockquote></div><br></div>