Pierre et al.<div><br></div><div>I have been investigating the apparent disappearance of ST_PixelAsPolygons. I have updated the database to 2.0 and preformed an apparently successful soft upgrade on the database. Still when, when trying to use the function i get:</div>
<div><br></div><div>ERROR:  function st_pixelaspolygons(raster) does not exist</div><div><br></div><div>when using \df to list functions, it seems that there are two functions called ST_PixelAsPolygon (no plural for Polygon): </div>
<div><br></div><div><div>public | st_pixelaspolygon                | geometry               | rast raster, band integer, x integer, y integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </div>
<div>public | st_pixelaspolygon                | geometry               | rast raster, x integer, y integer  </div><div><br></div><div>I wonder if this is a bug in the function definition or an artifact in an my database from a previous version.</div>
<div><br></div><div>Thanks very much for any suggestions.</div><div><br></div><div>Peter</div><br><div class="gmail_quote">On Thu, Apr 5, 2012 at 1:49 PM, Pierre Racine <span dir="ltr"><<a href="mailto:Pierre.Racine@sbf.ulaval.ca">Pierre.Racine@sbf.ulaval.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> Thanks for your suggestion Pierre. I am working with v2.0 and it seems that<br>
> ST_PixelsAsPolygons() is not available. The singular Pixel version works though.<br>
> Any idea why that would be?<br>
<br>
</div>Try ST_PixelAsPolygons()... (without the firs 's')<br>
</blockquote></div><br></div>