TransWikia.com

How to output 3d geometries via grass plugins v.drape, v.to.3d in qgis?

Geographic Information Systems Asked on June 15, 2021

When I try to process either a 2d Linestring or a 3d MultilinestringZ vector through the v.drape or v.to.3d processing tools in qgis, I get an error stating that it is outputting a 2d geometry instead of 3d and should set a lco flag to force 3d geometry:

WARNING: Vector map <output660b8ef0560648d183efaf4701ffc6ea> is 3D. Use format specific layer creation options (parameter 'lco') to export <in 3D rather than 2D (default).

This checks out because the file (that is created successfully) reports Geometry: Line(Linestring) in the layer properties

So, what flag is needed to force a 3d geometry with v.drape? I looked at the v.drape docs but could not determine what the lco flag should be.

One Answer

Leaving the default output (temporary/memory .gpkg) for the grass processing tools was the problem. If you output to a real shapefile, v.to.3d and v.drape function normally and output MultiLinestringZ geometries without any special lco flags.

Answered by jamierob on June 15, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP