Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kruijsen committed Apr 5, 2013
1 parent d0ccd3d commit 0c7f408
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,20 @@ Waterstanden

Serves up the most recent water heights in the Netherlands based on the official RWS data. But instead of zips with csvs, a simple json protocol will be used.

## How it works
Because having public data available is awesome, but zipped csvs are not.

1. Grab the zip file from the RWS server.
2. Extract the zipfile.
3. Match the adm file with the dat file.
4. Filter out everything that's not H10.
5. Load into a database?Write JSON file?
## Waterdata

## Why?
Rijkswaterstaat (RWS) is the Dutch government agency responsible for roads and waterways. They have open data available for the water levels. This is supplied as a zipfile that can be downloaded with a bunch of csv files that contain the waterheights data. Alongside this is an xml with metadata.

Because having public data available is awesome, but zipped csvs are not.
In order to serve the data up more easily, this application turns the relevant data into JSON and serves it up, removing the need for unzipping and csv and xml parsing.

## Locations

The locations have the following fields:

* lokatie: The abbreviated location name
* waarde: The last recorded water level
* omschrijving: A description of the location
* coordinaten: An x and y coordinate in WSG84
* laatstBijgewerkt: A silly string representation of the last time the data was updated

0 comments on commit 0c7f408

Please sign in to comment.