Skip to main content

I have 2 shapefiles:

  • roadway centerlines
  • house points

 

is there a way to generate lines between each point and the nearest road centerline?

Use a NeighborFinder with the house as base and the roadway centerlines as candidate.

On the MatchedBase port use a VertexCreator in mode Add Point with the x/y values coming from _closest_candidate_x/y

 


Wow, thanks so much! That definitely got it going but it's not drawing all the way back to the road. Did I maybe miss something?candidate1houses1


Wow, thanks so much! That definitely got it going but it's not drawing all the way back to the road. Did I maybe miss something?candidate1houses1

you set the wrong attribute on the y_value


you set the wrong attribute on the y_value

oops, that's embarrassing. Thanks again for coaching me through this. Things look great now!


Reply