Skip to main content
Question

Point elevation from 3D polyline

  • August 28, 2017
  • 6 replies
  • 112 views

Hi,

I have a set of 2D points and a disolved polyline in 3D formate that they overlap (with 100% precision) If the elevation (Z coordinates) of the polyline is removed.

I am looking for a solution to elevate the points such that the intersection of each point matches the 3D polyline.

Best regards

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3704 replies
  • August 28, 2017

You can use the SurfaceDraper for that. If the 3D line has less than 3 vertices or the vertices are all aligned you'll need to add at least one other 3D line (doesn't matter where if you're absolutely certain the 2D points match the 3D line perfectly/


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • August 28, 2017

You can use the SurfaceDraper for that. If the 3D line has less than 3 vertices or the vertices are all aligned you'll need to add at least one other 3D line (doesn't matter where if you're absolutely certain the 2D points match the 3D line perfectly/

Great solution @redgeographics!

 


redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3704 replies
  • August 28, 2017
Great solution @redgeographics!

 

Thanks! I'm surprised it works to be honest, but it'll of course go (horribly) wrong if the points are not exactly on the lines.

 

 


takashi
Celebrity
  • 7843 replies
  • August 28, 2017

You can use the SurfaceDraper for that. If the 3D line has less than 3 vertices or the vertices are all aligned you'll need to add at least one other 3D line (doesn't matter where if you're absolutely certain the 2D points match the 3D line perfectly/

I agree that the SurfaceDraper works a treat. FYI, the PointOnLineOverlayer (as far as I know, in FME 2016.1+) transfers elevation (and measure) from a line to matched points. However, it's not documented explicitly. @NatalieAtSafe, I hope that someone from Safe confirms that the behavior of the POLO is correct as its specifications, and I think the Help should be updated to describe the functionalities (elevation and measure will be transferred from line to matched points) if it was correct.

  • Author
  • 2 replies
  • August 28, 2017

Thanks, it worked perfectly. I used densifier to add vertices to the 3D polyline and SurfaceDroper worked it magic.


Forum|alt.badge.img+2
  • 1891 replies
  • September 11, 2017

I think NeighborFinder should also transfer the Z values from the line (Candidate) to the points (bases)