CLAWRIM Wiki

Computing Lab for Advanced Water Resources Informatics and Modeling

User Tools

Site Tools


canopy:tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
canopy:tutorial [2020-03-15 10:54 am] hchocanopy:tutorial [2020-04-19 08:49 pm] (current) hcho
Line 14: Line 14:
   * ArcPy   * ArcPy
   * Python 2 standard module: os   * Python 2 standard module: os
-  * Feature Analyst(tm) 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. We are currently planning on developing a fully open source solution without using ArcGIS and Feature Analyst.
Line 61: Line 59:
 </code> </code>
     * After it is finished the ''naipqq_layer'' will now contain the '' naipqq_phyregs_field'' which will be titled ‘PHYREGS’ in this case. Each NAIP QQ will now have the region id’s of each region it is in.      * After it is finished the ''naipqq_layer'' will now contain the '' naipqq_phyregs_field'' which will be titled ‘PHYREGS’ in this case. Each NAIP QQ will now have the region id’s of each region it is in. 
-    * The secondary purpose of ''canopy.assign_phyregs_to_naipqq'' is to calculate the area in square kilometers of each physiographic region. The ''phyregs_layer'' will now contain the '' phyregs_area_sqkm_field'' which will be titled ‘AREA_SQKM’. The ‘AREA_SQKM’ field will be used with the ''generate_ground_truthing_points'' function. +    * The secondary purpose of ''canopy.assign_phyregs_to_naipqq'' is to calculate the area in square kilometers of each physiographic region. The ''phyregs_layer'' will now contain the '' phyregs_area_sqkm_field'' which will be titled ‘AREA_SQKM’. The ‘AREA_SQKM’ field will be used with the ''generate_gtpoints'' function. 
   -  Next you will assign the phyreg_ids, which in our case will be:<code python>   -  Next you will assign the phyreg_ids, which in our case will be:<code python>
 phyreg_ids = [3] phyreg_ids = [3]
Line 69: Line 67:
 </code> </code>
   -  Next you will reproject all input NAIP tiles to the projection specified by the '' spatref_wkid'' in ''canopy_config'' which will be [[https://spatialreference.org/ref/sr-org/usa-contiguous-albers-equal-area-conic-usgs-version-landfire/|WKID-102039: USA Contiguous Albers Equal Area Conic USGS version.]]. Use the following code to use the reprojection function<code python>   -  Next you will reproject all input NAIP tiles to the projection specified by the '' spatref_wkid'' in ''canopy_config'' which will be [[https://spatialreference.org/ref/sr-org/usa-contiguous-albers-equal-area-conic-usgs-version-landfire/|WKID-102039: USA Contiguous Albers Equal Area Conic USGS version.]]. Use the following code to use the reprojection function<code python>
-canopy.reproject_input_tiles(phyreg_ids)+canopy.reproject_naip_tiles(phyreg_ids)
 </code> </code>
     * Reprojected tiles with the suffix ‘rm_’ will be saved to ''.../CanoPy_sample_data/2009 Analysis/Blue_Ridge_Mountains/Inputs'' which will have been created by the function.     * Reprojected tiles with the suffix ‘rm_’ will be saved to ''.../CanoPy_sample_data/2009 Analysis/Blue_Ridge_Mountains/Inputs'' which will have been created by the function.
canopy/tutorial.1584291250.txt.gz · Last modified: 2020-03-15 10:54 am by hcho

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki