Skip to main content
Question

Bufferer for polyline with Z


Hi all,

 

 

I have a shapefile of 3D polyline. I want to apply a bufferer to these polylines using an attribute to create a surface. However, when I use the Bufferer transformer on the polylines, it seems that I loose Z values of the polylines. How can I fix that?

 

 

Hope you could help.

 

 

Best regards,

 

 

Asher

7 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • March 14, 2015
Hi,

 

 

Assuming that all vertices belonging to a line have identical z coordinate value:

 

- extract z-value before buffering (ElevationExtractor),

 

- restore it after buffering (3DForcer).

 

 

Takashi

  • Author
  • March 15, 2015
Hi Takashi,

 

 

Unfortunaltely, the Z value is not the same at start and end ...

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • March 15, 2015
What kind of surface do you need to create from the 3D line having different z-values for each vertex?

 

Could you please illustrate with some examples?

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • March 16, 2015
Can you not just use the polylines in a SurfaceModeller?

 

 

Or segemtne the lines and use the points in a SurfaceModeller?

Forum|alt.badge.img
  • December 7, 2017
A pitty that the OP, @asherk, didnt respond, i'm facing the same problem.

 

In my case, i want to make a Mesh out of polylines with changing z-values over the line as well (public transport lines). I used a surfacedraper and a ascii grid to get the z-values, but the bufferer "deletes" them.

 

Any workaround tipps for me? If i understand this transformer right, the surfacemodeller won't help me here...

 


danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • December 12, 2017
uaclement wrote:
A pitty that the OP, @asherk, didnt respond, i'm facing the same problem.

 

In my case, i want to make a Mesh out of polylines with changing z-values over the line as well (public transport lines). I used a surfacedraper and a ascii grid to get the z-values, but the bufferer "deletes" them.

 

Any workaround tipps for me? If i understand this transformer right, the surfacemodeller won't help me here...

 

Hi @uaclement

 

,

 

Could you share us the template file ( .FMWT )?

 

 

Thanks,

 

Danilo

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • January 12, 2018

Buffering is a 2D operation. That said it feels like you could take one copy of the lines and buffer them. Take another copy and put them into the draper as the breaklines (or the points/lines -- I'll let someone else advise or just experiment). Then put the buffered ones (now polygons) in to get Z values assigned.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings