-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhack4mn.html
129 lines (125 loc) · 4.09 KB
/
hack4mn.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<link href='stylesheets/pig.css' rel='stylesheet' type='text/css' />
<script src='javascripts/pig.js'></script>
</head>
<body>
<div class='slide'>
<h2>Quick Overview of MPCA APIs</h2>
<p>David Fawcett MN.IT @ MPCA </p>
<p><div class="wrap"><div class="logo"><img src="images/mnitlogo.jpg"/></div><div class="mpcalogo"><img src="images/mpca-logo.jpg"/></div><div class="clear"> </div></div></p>
<p></p>
<p>[email protected]</p>
<p>@davidfawcett</p>
</div>
<div class='slide'>
<h2>Here we go!</h2>
<ol>
<li>Past, Present, Future </li>
<li>Intro to MPCA Data API </li>
<li>Examples </li>
</ol>
</div>
<div class='slide'>
<h2>The Past </h2>
<p>Strategic Goal - Open the Data </p>
<p>Environmental Data Access > 10 yrs </p>
<p>Surface Water, Air, Groundwater, 'Neighborhood' </p>
<p>Web + CSV and Excel download </p>
</div>
<div class='slide'>
<h2>The Present </h2>
<p>Watershed Pages</p>
<p><a href="http://cf.pca.state.mn.us/water/watershedweb/wdip/index.cfm" target="_blank">simple</a> and
<a href="http://cf.pca.state.mn.us/water/watershedweb/wdip/search_more.cfm" target="_blank">advanced</a> interfaces</p>
<p>RESTful Services</p>
<p><div class="leglogo"><img src="images/logo-legacy.png"/></div></p>
</div>
<div class='slide'>
<h2>The Future </h2>
<p>Groundwater services</p>
<p>What's in My Neighborhood - documents</p>
</div>
<div class='slide'>
<h2>Minnesota Geocommons</h2>
<p>One Place for MN Spatial Data</p>
<p>CKAN Platform</p>
<p>By July 2014</p>
</div>
<div class='slide'>
<h3>Your input is <em>highly</em> valued!</h3>
<p>Any ideas on what data to publish or how to publish it are welcome.</p>
<p>[email protected]</p>
</div>
<div class='slide'>
<h2>Enough already, the services!</h2>
<p>What data can I get?</p>
<p><em><i>Everything that you can see in the apps...</i></em></p>
<p>What can I do with it?</p>
<p><em><i>Whatever you want to...</i></em></p>
</div>
<div class='slide'>
<h2>Search for</h2>
<p>waterbodies</p>
<p>monitoring stations</p>
<p>assessments</p>
<p>impairments</p>
<p>projects</p>
</div>
<div class='slide'>
<h2>Get details</h2>
<p>analytical results</p>
<p>causes of impairments</p>
<p>contact info</p>
</div>
<div class='slide'>
<h2>Show me the data</h2>
<p><a href="http://services.pca.state.mn.us" target="_blank">services.pca.state.mn.us</a></p>
</div>
<div class='slide'>
<h2>GET Request</h2>
<p>base URI + parameters</p>
<p><a href="http://services.pca.state.mn.us/api/v1/surfacewater/monitoring-stations?stationId=27-0016-00-201&format=text" target="_blank"><code>/monitoring-stations?stationId=27-0016-00-201</code></a></p>
</div>
<div class='slide'>
<h2>Returns Data</h2>
<p>formats include json, jsonp, text, csv, and tab</p>
<p><code>"data":[{"stationName":"BLACK LAKE", "resultCount":"44"}]</code></p>
</div>
<div class='slide'>
<h2>Options</h2>
<p>request only specific 'columns'</p>
<p>page results - limit and offset</p>
</div>
<div class='slide'>
<h2>Self Documenting</h2>
<p><code>/api<em>/doc</em>/v1/surfacewater/projects</code></p>
<p><code>/api/v1/surfacewater/projects</code></p>
</div>
<div class='slide'>
<h2><a href="http://fawcett.github.io/mpca-examples/" target="_blank">Examples</a></h2>
</div>
<div class='slide'>
<h3>Again, input <em>please</em>!</h3>
<p></p>
<p></p>
<p>http://fawcett.github.io/mpca-examples/</p>
<p>[email protected]</p>
<p>@davidfawcett</p>
</div>
<script type="text/javascript">
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '4e36eb1ef5a1f53d6f000001');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
</script>