Skip to main content
Solved

How to obtain the classification of neighboring attributes of the surface features East and West

  • November 5, 2012
  • 3 replies
  • 41 views

How do I achieve this effect    http://img6.ph.126.net/IzlZ_KPRMTSKD29qP01ZQw==/6598239647028220276.jpg

Best answer by sigtill

A NeighbourhoodAggregator might be usefull? And then afterwards remove those that are not needed (ie the corners) based on the x-y values. You can compare the "centerpoint" of each neighbour and only keep those where the X-coordinates or Y_coordinates are similar to the CenterMapsheet.

 

 

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

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • Best Answer
  • November 5, 2012
A NeighbourhoodAggregator might be usefull? And then afterwards remove those that are not needed (ie the corners) based on the x-y values. You can compare the "centerpoint" of each neighbour and only keep those where the X-coordinates or Y_coordinates are similar to the CenterMapsheet.

 

 


jasonbirch
Contributor
Forum|alt.badge.img+5
  • Contributor
  • November 5, 2012
TopologyBuilder is an awesome way of dealing with cross-edge relationships, peeking into the adjacent polygons.  You may need to do some work with FeatureMergers and list manipulation, but it should give you what you need with a bit of effort.

 

 

If you need to know which direction the attribute is coming from, you may need to expose the coordinates of the nodes on the surrounding lines, and then do some senaky comparisons to the centrepoint polygon coordinate. (If both Lats are greater and in northern hemisphere, it's North edge, etc).

 

 


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • December 1, 2016

or a spatial relator with calculate cardinality = yes and test for relationships_card_line > 0