Arc Hydro 1 Review of geodatabase issues • Adding shapefiles and coverages into an ArcMap session does not make a geodatabase • Loading shapefiles and coverages into a geodatabase does not make a (efficient) geodatabase. • Ignoring geodatabase capabilities increases cost of development and ownership • When developing data, ignore spatial reference issues at your own peril • SDE and versioning (including disconnected editing) do not replace the need for careful workflow development 2 UC 2006 Tech Session How “Things” Build Up • Database development • Data preparation • Terrain preparation • “Watershed” delineation • “Watershed” characterization • Parameterization Generic Semi-Generic • Model pre and post-processing Model Specific 3 UC 2006 Tech Session Arc Hydro Template Data Model 4 UC 2006 Tech Session Template Data Models Project Data Models FEMA HEC … GIS/IT Standards ISO Template Data Models FGDC Arc Hydro Parcel … OGC ArcGIS Core Data Model Industry Object 5 UC 2006 Tech Session Feature Topology Templates Provide an Important Link Between Project Teams, Standards, and ESRI Software Development Arc Hydro • Extension of geodatabase model for support of water resources applications (template data model) • Culmination of a three year process led by D.R. Maidment through GIS in Water Resources Consortium (Arc Hydro book) • Collection of tools for support of Arc Hydro geodatabase design and basic water resources functions • Starting point for water resources database and application development 6 UC 2006 Tech Session Basic idea: Transition from … Streams Drainage Areas Hydrography Channels Terrain Surfaces Rainfall Response Digital Orthophotos 7 UC 2006 Tech Session Data Model Based on Inventory … and … Follow a drop of water from where it falls on the land, to the stream, and all the way to the ocean. Data Model Based on Behavior 8 UC 2006 Tech Session … to Arc Hydro Data Model Integrate Data Inventory using a Behavioral Model Relationships between objects linked by tracing path of water movement 9 UC 2006 Tech Session Basic Concepts • Define core feature classes for water resources analyses • Establish relationships between core feature classes • Use geometric network for tying pieces together • Mobilization of standard ArcGIS functionality • Custom tools for some of the attribute management • Custom tools for advanced “water resources” functionality 10 UC 2006 Tech Session Data Model Purpose • Target audience: Water resources (surface) community interested in quick start in ArcGIS implementation • Starting point for project model design • Not a “do all” design • Not implementation/application specific, but provides the key components to develop on top of – The user needs to add additional data structures for their specific requirements – still work to be done! 11 UC 2006 Tech Session Template Data Model Approaches Water Resources Floodplain WQ Arc Hydro Permitting 12 UC 2006 Tech Session Arc Hydro Database Definition • A geospatial and temporal data model for water resources that operates within ArcGIS • Five key conceptual areas – Drainage - Drainage areas and stream lines defined from surface topography – Flow network - Connected sets of points and lines showing pathways of water flow – Hydrography - The base data from topographic maps and tabular data inventories – Channel description - A 3-D line representation of the shape of river and stream channels – Time series - Tabular attribute data describing time-varying water properties for any hydro feature 13 UC 2006 Tech Session Arc Hydro Data Model 14 UC 2006 Tech Session Arc Hydro Data Model Details • Detailed representation at the end of corresponding chapters in the book (e.g. p 51) 15 UC 2006 Tech Session 16 UC 2006 Tech Session Arc Hydro Key Fields • Few predefined fields/attributes – Identification/relates • HydroID, NextDownID, DrainID, JunctionID, FeatureID, … • HydroCode, ReachCode, CSCode, … – Measures • LengthKm, AreaSqKm • LengthDown, DrainArea – Auxiliary • FType, Name, Flowdir, … 17 UC 2006 Tech Session HydroID Story • HydroID – a unique integer identifier for every feature within a geodatabase • An internal identifier whose value is used for establishing the relationships within the Arc Hydro data model (HydroID, DrainID, NextDownID, JunctionID, …) • Focus on local (within a geodatabase) uniqueness, but can be made global 18 UC 2006 Tech Session HydroCode Story 19 UC 2006 Tech Session Relationships • Establish a formal (geodatabase) relationship between two feature (object) classes using predefined ID properties. – HydroID-based (e.g. NextDownID, JunctionID, DrainID) • • • • 20 UC 2006 Tech Session “HydroJunctionHasWaterbody” “HydroJunctionHasWatershed” “HydroJunctionHasMonitoringPoint” “MonitoringPointHasTimeSeries” Relationships (an example – “HydroJunctionHasWaterbody” - definition) 21 UC 2006 Tech Session Relationships (an example – “HydroJunctionHasWaterbody” - design) 22 UC 2006 Tech Session Relationships (an example – “HydroJunctionHasWaterbody” - use) 23 UC 2006 Tech Session Connecting to Time Series Flow DrainagePoint HydroID Junction FeatureID Time TimeSeries HydroPoint CrossSection FeatureID of time series is HydroID of the feature the time series describes 24 UC 2006 Tech Session Time Series Data Structure 25 UC 2006 Tech Session Time Series Dilemma • Simplicity in structure – Easy to import and export time series data from other sources – Easy to use standard ArcGIS tabular functionality and SQL statements – Needs “transposition” for efficient rendering of spatial data – Large table with potentially millions/billions of records – Inefficient storage of specific types of temporal data (many to many case) –… • Need more flexibility (but at a cost of complexity) 26 UC 2006 Tech Session Hydro Network • Backbone of Arc Hydro - establishes connectivity between core feature classes • Hydro edges (lines through which water flows) and junctions (confluences, other points of interest) • Other feature classes connected to junctions through relationships (e.g. HydroJunctionHasWatershed) • Allows upstream/downstream tracing (and other out of box ArcGIS network functionality) 27 UC 2006 Tech Session Hydro Network 28 UC 2006 Tech Session Extending Arc Hydro Data Model • Arc Hydro is by design a starting point for complex database design • Arc Hydro data model can be extended with additional feature classes and/or attributes (or some Arc Hydro feature classes can be ignored) • Use additional GIS data sources (GRID & TIN) • Use all existing IDs and tools to minimize duplication of effort 29 UC 2006 Tech Session Extending Arc Hydro Data Model More application specific “stuff” 30 UC 2006 Tech Session Arc Hydro Tools Key Concepts 31 UC 2006 Tech Session Arc Hydro Tools Faces 32 UC 2006 Tech Session Key Concepts • Transitions between the raster and vector worlds – integrated operations • “Relationships between objects linked by tracing path of water movement” Raster Extended Network 33 UC 2006 Tech Session Vector Network Logical Schema Arc Hydro Tools Overview (1) • A set of tools that “exercises” the Arc Hydro model – Integral with standard ArcGIS functionality • Key field (property) management. – HydroID & related IDs – Length/Area measures • Core functions – DEM-based watershed delineation – Network generation – Attribute and network tracing and summary operations 34 UC 2006 Tech Session Arc Hydro Tools Overview (2) • Distribution (version 1.1) – A toolbar with packaged menus and buttons – Supporting documentation/help – ArcGIS 8.3 and ArcGIS 9/9.1 versions • ApFramework – Simplify boring development tasks – Consistent development structure – Starting point for additional functionality development • ApUtilities – Set of utilities common to most ArcObject-based applications developed at ESRI Professional Services in water resources area 35 UC 2006 Tech Session Arc Hydro Tools Overview • The Arc Hydro Toolbar – Terrain Preprocessing – Terrain Morphology – Watershed Processing – Attribute Tools – Network Tools – ApUtilities – Buttons 36 UC 2006 Tech Session (3) Arc Hydro Tools Overview (4) • Terrain Preprocessing – Set of functions for processing of DEMs – Preprocessing of DEM-based data needed for watershed delineation and watershed characteristics extractions 37 UC 2006 Tech Session Arc Hydro Tools Overview (5) • Terrain Morphology – Set of functions for: • Characterization of drainage areas (E-A-V) • Characterization of drainage boundaries (E-A-W) • Area connectivity (“spider web”) 38 UC 2006 Tech Session Arc Hydro Tools Overview (6) • Watershed Processing – Set of tools for watershed delineation and characteristics extraction – Every menu has a Data Management form for setting up the layers to be used in operations associated with that menu (not required as each tool will request input and output data if necessary). 39 UC 2006 Tech Session Arc Hydro Tools Overview • Attribute Tools – Set of tools for attribute management (some of the tools require geometric network) 40 UC 2006 Tech Session (7) Arc Hydro Tools Overview • Network Tools – Network specific tools 41 UC 2006 Tech Session (8) Arc Hydro Tools Overview (9) • ApUtilities – Various utilities common to multiple applications 42 UC 2006 Tech Session Arc Hydro Tools Overview • Buttons – Flowpath tracing – Point delineation – Batch point generation – Assign related identifier – Global point delineation – Trace by NextDownID 43 UC 2006 Tech Session (10) HydroID – Cornerstone of Arc Hydro Tools • Together with relationships, key element in operation of tools ! 44 UC 2006 Tech Session Walk-through • Local delineation • Characterization • Trace on the network using standard network tracing techniques • Trace using NextDownID • Accumulate • Schematization 45 UC 2006 Tech Session Many Aspects of Arc Hydro Database design Marketing Tools Application “Standard” Development environment Saxe, John Godfrey, 1963, “The Blind Man and the elephant”, New York: Whittlesley House 46 UC 2006 Tech Session Elephant illustration ©2002 Jason Hunt www.naturalchild.org/jason Where’s Arc Hydro? • Hydro model page at: support.esri.com/datamodels • Arc Hydro home page at GIS Water Resources Consortium at: www.crwr.utexas.edu/giswr/hydro • Dr.Maidment’s home page at: www.ce.utexas.edu/prof/maidment 47 UC 2006 Tech Session FTP Download Site • ftp: ftp.esri.com • username: RiverHydraulics • password: river.1114 • directory: ArcHydro • Case sensitive • Make sure you log in (most browsers will log you in as anonymous and you will not be able to download) 48 UC 2006 Tech Session