Title: USGS River Conditions
Author: manifestcreative
Published: <strong>24. januar, 2012</strong>
Last modified: 24. januar, 2012

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/usgs-streamflow-data.svg)

# USGS River Conditions

 Af [manifestcreative](https://profiles.wordpress.org/manifestcreative/)

[Download](https://downloads.wordpress.org/plugin/usgs-streamflow-data.zip)

 * [Detaljer](https://da.wordpress.org/plugins/usgs-streamflow-data/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/usgs-streamflow-data/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/usgs-streamflow-data/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/usgs-streamflow-data/#developers)

 [Support](https://wordpress.org/support/plugin/usgs-streamflow-data/)

## Beskrivelse

This is a WordPress plugin that fetches streamflow and river data from the USGS.
It’s intended use is for river guides and fishing outfitters to report conditions.
It may also be useful for rafting companies and others who offer services related
to rivers and streams.

 * [Documentation on USGS API](http://waterservices.usgs.gov/rest/IV-Service.html)
 * [Data Source](http://waterservices.usgs.gov/nwis/iv?format=json,1.1&stateCd=mt&parameterCd=00060,00065,00010&siteType=ST)
 * [How to Locate USGS sites](http://wdr.water.usgs.gov/nwisgmap/index.html)

## Installation

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Begin by specifying the rivers you’d like to display. Identified as an array within
    the function. `<?php $rivers = usgs_fetch_sites(array('jefferson','madison','bighole','
    beaverhead','ruby'));` ?>
 4. Choose which data parameters to include (stream discharge, temperature, etc), or
    leave blank to include all. `<?php $data_params = usgs_fetch_dataParameters();`?
    >
 5. Place a call to fetch the JSON from USGS `<?php $riverData = usgs_fetch_riverData(
    $rivers,$data_params); ?>`
 6. Display the river data as an unordered list `<?php usgs_display_RiverData($riverData,
    $showMap=false); ?>`
 7. Show a static Google map identifying the locations `<?php usgs_display_map($riverData,'
    riverDataMap','riverMap',650,450,$maptype='terrain',$echo=true); ?>`

## FAQ

#### Will I be able to use this plugin without modifying my theme?

No. You’ll need to have basic familiarity with PHP, HTML and CSS for this plugin
to work as intended. Future releases will attempt to address this and make it more
user friendly.

#### Do you offer support

Generally no. If you wish to request support you may do it [through my personal site](http://philipdowner.com/2012/01/usgs-streamflow-data/).
Since this is my first publicly release plugin, if support requests become overwhelming,
I’ll likely disable support all together.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“USGS River Conditions” er open source-software. Følgende personer har bidraget 
til dette plugin.

Bidragsydere

 *   [ manifestcreative ](https://profiles.wordpress.org/manifestcreative/)

[Oversæt “USGS River Conditions” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/usgs-streamflow-data)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/usgs-streamflow-data/),
tjek [SVN repository](https://plugins.svn.wordpress.org/usgs-streamflow-data/), 
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/usgs-streamflow-data/)
via [RSS](https://plugins.trac.wordpress.org/log/usgs-streamflow-data/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0

 * Public release

## Meta

 *  Version **1.01**
 *  Senest opdateret **14 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 2.9 eller højere **
 *  Testet op til **3.3.2**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/usgs-streamflow-data/)
 * Tags
 * [fishing](https://da.wordpress.org/plugins/tags/fishing/)[USGS](https://da.wordpress.org/plugins/tags/usgs/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/usgs-streamflow-data/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/usgs-streamflow-data/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/usgs-streamflow-data/reviews/)

## Bidragsydere

 *   [ manifestcreative ](https://profiles.wordpress.org/manifestcreative/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/usgs-streamflow-data/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://philipdowner.com/)