Solved

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

  • 5 November 2012
  • 3 replies
  • 1 view

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

Best answer by sigtill 5 November 2012, 11:02

View original

3 replies

Badge +21
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.

 

 

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).

 

 

Badge +3

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

Reply