[gdal-dev] Add z values to polylines

Frank Warmerdam warmerdam at pobox.com
Thu Sep 18 16:20:34 EDT 2008

On 9/18/08, Mullins, Steven <Steven.Mullins at dmme.virginia.gov> 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?


I would suggest you look at:


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

Good luck,

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

More information about the gdal-dev mailing list