forked from WPRDC/property-information-extractor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·249 lines (230 loc) · 14.6 KB
/
index.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<!DOCTYPE html>
<html lang="en">
<head profile="http://www.w3.org/2005/10/profile">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="./favicon.ico">
<title>3RWW 2013 SUSTAIN Model Results</title>
<!--link href='https://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'-->
<!--link rel="stylesheet" href="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/themes/css/cartodb.css"/-->
<link rel="stylesheet" href="css/leaflet.draw.css">
<link rel="stylesheet" href="css/styleguide.min.css">
<link rel="stylesheet" type="text/css" href="css/icons.css">
<link rel="stylesheet" href="css/style.css">
<!--link href='https://fonts.googleapis.com/css?family=Titillium+Web' rel='stylesheet' type='text/css'-->
<!-- Load Leaflet from CDN-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<script src="https://unpkg.com/[email protected]/dist/leaflet-src.js"></script>
<!-- Load Esri Leaflet from CDN -->
<script src="https://unpkg.com/[email protected]"></script>
<script src="https://unpkg.com/[email protected]"></script>
<!-- Esri Leaflet GP -->
<script src="https://unpkg.com/[email protected]"></script>
<!-- Esri Terraformer -->
<script src="https://cdn-geoweb.s3.amazonaws.com/terraformer/1.0.6/terraformer.min.js"></script>
<script src="https://cdn-geoweb.s3.amazonaws.com/terraformer-arcgis-parser/1.0.5/terraformer-arcgis-parser.min.js"></script>
<link rel="icon" type="image/png" href="./favicon.ico">
</head>
<body>
<div class="HeaderFixed HeaderFixed--blue color-white">
<div class="Grid">
<div class="Grid-inner Grid-inner--vcenter">
<div class="Grid-cell Grid-cell--col6">
<h1 class="u-iblock u-malign main-title">
<strong>
<img src="static\logo.png" style="height:0.75em;"/>
<span style="color: white;">3RWW SUSTAIN Data Extractor</span>
<span style="font-size:0.5em;">alpha</span>
</strong>
<br>
<!--A mapping tool for extracting 3RWW's local results from the EPA SUSTAIN analysis model.-->
</h1>
</div>
<div class="Grid-cell Grid-cell--col6 clearfix u-txt-right">
<nav class="">
<ul class="u-ilist">
<!--li class="u-malign"><a href="https://twitter.com/share" class="twitter-share-button"
data-url="http://wprdc.github.io/property-information-extractor/"
data-text="Custom download tool for Allegheny County Property Assessment Data @wprdc"
data-via="wprdc">Tweet</a>
<script>!function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + '://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js, fjs);
}
}(document, 'script', 'twitter-wjs');</script>
</li-->
<li class="u-malign u-lspace-xl">
<p class="button button--white">
<a class="js-about" href="#">About</a>
</p>
</li>
<li class="u-malign u-lspace-xl">
<p class="button button--white">
<a href="https://github.com/civicmapper/3rww-sustain-app">Fork Me on Github</a>
</p>
</li>
<li class="u-malign u-lspace-xl">
<p class="button button--white">
<a href="http://data.3rww.opendata.arcgis.com/">Get All The Data</a>
</p>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<div class="Grid-inner Grid-inner--hfull">
<div class="Grid-cell fill-blue Grid-cell--col8 u-pr">
<div id="map" class="u-pa">
<button type="button" class="infoArrow btn btn-primary btn-arrow-right">Use these buttons to draw your
polygon
</button>
</div>
</div>
<div class="Grid-cell Grid-cell--col4 sidebar-cell">
<div id="sidebar" class="u-padding-m u-pr">
<ul class="List-blocks">
<li class="u-vspace-xxl">
<div class="u-vspace-l">
<span class="Number-circle u-txt-center fill fill-dark color-white u-iblock u-malign">1</span>
<h2 class="u-iblock u-malign"><strong>Choose Area</strong></h2>
</div>
<ul class="ListOptions u-vspace-xxl">
<!--TODO: build list based on regions JSON -->
<li>
<label>
<input class="u-iblock u-malign" type="radio" for="option1" name="area"
value="currentView" checked>
<p class="u-iblock u-malign" id="option1"> Current Map View</p>
</label>
</li>
<li>
<label>
<input class="u-iblock u-malign" type="radio" for="option2" name="area"
value="municipality">
<p class="u-iblock u-malign" id="option2"> Municipality </p>
</label>
</li>
<li>
<label>
<input class="u-iblock u-malign" type="radio" for="option4" name="area"
value="watershed">
<p class="u-iblock u-malign" id="option4"> Watershed </p>
</label>
</li>
<li>
<label>
<input class="u-iblock u-malign" type="radio" for="option3" name="area" value="polygon">
<p class="u-iblock u-malign" id="option3"> Draw a polygon</p>
</label>
</li>
</ul>
</li>
<li class="u-vspace-xxl">
<div class="u-vspace-l clearfix">
<div class="u-left">
<span class="Number-circle u-txt-center fill fill-dark color-white u-iblock u-malign">2</span>
<h2 class="u-iblock u-malign"><strong>Choose SUSTAIN green stormwater infrastructure suitability layers to extract</strong></h2>
</div>
<p class="u-right"><a href="#" id="selectAll">Select All</a></p>
</div>
<div class="u-vspace-xxl">
<div class="well u-pr" style="height: 215px;">
<div class="well-inner" style="height: 215px; overflow: auto;">
<ul class="list-group checked-list-box fieldList u-pr">
</ul>
</div>
</div>
</div>
</li>
<li>
<div class="u-vspace-l">
<span class="Number-circle u-txt-center fill fill-dark color-white u-iblock u-malign">3</span>
<h2 class="u-iblock u-malign"><strong>Extract!</strong></h2>
</div>
<ul class="u-ilist u-vspace-xxl">
<li>
<p class="button button--small button--blue">
<a href="#" id="Output_SHP" class="btn btn-sm btn-success download">Shapefile</a>
</p>
</li>
<li>
<p class="button button--small button--blue">
<a href="#" id="Output_DXF" class="btn btn-sm btn-success download">DXF</a>
</p>
</li>
<!--li>
<p class="button button--small button--blue">
<a href="#" id="Output_GeoJSON" class="btn btn-sm btn-success download">GeoJSON</a>
</p>
</li-->
</ul>
</li>
<li>
<br><br>
<ul class="u-ilist u-vspace-xxl">
<li>
<!--style="display: none;"-->
<p class="button button--small button--blue" id="gpmessages" style="display: none;">
<a href="#" class="btn btn-sm btn-success">Extraction started <img src="static\loading2.gif"/></a>
</p>
</li>
<li>
<p class="button button--small button--green" id="gpsuccess" style="display: none;">
<a href="#" class="btn btn-sm btn-success">Extraction complete!</a>
</p>
</li>
<li>
<p class="button button--small button--red" id="gperror" style="display: none;">
<a href="#" class="btn btn-sm btn-success">There was an error during extraction. Please try again.</a>
</p>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<div id="modal" class="u-valign u-txt-center" style="display: none;">
<div class="modal-inner u-iblock u-malign u-padding-xxl">
<div class="modal-header navbar-custom u-vspace-xxl">
<h1>3RWW EPA SUSTAIN</h1>
<h2>2013 Green Stormwater Infrastructure (GSI) Suitability Model Results</h2>
<h3>Data Extractor<em> alpha (version 0.1.0, December 2016)</em></h3>
</div>
<div class="modal-body u-txt-left">
<p>This map illustrates <a href="http://3riverswetweather.org/">3 Rivers Wet Weather's (3RWW)</a> 2013 analysis from the EPA <span style="font-weight: bold;"><span style="font-style: italic;">System Urban Stormwater Treatment and Analysis Integration</span></span> (SUSTAIN) model for the ALCOSAN service area. The data on this map is intended to help municipalities comply with certain wet weather regulations, particularly the Pennsylvania Department of Environmental Protection's geographic information systems (GIS) map submission requirements of the <a href="http://www.3riverswetweather.org/municipalities/municipal-consent-orders/interim-municipal-consent-orders">Phase I Municipal Consent Orders</a>. The SUSTAIN modeling work was conducted by 3RWW and finalized May 15 2013.</p><br>
<p>SUSTAIN is a <span style="font-weight: bold;">planning-level </span> analysis that could be used by municipalities to evaluate the potential for incorporating site specific green stormwater infrastructure (GSI) methods and projects into their source reduction studies. <span style="font-weight: bold;">The results are informational only. Locations for GSI must be further screened based on local information, hydraulic performance (runoff capture), and cost to determine the true feasibility of GSI for sites and projects. </span></p><br>
<p>More info on SUSTAIN can be found on the <a href="https://www.epa.gov/water-research/system-urban-stormwater-treatment-and-analysis-integration-sustain">US EPA website</a>. See <a href="http://www.3riverswetweather.org/stormwater-green-solutions/3rww-epa-sustain-modeling">3RWW's SUSTAIN page</a> or contact <a href="mailto:[email protected]">[email protected]</a> for more information about 3RWW's model run.</p>
<br><hr><br>
<p>This open-source web mapping tool is based on the <a href="https://github.com/WPRDC/property-information-extractor">WPRDC's Property Information Extractor</a>, which was based on Chris Whong's <a href="https://github.com/chriswhong/plutoplus" >plutoplus</a>. In adapting those tools for this project, we made some big changes under the hood. To utilize ArcGIS Server map services, this version swaps out the <a href="https://carto.com/docs/carto-engine/carto-js/" >CARTO JS javascript library</a> used by those tools for the <a href="https://esri.github.io/esri-leaflet">Esri-Leaflet javascript library</a>.</p><br>
<p>This is an <em>alpha</em>-stage product and therfore a work-in-progress. Please send questions, concerns, or feature requests for this software to <a href="mailto:[email protected]">[email protected]</a>...or, file an issue or submit a pull request on <a href="https://github.com/civicmapper/3rww-sustain-app/">Github</a>!</p>
</div>
</div>
</div>
<!--div id="infoWindow">...
</div-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!--script src="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.13/cartodb.js"></script-->
<script src="js/leaflet.draw.js"></script>
<!--script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/3.0.3/handlebars.min.js"></script-->
<script src="js/script.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-81005076-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>