1 / 41

Web Services in the U.S. Geological Survey StreamStats Web Application

Web Services in the U.S. Geological Survey StreamStats Web Application. U.S. Department of the Interior U.S. Geological Survey. GEOWS 2009 Session: Web Services & Geospatial Systems February 03, 2009 10:30 – 12:15 John D Guthrie

aiko-hull
Download Presentation

Web Services in the U.S. Geological Survey StreamStats Web Application

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web Services in the U.S. Geological Survey StreamStats Web Application U.S. Department of the Interior U.S. Geological Survey

  2. GEOWS 2009 Session: Web Services & Geospatial Systems February 03, 2009 10:30 – 12:15 John D Guthrie USGS Geography Discipline, Denver, COjdguthrie@usgs.gov Christine Dartiguenave, ESRI cdartiguenave@esri.com Kernell G. Ries III USGS Water Discipline, Baltimore, MDkries@usgs.gov U.S. Department of the Interior U.S. Geological Survey

  3. Outline • Brief Description of StreamStats • The Benefits of using Web Services • Web Services Used by StreamStats • Web Services Provided by StreamStats

  4. StreamStats Web Application • Provides published streamflow statistics, basin and climatic characteristics, and other information for data-collection stations • Allows users to select points on ungaged streams. Using GIS at this location: • Computes the basin-drainage boundary • Measures the drainage-basin characteristics for the computed basin-drainage boundary • Estimates Flows at the requested point using regression equations

  5. http://streamstatsags.cr.usgs.gov/ut_ss/index.htm

  6. Uses of Streamflow Statistics • Design of structures such as roads, bridges, culverts, dams, locks, and levees • Water resources planning and management • Flood-plain mapping for zoning and insurance rate setting • Instream flow determinations for pollution control and habitat protection • Design and permitting of facilities such as wastewater-treatment plants, hydropower plants, and water-supply reservoirs

  7. StreamStats Web Application • Current implementation status by state

  8. StreamStats Web Application • Web Application usage statistics

  9. What are Web Services? • Web Services provide the means for software to connect to other software applications in order to build distributed, service-oriented systems

  10. Web Service Benefits • Allows applications to remotely access the functionality of another system • Reduces duplication of effort • In data collection and processing • Typical StreamStats state application requires 50-75 GB storage • Conversion from ArcIMS to ArcGIS Sever took 2 ½ yrs

  11. Web Services used by StreamStats NHD* Web Services Zoom to Reach/Measure StreamStats Application GNIS** Web Services Zoom to Place Name * National Hydrography Dataset ** Geographic Names Information System

  12. Web Services used by StreamStats • Zoom To reach code

  13. Web Services used by StreamStats

  14. Web Services used by StreamStats • Zoom To NHD reach and measure

  15. Web Services used by StreamStats • NHD Web Services • Send Request to NHD Server http://rockys97/NHDService/Service.asmx/NHDlatlong?reach=16020201000056&measure=25 • NHD Returns <?xml version="1.0" encoding="utf-8" ?> <string xmlns="http://tempuri.org/"> -111.80355,39.71302</string>

  16. Web Services used by StreamStats • Zoom To place name

  17. Web Services used by StreamStats

  18. Web Services used by StreamStats

  19. Web Services used by StreamStats

  20. Web Services used by StreamStats • Benefits of using NHD and GNIS • StreamStats does not need to maintain a copy of the data • StreamStats does not have to maintain the code • Shorter development time

  21. Web Services provided by StreamStats • The First StreamStats Web Service • Developed in 2007 using ArcGIS Server 9.1 • Follows Open Geospatial Consortium Standards for Geography Markup Language Boundary Delineation KWMIP* StreamStats Web Services Climate Data * Kentucky Watershed Modeling Information Portal

  22. Web Services provided by StreamStats • First StreamStats Web Service

  23. Web Services provided by StreamStats • StreamStats Web Services used by KWMIP

  24. Web Services provided by StreamStats • StreamStats Web Services used by KWMIP

  25. Web Services provided by StreamStats • StreamStats Web Services used by KWMIP

  26. Web Services provided by StreamStats • StreamStats Current Web Services • Use ArcGIS 9.2 • Follow FIPSPUB 5-2 for State Abbreviations • Use the Coordinate Reference System as defined OGC and EPSG Geodesy Parameters V 6.6 • Provide increased tool capability • Watershed Delineation • Basin Characteristics • Flow Statistics • Download

  27. Web Services provided by StreamStats • StreamStats Current Web Services • Output Formats • Extensible Markup Language (XML) • Keyhole Markup Language (KML) • Serialized ArcObjects (ESRI ArcGIS 9.2) • Geography Markup Language (GML) will be available soon • See users instructions at: http://streamstats.usgs.gov/webservices/ Use of trade, product, or firm names is for descriptive purposes only and does not imply endorsement by the U.S. Government.

  28. Web Services provided by StreamStats Note: HTTP POST is not working externally at this time.

  29. Web Services provided by StreamStats • HTTP GET Format http://streamstatsags.cr.usgs.gov/ss_ws_92/Service.asmx/getStreamstats?x=-111.1563&y=39.4725&inCRS=EPSG:6.6:4326&StateNameAbbr=UT&getBasinChars=C&getFlowStats=C&getGeometry=KML&downloadFeature=False&clientID=UT%20Demo

  30. Web Services provided by StreamStats • What the request does • Computes the basin-drainage boundary at the X and Y point requested • Measures the drainage-basin characteristics for the computed basin-drainage boundary • Estimates Flows at the requested point using regression equations • Projects the points and polygon to WGS84 • Generates a KML file

  31. Web Services provided by StreamStats

  32. Web Services provided by StreamStats Save as .kml file

  33. Web Services provided by StreamStats

  34. Web Services provided by StreamStats

  35. Web Services provided by StreamStats

  36. Web Services provided by StreamStats

  37. StreamStats Web Application • Batch Processing Tool • A tool is under current development as a desktop application • Will be able to download the tool • Input: shapefile of points • Must be snapped to the stream grid • Projection must be defined • Output: shapefile of basin delineations • Can include Basin Characteristics • Can include Flow Statistics

  38. StreamStats Web Application • Batch Processing Tool

  39. Questions? http://StreamStats.usgs.gov/webservices/

  40. GEOWS 2009 Session: Web Services & Geospatial Systems February 03, 2009 10:30 – 12:15 John D Guthrie USGS Geography Discipline, Denver, COjdguthrie@usgs.gov Christine Dartiguenave, ESRI cdartiguenave@esri.com Kernell G. Ries III USGS Water Discipline, Baltimore, MDkries@usgs.gov U.S. Department of the Interior U.S. Geological Survey

More Related