You can use valrepl.py script to make a copy of your image with new values.
http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/val_repl.py
Or if you really want to edit the shapefile afterwards, try out the
OGR python bindings, but you would need to write your script.
Etienne
On Thu, Feb 2
Hi,
I'm just wondering if any of you has done and would like to share your
experience in replacing the attribute values of a shape file.
Here is what I'm doing:
1. I have an image with pixels values ranging from, say, 1, 2, 3 and
4
2. I used gdal_polygonize.py to convert t