My spatial data are recorded multiple years, providing one polygon for a year. (Polygon is derived from raster data, so I can use rasters instead if it will be easier to run my calculations).
I start with year t1. Next year, I add my t2 shapefile. I want to know, which of my t2 polygons are adjacent to t1 year and which are not? for t3, which polygon are adjacent to t1 or t2, and which are not?
I think it can be done by some type of proximity analysis, but I can't really figure out which one. My expected results is a table containing the information if the certain polygon is adjacent to any of the polygons from the previous year (TRUE, FALSE) and what is the area of the polygon per year.
here are some dummy data: https://uloz.to/x8o66ow8/t1-poly-zip
I prefer to use R, but I can also use ArcGIS. I'm not python experienced user.
I think, that one of the solutions could be:
- calculate area of all year (t1, t2, t3)
- merge and dissolve t1 + t2
- calculate area of polygons which are not merged with t1 and distract this area from the total area of t2
- merge and dissolve t1 + t2 + t3
- calculate area of polygons which are not merged with t1 + t2 and distract this area from the total area of t3
but I hope to automate the process..