Skip to main content
Question

LengthCalculator in 3D

  • October 14, 2013
  • 2 replies
  • 111 views

Is there a known issue with the LengthCalculator transformer when it comes to 3D? I am getting the same (2D) results even if I select 3 in Length Dimension.

 

 

These are linear features I am talking about (read from a shapefile) that definitely have a 3D coordinate (it shows up in Data Inspector). I don't know if it matters but these features have measures enabled on them as well, all being nil.

 

 

I am running FME Desktop 2013 SP3 x64.
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.

2 replies

takashi
Celebrity
  • October 15, 2013
Hi,

 

 

In my simple testing, the LengthCalculator calculated correct 2D and 3D lengths. Input line: start (0, 0, 0) to end (0, 1, 1) Results: 2D length = 1 3D length = 1.4142135623731   When z-coordinates of all vertices of a line are the same value, 3D length will be equal to 2D length. Did you check z-coordinates of the line vertices?

 

 

Takashi

Forum|alt.badge.img
  • October 20, 2014
Hi

 

 

If we got a 2d-line and would like to calculate the "true geodetic length" for the entire line and at the same time drape it onto a surface/DEM - how can we compute the length?

 

 

Thanks

 

 

andre