Difference between revisions of "Arc Change Attribute Type"

From Tuflow
Jump to navigation Jump to search
Line 1: Line 1:
This tool loads all input shp files from a model simulation into a common ArcGIS Map window.
+
This tool allows you to modify a shapefile attribute (field) type whist keeping the same order of attributes. An example of its use is the modification of the pBlockage attribute in a 1d_nwk layer from 'double' to 'text' for the new Australian Rainfall and Runoff blockage scenarios. Please note that at present the script only allows for the change of attributes to type text.  
  
* Enter the simulation tlf reference
+
<li>Firstly select the 'Change Attribute Type Script' from the ArcTUFLOW toolbox.
 
+
[[File:Arc_Change_att_tool.JPG|300px]]
 
 
[[File:Arc_Change_att_tool.JPG|500px]]
 
 
<br>
 
<br>
 
<br>
 
<br>
The shp files will be loaded using a predefined symbology for common TUFLOW input file types. This is determined based on the prefix of the file name. For example, the symbology for 2d_code and 2d_zsh files are shown below.<br><br>
+
<li>Populate the tool dialogue and run<br><br>
 
[[File:Arc_Change_att_tool_iface.JPG|600px]]
 
[[File:Arc_Change_att_tool_iface.JPG|600px]]
 
<br><br>
 
<br><br>

Revision as of 15:29, 15 May 2017

This tool allows you to modify a shapefile attribute (field) type whist keeping the same order of attributes. An example of its use is the modification of the pBlockage attribute in a 1d_nwk layer from 'double' to 'text' for the new Australian Rainfall and Runoff blockage scenarios. Please note that at present the script only allows for the change of attributes to type text.

  • Firstly select the 'Change Attribute Type Script' from the ArcTUFLOW toolbox. Arc Change att tool.JPG

  • Populate the tool dialogue and run

    Arc Change att tool iface.JPG

    Up
    Go-up.png Back to ArcGIS