Question

Get common attribute value from points in polygon

  • 22 January 2018
  • 1 reply
  • 3 views

I have a points with attribute name 'home_number'.

1. 15a

2. 15b

3. 15c

4. 7a

5. 7b

Points 1-3 are in the first polygon, points 4-5 in the second polygon.

 

I would like to get the common value of the attribute from the points,

 

so that the first polygon is given the value 15 and the second polygon is given the value 7.

It is possible? Please help me.


1 reply

Userlevel 2
Badge +16

I would use:

StringReplacer (regular expression [a-z] to retain numeric values.

PointonAreaOverlayer to get the point attributes on the Area (use the "generate list option to capture multiple points).

ListDuplicateRemover to remove duplicates from the list (e.g. duplicate 15's in the first area).

Then you will end up with a list of unique numeric home_number values per area.

Reply