[gdal-dev] ogr: linestring2d to linestring3d?

Frank Warmerdam warmerdam at pobox.com
Sat Jul 3 09:26:13 EDT 2010


Bryan Keith wrote:
> Hello,
> 
> I have a linestring shapefile with an elevation attribute.  Is there a way
> using ogr2ogr (or some other command line tool) to write out a
> linestring3d shapefile which transfers the values of that attribute to the
> z value of each point in the line?

Bryan,

I am not aware of a way to accomplish this with the existing commandline
tools.  It could be done with scripting or adjusting ogr2ogr of course.

Best regards,
-- 
---------------------------------------+--------------------------------------
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