Skip to main content

Hello everyone,

I need to transform a 2D road graph into 3D. Each vertex of the lines should receive the correct Z value from a DTM.

I found this solution, which works very well:

 

 

The problem with this workflow is that it is very slow. My region is very large: the graph has about 150,000 elements, and the vertex extractor generates more than 2,000,000 vertices, which slows down the script.

 

Any suggestions?

Not sure if this is faster, but I think the SurfaceDraper was created to do this?

(Just to be sure, when doing a production run, FeatureCaching is off right?)


Thank you ​@nielsgerrits but the SurfaceDraper is 10-15% slower than my workflow..


Hi ​@pdorio ,

I suppose that using Chopper (Mode: By Vertex, Maximum Vertices: 1) instead of VertexExtractor could be faster.