canopy:user_manual
Table of Contents
CanoPy user manual
CanoPy is the Python module for the Georgia Canopy Analysis 2009 project sponsored by the Georgia Forestry Commission (GFC). For further information about this project, please refer to the CanoPy page.
This document explains how to use the CanoPy module. For technical details, please read the technical manual. Also refer to the tutorial.
Authors
- Huidae Cho, Ph.D.
Requirements
- ArcGIS Desktop 10.x
- ArcPy
- Python 2 standard module: os
- Feature Analyst™ by the Textron Systems
- Automated Feature Extraction (AFE) models trained using Feature Analyst
We are currently planning on developing a fully open source solution without using ArcGIS and Feature Analyst.
How to use the CanoPy module
- Clone the CanoPy GitHub repository
git clone https://github.com/HuidaeCho/canopy.git
- Copy
canopy_config-example.py
tocanopy_config.py
- Edit
canopy_config.py
to recognize your layers and folder structures - Start ArcMap
- Add Physiographic_Districts_GA.shp. Its layer name is
phyregs_layer
incanopy_config.py
- Add naip_ga_2009_1m_m4b.shp. Its layer name is
naipqq_layer
incanopy_config.py
- Open the Python window from within ArcMap
- Import the canopy module
import sys sys.path.append('C:/path/to/the/canopy/module') import canopy
- Assign physiographic region IDs to the naipqq layer
canopy.assign_phyregs_to_naipqq()
- Add physiographic region IDs to process to
phyreg_ids
phyreg_ids = [8, 7]
- Reproject original NAIP QQ tiles to the target projection
canopy.reproject_naip_tiles(phyreg_ids)
- Run trained AFE models to classify canopy and non-canopy cells
- Convert AFE output files to the final seamless canopy GeoTIFF file per physiographic region
canopy.convert_afe_to_canopy_tiff(phyreg_ids)
canopy/user_manual.txt · Last modified: 2020-04-19 08:46 pm by hcho