[gdal-dev] trying to fetch the data from raster and assign it to the polygon attribute

Smaran Harihar smaran.harihar at gmail.com
Mon Oct 29 15:10:06 PDT 2012


Hi,

I am a newbie in GDAL and I recently used gdal_polygonize to convert a
raster (Tiff) to polygon. The problem is that I wish to also assign the
pixel values to the attribute table of the polygon.

Is it possible? When I converted the raster into polygon, I was only able
to see DN as another field and it does not have the desired value as
displayed in the pixel value.

-- 
Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20121029/e3a6717c/attachment.html>


More information about the gdal-dev mailing list