Hello,
I am trying to get the elevation using a NeighborFinder. I get this error:
IFMELine was given an index beyond its current range (see workspace in attached)
And I get 'nan' for the elevation. Any idea why?
Hello,
I am trying to get the elevation using a NeighborFinder. I get this error:
IFMELine was given an index beyond its current range (see workspace in attached)
And I get 'nan' for the elevation. Any idea why?
You do not have any z value on neither the line or the point.
(no z value does not mean that the elevation is zero, it means there is no such value)
You could add elevation at the creator(s) or use a 3d forcer to add a z value.
btw nan = not a number
I think the error has been caused by a defect of the NeighborFinder. Hope someone from Safe to clarify this.
You do not have any z value on neither the line or the point.
(no z value does not mean that the elevation is zero, it means there is no such value)
You could add elevation at the creator(s) or use a 3d forcer to add a z value.
I found a workaround but indeed, it seems there is a bug with the "Take z From Candidate" functionality of the NeighborFinder.
I use a densifier to densify the vertex of the candidates. Then I used a chopper (1 vertex) to get points. I recorded the z in an attribute and use merge attribute in the NeighborFinder. Not efficient but effective :)