Skip to main content

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

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.


Reply