Skip to main content
Question

updating polygon information, with information from another containing polygon

  • September 9, 2013
  • 6 replies
  • 15 views

I have two data sets containing polygons Table 1 and Table 2 (similar to suburb boundaries Table 1 and individual land parcelsTable 2) I want to update data in Table 2 with data from Table 1 when the polygons in Table 2 are contained inside Table 1. The polygon boundaries are not necessarily 100% coincident

 

 

something along the lines of update data column when polygon table 2 inside polygon table 1

6 replies

david_r
Celebrity
  • September 9, 2013
Hi,

 

 

the SpatialRelator should be suitable for that task. You can either specify INSIDE or INTERSECT for your test criteria.

 

 

David

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 10, 2013
in 2012 it is either within or contains, depending on the order of your filtering.

 

If u use intersect u might need to fliter out objects that marginally cross, overlap or touch and are (more ) outside of the objects that are suppose to contain. Unless that's what u want of course.

 

U can use compound testers  for that.

 

Or even in the realtor expressionvalues using areacalculation etc.

 

Lots of options do the same thing.

 


  • February 14, 2014
In my case I'm working with points, to which I want to add the attributes of its containing polygon (each point has 0 or 1 containing polygons, and there are definitely several hundred points which have a containing polygon).  However on running the Spatial Relator no attributes are added.  I have also tried using the Spatial Filter and the PointOnAreaOverlay and neither of these add attributes either.

Forum|alt.badge.img+5
paddymas wrote:
In my case I'm working with points, to which I want to add the attributes of its containing polygon (each point has 0 or 1 containing polygons, and there are definitely several hundred points which have a containing polygon).  However on running the Spatial Relator no attributes are added.  I have also tried using the Spatial Filter and the PointOnAreaOverlay and neither of these add attributes either.
@paddymas, I had the same problem today and I ended up using PolygonOnAreaOverlayer and a TestFilter with 670K points on 32K grids. My translation picked up 8100 grids without 0 overlaps in 17 minutes. My cardinality was 0 to many points on one grid. Number of points per grid is the overlap attribute of the POAO transformer.

 


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • September 1, 2016

NeighborFinder could do the same.

Use the smaller areas as BASE and the larger as CANDIDATE.

Set maximum distance to 0 and do not treat polygons as line.


Forum|alt.badge.img
  • April 20, 2017

How do you select the smaller area and the largest ?

 

 

Thank you

Reply


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