Skip to main content
Solved

Merging attributes that overlap


bjudes
Enthusiast
Forum|alt.badge.img+10

I am creating an index and have a couple of tiles that have multiple images associated with them. See below, I have two polygons that overlap, they have similar attributes, but I want them to merge so both are in the same field (Example 3). Is this possible?

1. First Polygon

S2_File_Nam123_456_2018.tif

2. Second Polygon

S2_File_Nam123_456_2017.tif

3. Desited outcome.

S2_File_Nam123_456_2018.tif, 123_456_2017.tif

 

 

Thanks

B

Best answer by ebygomm

If the grids are identical, you can use the matcher to build the list. Match on 2d geometry, and tick generate list, then concatenate the list on features that come out the SingleMatched port. Everything else will be output via the NotMatched port

View original
Did this help you find an answer to your question?

6 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • August 20, 2019

If you use a dissolver to merge the overlapping polygons and tick generate a list, using your filename attribute, you can then use a list concatenator to create your desired outcome


bjudes
Enthusiast
Forum|alt.badge.img+10
  • Author
  • Enthusiast
  • August 27, 2019
ebygomm wrote:

If you use a dissolver to merge the overlapping polygons and tick generate a list, using your filename attribute, you can then use a list concatenator to create your desired outcome

HI @egomm, thanks for the help. This worked part of the way. I've managed to get the list to create in a separate column as you suggested. But, it is bringing in every tiff file name that is within a contiguous bunch that have two values, rather than just the two tiles that directly overlap. Can I get it to isolate just the directly overlapping tiles? Thanks for the help.

B


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • August 27, 2019
bjudes wrote:

HI @egomm, thanks for the help. This worked part of the way. I've managed to get the list to create in a separate column as you suggested. But, it is bringing in every tiff file name that is within a contiguous bunch that have two values, rather than just the two tiles that directly overlap. Can I get it to isolate just the directly overlapping tiles? Thanks for the help.

B

Are you able to share a screenshot of your data? There are number of spatial comparison transformers that will build a list that you can use. Without seeing the data it's hard to recommend what would be best.

It may be that you could just negative buffer your data and then dissolve so adjacent polygons are not dissolved but true overlaps are.


bjudes
Enthusiast
Forum|alt.badge.img+10
  • Author
  • Enthusiast
  • August 28, 2019
ebygomm wrote:

Are you able to share a screenshot of your data? There are number of spatial comparison transformers that will build a list that you can use. Without seeing the data it's hard to recommend what would be best.

It may be that you could just negative buffer your data and then dissolve so adjacent polygons are not dissolved but true overlaps are.

I've attached screenshots of the data in the folder.

The attribute table of the index I'm trying to make.

The grid index itself.

An example of the tiff tiles, there are 79 tiles in the screenshot below.

Thanks for the help.

B


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • Best Answer
  • August 28, 2019

If the grids are identical, you can use the matcher to build the list. Match on 2d geometry, and tick generate list, then concatenate the list on features that come out the SingleMatched port. Everything else will be output via the NotMatched port


bjudes
Enthusiast
Forum|alt.badge.img+10
  • Author
  • Enthusiast
  • August 29, 2019
ebygomm wrote:

If the grids are identical, you can use the matcher to build the list. Match on 2d geometry, and tick generate list, then concatenate the list on features that come out the SingleMatched port. Everything else will be output via the NotMatched port

Thanks this worked a treat. You are great.


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