Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International...

30
Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas Dewald, US EPA, Office of Water Georeferencing to the NHD: Moving from ArcView to ArcIMS ESRI User Conference July 9, 2002

Transcript of Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International...

Page 1: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Authors:James Rineer, RTI International (presenter)Anne Marie Miller, RTI International (presenter)Michael Plastino, US EPA, Office of WaterThomas Dewald, US EPA, Office of Water

Georeferencing to the NHD: Moving from ArcView to ArcIMS

ESRI User ConferenceJuly 9, 2002

Page 2: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support ServicesI. Background

National Hydrography Dataset (NHD)

Reach Indexing Concepts and Tools (PC-based Reach Indexing Tools and Web-based Reach Indexing Tools)

II. Web-Based Reach Indexing Tool Overview

Goals

Technology

Design overview

Interface Tier

Middle Tier

Database Tier

III. Conclusion

Overview 2

Presentation Overview

Page 3: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

Acknowledgments

Overview 3

The work described in this presentation was funded by the U.S. Environmental Protection Agency under Contract 68-C-01-007 with Research Triangle Institute (RTI). RTI gratefully acknowledges this support.

Disclaimer: Although the research described has been funded wholly or in part by the U.S. Environmental Protection Agency Contract 68-C-01-007 to Research Triangle Institute, it has not been subject to the Agency's review and therefore does not necessarily reflect the views of the Agency, and no official endorsement should be inferred. Mention of trade names or commercial products does not constitute endorsement or recommendation for use.

Page 4: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

National Hydrography Dataset (NHD)

Set of spatial data that contains information about surface water features.

Surface water features are represented by "reaches," which are assigned unique identifiers

Contains 52 feature types: streams, lakes, reservoirs, canals and dams.

Based upon the USGS Digital Line Graph (DLG) hydrography and the EPA Reach File Version 3 (RF3).

1:100,000-scale NHD (higher resolution NHD - in progress)

NHD is available online at http://nhd.usgs.gov/

Background 4

Page 5: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

PC-based Reach Indexing Tool (PC-RIT)

Georeferencing (reach indexing): The process of describing (or locating) entities in a GIS coverage; assigning an NHD reach code to the waterbody feature.

PC-based Reach Indexing Tool (PC-RIT): ArcView 3.x extension; Tool for georeferencing surface water features to reaches in NHD.

Background 5

Page 6: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

Linear Events

Background 6

Rch_code F_meas T_meas Entity_ID10190006000012 0.00 100.00 WB-A10190006000013 0.00 100.00 WB-A10190006000014 0.00 100.00 WB-A

Rch_code F_meas T_meas Entity_ID10190006000012 0.00 100.00 WB-A10190006000013 0.00 100.00 WB-A10190006000014 0.00 50.00 WB-A

Page 7: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

Point Events

Background 7

Rch_code P_meas Entity_ID10180005000135 89.40 DWS-1

Page 8: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

Waterbody Features

Background 8

Stored as shapefiles, but function similarly to event tables when used with the Reach Indexing Tools.

Page 9: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Selection Tools

2D Feature Indexing

Dynamic Segmentation

Metadata

Support Functions

Page 10: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

Why Move to the Web?PC-RIT WebRIT

No client software required

PC-RIT requires each user to purchase ArcView

Makes application accessible to more users

Any computer with an internet connection and compatible web browser can use the WebRIT

Instant updates and bug fixes available for all users

Instant feedback of results

Up-to-date data sources

Faster and easier validation of data

Background 10

Page 11: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-GRTSWeb-based Reach Indexing Tool for the Grants Reporting

Tracking System

Georeference the locations of nonpoint source projects funded by grants issued under Section 319 of the Clean Water Act

Nonpoint source projects are tracked in GRTS

Use WebRIT-GRTS to capture which NHD reaches a grant affects

First step towards moving some of the PC-based RIT functionality to the web

Background 11

Page 12: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

Why Expand WebRIT-GRTS? Index partial linear reaches

Index points along reaches

Index waterbody reaches

Central capture of indexed data

Update existing NHD indexing

Validate existing NHD indexing

Enter, update, and validate other types of spatial data (polygonal and lat/lon data)

WebRIT-GRTS

Background 12

WebRIT-WATERS

Page 13: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

NHD Indexing Tools

ESE02/2001

PC-RIT

WebRIT-GRTS

WebRIT-WATERS

Background 13

Page 14: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERS(Web-based Reach Indexing Tool for Watershed Assessment, Tracking, and Environmental

Results)

WebRIT

14

Goals

Perform dynamic segmentation tasks using Oracle Spatial’s Linear Referencing System (LRS)

ArcIMS can not do dynamic segmentation by itself

Support a large number of users

Allow for Entering, Validating, and Updating of multiple types of data (Points, Lines, Polygons)

Utilize a centralized database for data collection

Distribute the processing between the client browser, web server, and database servers

Page 15: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERSDesign Overview

WebRIT

15

WebRIT

ArcSDE

Periodic batch process

ArcIMS HTML viewer

IGD RAD

Interface Tier

Middle Tier

Database Tier

ASP / COM+ DLL OO4OArcIMS Connector

Internet Information Server (IIS)

NOTE: WebRIT contains Oracle Spatial tables registered with ArcSDE

WebRIT = WebRIT-WATERS DatabaseKey

RAD = Reach Address Database

IGD = Integrated GeoDatabase

Page 16: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERS(Web-based Reach Indexing Tool for Watershed Assessment, Tracking, and Environmental

Results)

WebRIT

16

Technology

ArcIMS – HTML viewer model

ArcSDE – Running on Oracle

