Ticket #297 (closed task: fixed)
[wktraster] Implement ST_DumpAsPolygons function for raster
| Reported by: | mloskot | Owned by: | jorgearevalo |
|---|---|---|---|
| Priority: | high | Milestone: | WKTRaster 0.1.6 |
| Component: | raster | Version: | trunk |
| Keywords: | Cc: |
Description
Function ST_AsPolygon is part of 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:
- Raster to Polygon Converter implemented in GDAL
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

