[postgis-devel] [PostGIS] #297: [wktraster] Implement ST_AsPolygon function for raster
PostGIS
trac at osgeo.org
Mon Dec 21 14:11:34 PST 2009
#297: [wktraster] Implement ST_AsPolygon function for raster
------------------------+---------------------------------------------------
Reporter: mloskot | Owner: jorgearevalo
Type: task | Status: assigned
Priority: high | Milestone: WKTRaster 0.1.6
Component: wktraster | Version: trunk
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by pracine):
Replying to [comment:1 mloskot]:
> Pierre,
>
> Technically, we can use GDAL function, namely
[http://www.gdal.org/gdal__alg_8h.html GDALPolygonize].
>
> However, we have to keep in mind what steps it would require on various
levels of use and deployment. It is, roughly:
> * GDAL requirement, compile-time and run-time
> * Translation of WKT Raster WKB to
[http://www.gdal.org/classGDALDataset.html GDALDataset] with bands (likely
using GDAL MEM driver)
> * Call to GDALPolygonize to generate
[http://www.gdal.org/ogr/classOGRLayer.html OGRLayer]
> * Translation of [http://www.gdal.org/ogr/classOGRGeometry.html
OGRGeometry] objects attached to OGRLayer to PostGIS geometry
Sounds good!
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/297#comment:8>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list