IIS/ASP – Microsoft’s Internet Information Server and Active Server Pages

Oracle/Oracle Spatial

PL/SQL stored procedure perform dynamic segmentation tasks and create the spatial data

Oracle Spatial tables are registered with SDE

Oracle Objects for OLE (OO4O) – component used for connection to Oracle in VB or ASP

Page 17: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERSDesign Overview

WebRIT

17

WebRIT

ArcSDE

Periodic batch process

ArcIMS HTML viewer

IGD RAD

Interface Tier

Middle Tier

Database Tier

ArcIMS Connector

Internet Information Server (IIS)

NOTE: WebRIT contains Oracle Spatial tables registered with ArcSDE

WebRIT = WebRIT-WATERS DatabaseKey

RAD = Reach Address Database

IGD = Integrated GeoDatabase

OO4OASP / COM+ DLL

Page 18: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERS(Web-based Reach Indexing Tool for Watershed Assessment, Tracking, and Environmental

Results)

WebRIT

18

Interface Tier

Started with ArcIMS HTML viewer and added custom JavaScript code and ASP pages

Enhanced the selection tools to work more like ArcView

The selection set can be added to, subtracted from, or inverted

The user can undo the last selection

Selections can be made on multiple layers at one time

Selections are drawn on the acetate layer and stored in JavaScript global variables

Page 19: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERS(Web-based Reach Indexing Tool for Watershed Assessment, Tracking, and Environmental

Results)

WebRIT

19

Page 20: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERSDesign Overview

WebRIT

20

WebRIT

ArcSDE

Periodic batch process

ArcIMS HTML viewer

IGD RAD

Interface Tier

Middle Tier

Database Tier

ArcIMS Connector

Internet Information Server (IIS)

NOTE: WebRIT contains Oracle Spatial tables registered with ArcSDE

WebRIT = WebRIT-WATERS DatabaseKey

RAD = Reach Address Database

IGD = Integrated GeoDatabase

OO4OASP / COM+ DLL

Page 21: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERS(Web-based Reach Indexing Tool for Watershed Assessment, Tracking, and Environmental

Results)

WebRIT

21

Middle Tier

Relies on IIS, ArcIMS Connector and, ASP

HTML forms are completed and are submitted to ASP processing pages (Selection Box)

ASP processing pages call OO4O to launch procedures stored in the Oracle database [perform dynamic segmentation, create spatial data, and other spatial analyses]

The ASP processing pages use the HTML “onload” event to call JavaScript functions (Refresh Map)

ASP pages also perform server side data validation and error capture and recovery

Page 22: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERSDesign Overview

WebRIT

22

WebRIT

ArcSDE

Periodic batch process

ArcIMS HTML viewer

IGD RAD

Interface Tier

Middle Tier

Database Tier

ArcIMS Connector

Internet Information Server (IIS)

NOTE: WebRIT contains Oracle Spatial tables registered with ArcSDE

WebRIT = WebRIT-WATERS DatabaseKey

RAD = Reach Address Database

IGD = Integrated GeoDatabase

OO4OASP / COM+ DLL

Page 23: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERS(Web-based Reach Indexing Tool for Watershed Assessment, Tracking, and Environmental

Results)

WebRIT

23

Database Tier

Utilizes Oracle and Oracle Spatial to perform dynamic segmentation tasks creating or updating events (Stored Procedures)

NHD data is stored in a central EPA SDE/Oracle database called the Reach Address Database (RAD)

Streets, States, Counties, Cities, and other contextual data layers are stored in a central EPA SDE/Oracle database called the Integrated GeoDatabase (IGD)

The WebRIT database maintains its spatial data in Oracle Spatial Spatial Data Option (SDO) format which is registered with ArcSDE and visualized through ArcIMS

Changes to spatial data in Oracle are automatically updated in ArcIMS after the map is refreshed

Page 24: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

WebRIT

24

Page 25: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

WebRIT

25

Page 26: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERS: Metadata

WebRIT

26

Page 27: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

WebRIT

27

Page 28: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

WebRIT-WATERSDesign Overview

WebRIT

28

WebRIT

ArcSDE

Periodic batch process

ArcIMS HTML viewer

IGD RAD

Interface Tier

Middle Tier

Database Tier

ArcIMS Connector

Internet Information Server (IIS)

NOTE: WebRIT contains Oracle Spatial tables registered with ArcSDE

WebRIT = WebRIT-WATERS DatabaseKey

RAD = Reach Address Database

IGD = Integrated GeoDatabase

OO4OASP / COM+ DLL

Page 29: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

Conclusion

Conclusion

29

WebRIT-WATERS uses ArcIMS for the mapping interface and ArcSDE with Oracle Spatial to perform the dynamic segmentation tasks

ASP is the glue that holds Oracle Spatial and the ArcIMS HTML viewer model together

Benefits to using ArcIMS in combination with Oracle Spatial include

Create/Enter spatial data through the web

Ability to do dynamic segmentation through the web

A multi-tiered application with distributed processing

Spatial data is stored in a non proprietary format

Modular approach

Provide georeferencing tools to a large audience

Page 30: Authors: James Rineer, RTI International (presenter) Anne Marie Miller, RTI International (presenter) Michael Plastino, US EPA, Office of Water Thomas.

Toxicology Research Support Services

More Information

Reach indexing tools and training

http://www.epa.gov/owow/monitoring/georef/

EPA’s Watershed Assessment, Tracking, and Environmental Results (WATERS) integrated information system for the nation’s surface waters

http://www.epa.gov/waters/

National Hydrography Dataset

http://nhd.usgs.gov/

Conclusion

30