Skip to main content
Solved

Spatial Join of Points with Lines

  • October 31, 2022
  • 1 reply
  • 179 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.

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.

1 reply

f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • 189 replies
  • 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.