meta data for this page

OGR2OGR in the 3rd dimension

I had to convert shapefile data from 2D lines/points to files consisting of 3 fields (x,y,z) for further processing using the GMT5. I was about to write some Python code to do that myself when I realised a new (GDAL >1.8) option in the ogr2ogr tool:

   -zvalue Uses the specified field to fill the Z coordinate of geometries.

Turning an attribute from a shapefile into a z-Value for GMT files ogr2ogr and this flag is easy and helps to avoid ArcGIS’ 3D Analyst’s “Feature Attribute to Z-Value” function.

Simple usage:

ogr2ogr -F"GMT" OutFileWithZValues.gmt InFileWithZAttribute.shp -zfield"Thickness"

Done. Even works the other way around: from an OGR GMT file with Z-values in the 3rd column to a 2.5D shapefile:

ogr2ogr -F"ESRI Shapefile" OutFileWithZAttribute.shp InFileWithZValues.gmt -nlt LINESTRING25D

Discussion

yeezy, 2023/07/25 10:25

https://www.yeezyadidas.de/ Yeezy https://www.yeezys.co/ Yeezys https://www.jordan-1.org/ Jordan 1 https://www.air-jordan1.com/ Air Jordan 1 https://www.nikejordan1.com/ Nike Jordan 1 https://www.jordan-1s.com/ Jordan 1S https://www.jordan1.uk.com/ Jordan 1 https://www.jordans-shoes.com/ Jordan Shoes https://www.jordan-shoes.us.com/ Jordan Shoes https://www.nikeuk.uk.com/ Nike UK https://www.yeezy-450.com/ Yeezy 450 https://www.jordanretro4.com/ Jordan Retro 4 https://www.nikeoutletstoreonlineshopping.us/ Nike Outlet Store Online Shopping https://www.yeezy.uk.com/ YEEZY https://www.adidasyeezyofficialwebsite.com/ Adidas Yeezy Official Website https://www.yeezy350.uk.com/ Yeezy 350 https://www.air-jordan4.com/ Air Jordan 4 https://www.yeezyfoam-runner.com/ Yeezy Foam Runner https://www.yeezyslides.us.com/ Yeezy Slides https://www.ray-ban-glasses.us.com/ Ray Ban Glasses https://www.adidasuk.uk.com/ Adidas UK https://www.nflshopofficialonlinestore.com/ NFL Shop Official Online Store https://www.yeezys-slides.us.com/ Yeezy Slides https://www.yeezyadidass.us.com/ Adidas Yeezy https://www.350yeezy.us.com/ Yeezy 350 https://www.yeezyy.us.com/ Yeezy https://www.yeezy350s.us.com/ Yeezy 350 https://www.shoesyeezys.us.com/ Yeezy Shoes https://www.yeezys.uk.com/ Yeezys https://www.off-white.us.org// Off White https://raybansales.us/ Ray Ban https://www.adidasyeezy.uk.com/ Adidas Yeezy https://www.yzyshoes.us.com/ Yeezy Shoes https://www.yeezy-shoes.us.com/ Yeezy Shoes https://www.yeezy-700.us.com/ Yeezy 700 https://www.yeezyadidas.de/ Adidas Yeezy https://www.yeezys.co/ Yeezy https://www.jordan-1.org/ Nike Jordan 1 https://www.air-jordan1.com/ Jordan 1 https://www.nikejordan1.com/ Jordan 1 https://www.jordan-1s.com/ Jordan 1 https://www.jordan1.uk.com/ Jordan UK https://www.jordans-shoes.com/ Jordans Shoes https://www.jordan-shoes.us.com/ Jordan https://www.nikeuk.uk.com/ Nike https://www.yeezy-450.com/ Yeezy https://www.jordanretro4.com/ Jordan 4 https://www.nikeoutletstoreonlineshopping.us/ Nike Outlet https://www.yeezy.uk.com/ YEEZY UK https://www.adidasyeezyofficialwebsite.com/ Adidas Yeezy https://www.yeezy350.uk.com/ Yeezy uk https://www.air-jordan4.com/ Jordan 4 https://www.yeezy-supply.com/ Yeezys Supply https://www.yeezyfoam-runner.com/ Yeezy https://www.yeezyslides.us.com/ YEEZY https://www.ray-ban-glasses.us.com/ Ray Bans Sunglasses https://www.adidasuk.uk.com/ Adidas https://www.nflshopofficialonlinestore.com/ NFL Shop https://www.yeezys-slides.us.com/ Yeezys https://www.yeezyadidass.us.com/ Adidas Yeezys https://www.350yeezy.us.com/ Yeezy 350 V2 https://www.yeezyy.us.com/ Yeezys https://www.yeezy350s.us.com/ Yeezy Boost 350 https://www.shoesyeezys.us.com/ Yeezys Shoes https://www.yeezys.uk.com/ Yeezy https://raybansales.us/ Ray Bans https://www.adidasyeezy.uk.com/ Yeezy https://www.yzyshoes.us.com/ Yeezys https://www.yeezy-slides.org/ Adidas Yeezy Slides https://www.yeezy-shoes.us.com/ Yeezy https://www.yeezy-700.us.com/ Yeezy https://cheapyeezysonline.com/ Cheap Yeezys https://yeezysupplystore.com/ Yeezy Supply https://www.yeezyshoesonline.com/ Yeezy Shoes https://www.yeezys-supply.us.com/ Yeezy Supply https://www.yeezys-supply.us.com/ Yeezys https://www.yeezy-s.com/ Yeezy Shoes https://www.yeezy-s.us/ Yeezy https://yeezysale.us/ Yeezy https://www.pandorajewelries.us.com/ Pandora Jewelry Tags:yeezy shoes, Yeezy, Adidas Yeezy

Enter your comment. Wiki syntax is allowed:
T H U᠎ H E