Skip to main content

Hi

I tried to join two linear datatset using this approach

I created (snipper) center point from one lines dataset and then I used the spatial relator to join the info to the 2 lines dataset but due to the mismatch of the coordsys of two datasets(I suppose) the center point doesn't touch the line (see picture)

imageI suppose that this is related to the tolerance during reprojection do you have same experience ?

 

thx

 

PS I solved creating a buffer for the center points

 

Francesco

Getting points exactly on lines is hard to do because of floating point precision coordinates. (Coordinates in FME are not snapped to a grid.)

 

As an alternative for the buffering and spatial relator method you can use a PointOnLineOverlayer and use a Point Tolerance.

 

If you want to find out what a usable tolerance is, you can get a NeighborFinder to find the distances, but I think these are very small.


Reply