Select to view content in your preferred language

How to split polygon using another polygon

2962
2
05-17-2022 10:00 PM
Labels (1)
CaitlinLisha
New Contributor

Have two data layers: forest and property boundaries that cover a large area.

I need to split the forest layer by the properties so that I can calculate the area of forest within each property.

How do I go about doing this? 

Tags (3)
0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

Sounds like you want

Tabulate Area (Spatial Analyst)—ArcGIS Pro | Documentation


... sort of retired...
0 Kudos
JohannesLindner
MVP Frequent Contributor

Intersect 

JohannesLindner_0-1652864180029.png

 

But if you are using ArcGIS Pro and have write access to the property feature class, you can also do this with CalculateField.

Use Arcade as Expression Type and use this expression (change "TestPolygons" to the name of your forest feature class):

// load the forest fc
var forests = FeatureSetByName($datastore, "TestPolygons")
// get all forests intersecting the current feature
var intersecting_forests = Intersects($feature, forests)
// calculate the sum of all forest areas in the current feature
var forest_area = 0
for(var forest in intersecting_forests) {
    forest_area += Area(Intersection($feature, forest))
}
// return that sum
return forest_area

JohannesLindner_1-1652865781433.png

 


Have a great day!
Johannes