Skip to main content
Solved

Neighbourfinder limited by parcel boundaries

  • November 15, 2024
  • 3 replies
  • 56 views

lambertus
Enthusiast
Forum|alt.badge.img+24

I would like to find for each green point the closest orange building limited by the parcel border the green points are situated in. See the attached image below. The neighbourfinder should do the the trick but should not search in adjacent parcels for closeby buildings. Any suggestions?
 

Ps. This is a snapshot of my data. I have about 700 green points and their parcels and buildings.

 

Best answer by nielsgerrits

Yes this is probably a logical next step.

Another tip is to use the GeometryExtractor and GeometryReplacer to temporarily store the original geometry of a feature to an attribute and restore it after a merge / match / other action.

With the NeighborFinder it sometimes helps to switch the lookup aroud. Instead of looking from points to buildings, look from building for points.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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.

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+62

If you first merge the parcel id to the overlapping buildings and points (SpatialRelator) you can then use that parcel id as group by in the neighbourfinder.


lambertus
Enthusiast
Forum|alt.badge.img+24
  • Author
  • Enthusiast
  • November 15, 2024

@nielsgerrits thanks! Almost solved my problem, a new issue I faced is that some buildings are situated on 2 parcels which leads sometimes to a wrong allocation of parcel id to the buildings. For now I think I have to subdivide my buildings into subpolygons which makes it possible to link the correct parcel ids to these subpolygons.

Building in orange - Parcels in light brown:

 


nielsgerrits
VIP
Forum|alt.badge.img+62
  • Best Answer
  • November 15, 2024

Yes this is probably a logical next step.

Another tip is to use the GeometryExtractor and GeometryReplacer to temporarily store the original geometry of a feature to an attribute and restore it after a merge / match / other action.

With the NeighborFinder it sometimes helps to switch the lookup aroud. Instead of looking from points to buildings, look from building for points.