Skip to main content
Question

Get common attribute value from points in polygon

  • January 22, 2018
  • 1 reply
  • 19 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.

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.

1 reply

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • January 22, 2018

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.