Skip to main content
Question

Neighbour Finder - Keep calculated line within Polygon

  • June 28, 2023
  • 1 reply
  • 32 views

ingalla
Contributor
Forum|alt.badge.img+10

Hi All

I am using the neighbour finder, and it works absolutely fine, however i have noticed that some of the lines cross into the neighbouring polygons as shown on the image below.

The YELLOW Line is the site boundary, and ideally I would like to keep the line within the site boundary, as shown by the RED line. The GREEN line shows what has been calculated.

Anyone have any ideas if this can be done, and if so how...

 

Regards

Andy

 

1 reply

DanAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • June 28, 2023

Hi @ingalla​ The NeighborFinder will get you the closest point on the buildings to the closest point on the street polygon. You could try limiting the search to the edge of the property that is adjacent to the street using a TopologyBuilder. But even then, the line might cross over the neighbor's property. Use a SpatialRelator to find those problem lines. From there, maybe a CenterLineReplacer on the property would help?


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