Skip to main content
Solved

Spatial Join of Points with Lines

  • October 31, 2022
  • 1 reply
  • 156 views

vxn43
Supporter
Forum|alt.badge.img+18

I have Lines (13,000 Street Centerlines) and Points (7,000 Intersections). I want to do a spatial join of the Lines and Points so that the attributes of each point is merged with the 1 to 4 lines that intersect each point.

 

I just started using FME, after completing the training last month. What Transformer(s) would you recommend I use for this process?

 

My goal is to have the lines each have the CROSS_ST_NAMES field which is in the points layer be joined to each line that intersects a point. In the points layer, the CROSS_ST_NAMES field has no <null> values, when they are merged with the lines there must be no <null> values. Below is a screenshot of what I am working with. Each line is a street centerline, each point is an intersection.

 

SpatialJoin screenshot for FME Forum

Best answer by f.kemminje

point on line overlayYou can use the tranformer PointOnLineOverlayer.

make sure the setting Merge attributes are checked. and Accumulation mode merge incoming is set.

if the points are not overlapping, you can use bufferer transformer with a small buffer distance to buffer the points slightly to touch the lines.

View original
Did this help you find an answer to your question?

1 reply

f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • Best Answer
  • November 1, 2022

point on line overlayYou can use the tranformer PointOnLineOverlayer.

make sure the setting Merge attributes are checked. and Accumulation mode merge incoming is set.

if the points are not overlapping, you can use bufferer transformer with a small buffer distance to buffer the points slightly to touch the lines.


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