Select to view content in your preferred language

How to Overlay/add shapefiles that don't have the same number of polygons

1720
3
12-20-2022 11:54 PM
MarianaReyes
Emerging Contributor

Hello everyone I'm having a hard time trying to overlay my 3 shapefiles. for instand what I'm trying to look at are the LULC changes. For instance I was hoping to be able to do this

Raw data:

Shapefile 1 - Year 2007

OIDTYPEID
1Forest100
2Shrub 200
3Grass300
4Mudflat400

 

Shapefile 2 - Year 2018

OIDTYPEID
1Shrub020
2Forest010
3Mudflat040
4Mudflat040

 

Shapefile 2 - Year 2021

OIDTYPEID
1Forest001
2Shrub 002
3Grass003
4Grass003

 

What I want my Shapefile to look like: 

OIDTYPEID
1Forest -Shrub- Forest121
2Shrub -Forest-Shrub212
3Grass-Mudflat-Grass343
4Mudflat-Mudflat-Grass443

 

I cannot make this poutcome because the size and and number polygons in each shapefile are different. I want to add the ID number to see th changes. I already did the raster to check the rate of change using this raster equation:  ("current raster"-1)*9 + "previous raster" -1 but its hard to put all three togethger to to see which parts changed (in terms of visualization. Thank you in advanced

0 Kudos
3 Replies
MarianaReyes
Emerging Contributor

Hello everyone I'm having a hard time trying to overlay my 3 shapefiles. for instand what I'm trying to look at are the LULC changes. For instance I was hoping to be able to do this

Raw data:

Shapefile 1 - Year 2007

OIDTYPEID
1Forest100
2Shrub 200
3Grass300
4Mudflat400

 

Shapefile 2 - Year 2018

OIDTYPEID
1Shrub020
2Forest010
3Mudflat040
4Mudflat040

 

Shapefile 2 - Year 2021

OIDTYPEID
1Forest001
2Shrub 002
3Grass003
4Grass003

 

What I want my Shapefile to look like: 

OIDTYPEID
1Forest -Shrub- Forest121
2Shrub -Forest-Shrub212
3Grass-Mudflat-Grass343
4Mudflat-Mudflat-Grass443

 

I cannot make this poutcome because the size and and number polygons in each shapefile are different. I want to add the ID number to see th changes. I already did the raster to check the rate of change using this raster equation:  ("current raster"-1)*9 + "previous raster" -1 but its hard to put all three togethger to to see which parts changed (in terms of visualization. Thank you in advanced

0 Kudos
DanPatterson
MVP Esteemed Contributor

In raster world use 

Combine (Spatial Analyst)—ArcGIS Pro | Documentation

it produces a unique combination of the classes


... sort of retired...
0 Kudos
Robert_LeClair
Esri Notable Contributor

If you've got the Image Analyst extension to ArcGIS Pro, then the Change Detection in ArcGIS Pro is your best best.

RE:  the field calculation of text to integer based is pretty easy.  For example - int(!year2007!) + int(!year2018!) + int(!year2021!)  Output is written to a short integer field.

0 Kudos