Have you tried "ST_DumpAsPolygons()" function? -- View this message in context: http://postgis.17.n6.nabble.com/From-raster-to-vector-in-PostGIS-tp4997864p4997907.html Sent from the PostGIS - User mailing list archive at Nabble.com.