Skip to main content
Archived

Linear NeighborFinder (as opposed to radial)

Related products:Integrations
  • September 19, 2017
  • 4 replies
  • 2 views
  • siennaatsafe
    siennaatsafe
  • mrmartinstreet
  • DanAtSafe
    DanAtSafe

Instead of finding neighbors set a radial distance from the feature, find neighbors that only fall in a particular linear direction or azimuth. It would be nice to have limited or unlimited distance and neighbors, and even nicer to have a lateral tolerance for how close to the line a prospective neighbor might be.

This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

4 replies

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • September 20, 2017

Hi @mrmartinstreet The NetworkCostCalculator might do what you want. There's a good example at https://knowledge.safe.com/articles/30048/creating-time-and-distance-isolines-using-the-netw.html


Forum|alt.badge.img
Hi Dan. That is interesting, but it isn't what I'm after. The current NeighborFinder uses a radial pattern to locate the closest neighbors that match a given criteria. This is the most suitable method for finding geographic neighbors. I'm looking for a more specialized tool for finding neighbors in a more linear, grid-like environment (like a drawing title block). For example, based on the location of a known piece of text, find all of the text elements that are directly in line with that piece of text above it in the TB. Right now I'm using coordinates in Python, but of course it would be easier if there was a transformer already fit to purpose.

 

 


fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • October 2, 2017

Hi @mrmartinstreet Could you turn the base feature into line in the direction you want and then use that line as the new base feature?


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • October 3, 2017

The NeighborFinder does return an angle, could you not get the list of neighbours and then filter it for those whose angle matches (within tolerance) your azimuth?


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