forked from chriswhong/plutoplus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·213 lines (196 loc) · 10.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
<!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>WPRDC Property Assessment Data Downloader</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'>
<link rel="icon" type="image/png" href="./favicon.png">
</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> <span style="color: #2C9AE9;">wp</span><span
style="color: white;">rdc</span> | Property Information Extractor</strong> BETA</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="http://github.com/WPRDC/property-information-extractor">Fork Me on Github</a>
</p>
</li>
<li class="u-malign u-lspace-xl">
<p class="button button--white">
<a href="http://github.com/chriswhong/plutoplus">The Original</a>
</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="neighborhood">
<p class="u-iblock u-malign" id="option4"> Neighborhood </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 Columns</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>Download!</strong></h2>
</div>
<ul class="u-ilist u-vspace-xxl">
<li>
<p class="button button--small button--blue">
<a href="#" id="geojson" class="btn btn-sm btn-success download">geoJson</a>
</p>
</li>
<li>
<p class="button button--small button--blue">
<a href="#" id="csv" class="btn btn-sm btn-success download">CSV</a>
</p>
</li>
<li>
<p class="button button--small button--blue">
<a href="#" id="shp" class="btn btn-sm btn-success download">Shapefile</a>
</p>
</li>
<li>
<p class="button button--small button--blue">
<a href="#" id="cartodb" class="btn btn-sm btn-success download">Open in CartoDB</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">
<h2><strong>P</strong>roperty <strong>I</strong>nformation <strong>E</strong>xtractor</h2>
<h5>Get yourself a slice of this data!</h5>
</div>
<div class="modal-body u-txt-left">
<p class="u-vspace-l">You can use this tool to filter and download Allegheny County Property Assessment data
hosted on
the <a href="http://www.wprdc.org">WPRDC</a>. You can select a municipality, a neighborhood or even draw
the region you'd like data for.
</p>
<p class="u-vspace-l">Currently only property assessment data is available, but we plan to link more
datasets in the future!
</p>
<p class="u-vspace-l"><a href='https://data.wprdc.org/dataset/property-assessments'>Get the entire data set
on the WPRDC.</a></p>
<p class="u-vspace-l">This project is <strong>heavily</strong> based on Chris Whong's <a
href="http://chriswhong.github.io/plutoplus/"> NYC Pluto data Downloader</a>. You can read his
write-up on his project at <a href="http://www.chriswhong.com">chriswhong.com</a>.
Support open Data!</p>
</div>
</div>
</div>
<div id="infoWindow">ZONING, ALL COMPONENTS 1 consists of the zoning classification occupying the greatest percentage of
the tax lot's area and a commercial overlay and special purpose district and limited height district assigned to the
tax lot
</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>
</body>
</html>