Skip to main content

I have a list of addresses; each address has a lat/long point that closely represents the center point of the parcel of land associated with that address.

I have a single line street network (SLSN).

With each address point, I would like to create a line (LineBuilder I suspect) from the address point to the closest point/spot on a line segment of the SLSN (which may not be a vertex defined on the line).

I say closest to a point within the line (defined or not defined) because that would represent the shortest path from the address point to the SLSN. Once I have these lines built, I will remove the SLSN geometry and add in the parcel geometry and determine the intersecting point of the "newly" created lines (with the corresponding address attributes associated with the line) and the parcel geometry.

This intersecting point would be the best approximation of the mid-point of the parcel line segment (for the address) and the corresponding SLSN.

Knowing this intersecting point can be used as a base point for where pick up/drop off services would take place (rather than simply using the address' lat/long which may not accurately designate which type of road to use for the service (e.g., FRONT STREET or ALLEY).

If I understand correctly what you want, you are looking for the Neighborfinder. Points are bases, lines are candidates, 1 to find, distance empty. You will then get a closest_base_x,y and closest_candidate_x,y which you can use in VertexCreators to create the line.


Thank you for your response as it is working great.

 

Now I have the line segment from the lat/long point of the address to the corresponding SLSN (FRONT STREET or ALLEY).

With these line segments, if I overlay them on the parcel geometry they naturally intersect. This intersecting point is what I want. This point would represent the "nearest" point within the property that is closest to the SLSN that is used to do collections.

I have started this but I am not familiar with spatial analysis transformers and my obvious (to start) was the Intersector transformer. But using that transformer generates a lot of intersecting points that I do not want.

My second choice was the LineOverAreaOverlayer transformer. This breaks up the line segments from my first question into 2 (and sometimes more) segments). But I cannot seem to figure out how to just get the lat/long of the point of intersection between the lines drawn from my step 1 and the parcel geometery.

 

Hope this makes sense.


Reply