id summary reporter owner description type status priority milestone component version resolution keywords cc 297 [wktraster] Implement ST_DumpAsPolygons function for raster mloskot jorgearevalo "Function ST_AsPolygon is part of [wiki:WKTRaster/SpecificationWorking01 Objective 0.1.6e] and shall be implemented: {{{ ST_AsPolygon(raster) -> polygon geometry set }}} This algorithm is very useful since it ensure that ST_AsRaster(ST_AsPolygon(raster)) should returns the same raster as the original (because it is based on the centroid of the pixel). Open questions: * Pierre: Can we directly use the GDAL function by copying the raster data into a GDAL structure or should we just copy/adapt the algorythm? References: * [http://trac.osgeo.org/gdal/browser/trunk/gdal/alg/polygonize.cpp?rev=16328 Raster to Polygon Converter] implemented in GDAL " task closed high WKTRaster 0.1.6 raster master fixed