In exercise 4 use PyScripter and Python to add fields and run field calculations for the dissolved feature class from exercise 3. This script adds two fields to the feature class and runs field calculations for both as well. The first calculation creates a field that has the area in kilometers and the second calculation creates a field that contains the snow compactness for all areas larger than 2 kilometers.
Methods
Figure 1.1 and 1.2 show the Python script that was used to create the fields, run the calculations and selections.
(Figure 1.1: Part 1 of the script)
(Figure 1.2: Part 2 of the script)
Conclusion
Figure 2.1 shows a map of the results of the above script.
(Figure 2.1: Map of the compactness of the Ski Resort Areas)
No comments:
Post a Comment