[Gdal-dev] ogr2ogr create 25d shapefile

Bryan Keith bryan at geomega.com
Tue Jan 23 12:07:29 EST 2007

Frank Warmerdam wrote:
> Bryan Keith wrote:
>> Hello,
>> Does ogr2ogr have command options that allow you to make a 2.5d 
>> shapefile from a 2d shapefile while obtaining the z value from a 
>> specific attribute?
>> For example:
>> ogr2ogr out.shp in.shp -nlt linestring25d -??fieldnameforzvalue?? ELEV
> Bryan,
> No, I'm afraid it does not.  You would need to write a script or program
> to do this.

Thanks, Frank.  That's exactly what I did.  If anyone wants a copy (not 
pretty but it works for me), let me know.


More information about the Gdal-dev mailing list