Hydro Tools

This page contains zip files of tools I have written for ESRI's ArcGIS software. Each zip contains the tool and a readme file that explains how to use the tool.



WRAP Hydro Tools (16 Apr 2004 / 30 Jan 2004)

Download WRAP Hydro Tools for ArcGIS 8

Download WRAP Hydro Tools for ArcGIS 9

This zip file contains the WRAPHydroTools DLL and help file, as well as a readme.txt file that explains how to install the tools.

The WRAP Hydro Tools contain tools for for delineating watersheds and accumulating attributes from watersheds to junctions on the stream network. It was written to support the processing of GIS data for use in the WRAP simulation model.

Update: 16 Apr 2004
Fixed error when using Advanced Tools-->Delineate Watersheds to delineate watersheds for source features with a source attribute whose field name is longer than 10 characters, or whose ObjectID field is longer than 10 characters (i.e. ObjectID_12). NOTE: This bug has only been fixed for the ArcGIS 8 version of the tools

Update: 30 Jan 2004
Fixed broken links in Help File.

Update: 5 Aug 2003
Fixed bug with Insert Junction and Process New HydroJunction Tools. Tool was raising [Error 13: Type mismatch] when the user clicked on the tool to activate it.



Render Utilities (5 Feb 2003)

Download Render Utilities for ArcGIS 8

Download Render Utilities for ArcGIS 9

This DLL contains two tools to help in visualization a set of features and their related features. The Copy Legend tool copies the legend colors from source features to related features, so that associated features are rendered in the same color. The Zoom and Flash tool zooms to each feature, flashes its geometry, and then flashes the geometry of related features.



Intro To ArcObjects (5 Feb 2003)

Download Intro To ArcObjects Module for ArcGIS 8

Download Intro To ArcObjects Module for ArcGIS 9

For those new to programming in ArcObjects, this module provides a simple example of how to gather inputs from ArcMap, perform an edit operation, and store the results in a feature class. The sample code is fully commented with explanations about each step in the procedure. To use the module, unzip modLesson1.bas from the zip file. Then start ArcMap and add the module to ArcMap's VBA environment. As you browse the module, you'll notice one public subroutine that you can call as a macro from ArcMap.



Helpful Tools (18 Mar 2003)

Download Helpful Tools for ArcGIS 8

Download Helpful Tools for ArcGIS 9

This zip file contains modules and forms with routines that I commonly use in my projects. There are subroutines and functions for working with the network, with rasters, with forms, etc.



NWIS (updated 19 Nov 2003)

Download NWIS tool for ArcGIS 8

Download NWIS tool for ArcGIS 9

NWIS is the USGS National Water Information System. The NWIS tool reads USGS gage ID's from gage stations on your map and retrieves stream discharge information from NWIS for a specified period of record. The tool then processes the data and builds a time series table to store the data.

Update: 19 Nov 2003
Fixed bug while showing progress bar:
406
Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page.
SortData S.2

Update: 30 Oct 2003
Updated tool to reflect changes in USGS NWIS URL format for data retrieval

Update: 28 Oct 2003
Updated tool to reflect changes in USGS NWIS URL format for data retrieval

Update: 26 Aug 2003
Fixed "Error adding table to Map" error when no gages were found, or when all USGS Site ID field values were or otherwise invalid.

Update: 11 Aug 2003
Fixed bug causing tool to raise error and stop processing when NULL values exist in FeatureID and USGS Site Fields in Stream Gage feature class. Tool was raising [Invalid use of Null 8] when the user clicked OK on the form entitled "NWIS Inputs". Tool will now ignore gages with NULL values for those fields.



Set Flow Direction (updated 29 Mar 2002)

Download Set Flow Direction tool for ArcGIS 8

Download Set Flow Direction tool for ArcGIS 9

This tool allows the user to manually set flow directions on network edges by clicking on them. It is a handy way of setting flow direction in loops or other network configurations in which the default ESRI Set Flow Direction button cannot determine flow direction.



NextDownID By Pfafstetter Code (6 Mar 2003)

Download NextDownID By Pfafstetter Code tool for ArcGIS 8

Download NextDownID By Pfafstetter Code tool for ArcGIS 9

This tool assigns the ID of the next downstream watershed to the NextDownID field by navigating the Pfafstetter IDs. View the readme file in the ZIP file for information on Pfafstetter codes.



Push Relates (updated 17 Mar 2003)

Download Push Relates tool for ArcGIS 8

Download Push Relates tool for ArcGIS 9

For a given set of features, this tool loops through all relationships that the features are involved in, and selects all related features.



ArcHydro Tools (updated 18 Nov 2003)

Looking for the HydroVectorTools/ArcHydro Tools? You can now find them here.