On 9/18/08, Mullins, Steven <[EMAIL PROTECTED]> wrote:
> I have a large set of contoured data which has a z value in an attribute 
> field.  I would like to copy this value to the spatial z.  I think this is 
> going to require a bit of python.  Any pointers?

Steve,

I would suggest you look at:

  http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/vec_tr.py

It shows updating the geometries of a set of vectors as part of
copying them.  Then you just need to figure out how to get
the attributes out of th features and passed into the processing
functions.

Good luck,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to