Skip to main content
Question

How to know if an "overlap" include another same field ?


Forum|alt.badge.img

For example, I have two features with different code in their field "code".

These two areas overlap when I use the transformer "AreaOnAreaOverlayer"and I have a field named "overlap" where it writes "2".

 

But now, I would like a field to know if these overlap include the same code of no. In this example, the features (area) haven't the same code.

 

Thank you!

5 replies

dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • June 30, 2022

You can use the Group Processing option in the AreaOnAreaOverlayer set to the field code. In doing so, it will only compare features with the same code.


Forum|alt.badge.img
dustin wrote:

You can use the Group Processing option in the AreaOnAreaOverlayer set to the field code. In doing so, it will only compare features with the same code.

It doesn't work, because with this method I have less features than without this method. I don't want only with the same code I want all features with the information in a field if they are the same code or no and nothing is rejected. The result is weird


dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • June 30, 2022
lachichi_farah wrote:

It doesn't work, because with this method I have less features than without this method. I don't want only with the same code I want all features with the information in a field if they are the same code or no and nothing is rejected. The result is weird

I see. In that case, I would try using the Generate List option to create a list of the field codes for each overlapping area. You will need to filter after that to determine the areas where all the list attributes. For that, I would look into the ListHistogrammer, ListElementCounter, and TestFilter.


Forum|alt.badge.img
lachichi_farah wrote:

It doesn't work, because with this method I have less features than without this method. I don't want only with the same code I want all features with the information in a field if they are the same code or no and nothing is rejected. The result is weird

I don't know if it works or no.

To make the list, in transformer "AreaOnAreaOverlayer" options, I filled as you see on the screenshot (click on "expand post"). But in output, it doesn't change anything, I can't see de list. It's normal? After that I used the transformers you told me but with "Listelementcounter" the field "count" is the same that the field "overlap", it seems weird, and with the transformer "ListHistogram" I see anything. I don't know if it's normal. I think I didn't understand you ?

Thank you for your helpareaarea


redgeographics
Celebrity
Forum|alt.badge.img+48
lachichi_farah wrote:

It doesn't work, because with this method I have less features than without this method. I don't want only with the same code I want all features with the information in a field if they are the same code or no and nothing is rejected. The result is weird

The number of overlaps would be the same as the number of list elements. You can then use a ListSearcher to see if the value for CODE_SITE appears in the list.


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