forked from SPTKL/geo-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspatial_options.py
436 lines (436 loc) · 13 KB
/
spatial_options.py
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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
# spatial_options = [
# {'label': '2010 Census Block', 'value': '2010 Census Block'},
# {'label': '2010 Census Tract', 'value': '2010 Census Tract'},
# {'label': 'Building Identification Number (BIN)', 'value': 'Building Identification Number (BIN) of Input Address or NAP'},
# {'label': 'BOROUGH BLOCK LOT (BBL)', 'value': 'BOROUGH BLOCK LOT (BBL):'},
# {'label': 'PUMA Code', 'value': 'PUMA Code'},
# {'label': 'GRC', 'value': 'Geosupport Return Code 2 (GRC 2)'},
# {'label': 'GRC2', 'value': 'Geosupport Return Code (GRC)'},
# {'label': 'Community District', 'value': 'COMMUNITY DISTRICT:'},
# {'label': 'Business Improvement District (BID)', 'value': 'Business Improvement District (BID)'},
# {'label': 'City Council District', 'value': 'City Council District'},
# {'label': 'Civil Court District', 'value': 'Civil Court District'},
# {'label': 'Community School District', 'value': 'Community School District'},
# {'label': 'Election District', 'value': 'Election District'},
# {'label': 'Borough Name', 'value': 'First Borough Name'},
# {'label': 'Street Name', 'value': 'First Street Name Normalized'},
# {'label': 'House Number', 'value': 'House Number - Display Format'},
# {'label': 'Latitude', 'value': 'Latitude'},
# {'label': 'Longitude', 'value': 'Longitude'},
# {'label': 'NTA Name', 'value': 'NTA Name'},
# {'label': 'ZIP Code', 'value': 'ZIP Code'},
# {'label': 'NTA', 'value': 'Neighborhood Tabulation Area (NTA)'}
# ]
#
spatial_options = [{
'label': 'First Borough Name',
'value': 'First Borough Name'
}, {
'label': 'House Number - Display Format',
'value': 'House Number - Display Format'
}, {
'label': 'House Number - Sort Format',
'value': 'House Number - Sort Format'
}, {
'label': 'B10SC - First Borough and Street Code',
'value': 'B10SC - First Borough and Street Code'
}, {
'label': 'First Street Name Normalized',
'value': 'First Street Name Normalized'
}, {
'label': 'Geosupport Return Code 2 (GRC 2)',
'value': 'Geosupport Return Code 2 (GRC 2)'
}, {
'label': 'Geosupport Return Code (GRC)',
'value': 'Geosupport Return Code (GRC)'
}, {
'label': 'Low House Number of Block Face',
'value': 'Low House Number of Block Face'
}, {
'label': 'High House Number of Block Face',
'value': 'High House Number of Block Face'
}, {
'label': 'DCP Preferred LGC',
'value': 'DCP Preferred LGC'
}, {
'label': 'Number of Cross Streets at Low Address End',
'value': 'Number of Cross Streets at Low Address End'
}, {
'label': 'List of Cross Streets at Low Address End',
'value': 'List of Cross Streets at Low Address End'
}, {
'label': 'Number of Cross Streets at High Address End',
'value': 'Number of Cross Streets at High Address End'
}, {
'label': 'List of Cross Streets at High Address End',
'value': 'List of Cross Streets at High Address End'
}, {
'label': 'LION KEY:',
'value': 'LION KEY:'
}, {
'label': 'Borough Code',
'value': 'Borough Code'
}, {
'label': 'Face Code',
'value': 'Face Code'
}, {
'label': 'Sequence Number',
'value': 'Sequence Number'
}, {
'label': 'Side of Street Indicator',
'value': 'Side of Street Indicator'
}, {
'label': 'Segment Length in Feet',
'value': 'Segment Length in Feet'
}, {
'label': 'Spatial X-Y Coordinates of Address',
'value': 'Spatial X-Y Coordinates of Address'
}, {
'label': 'Community Development Eligibility Indicator',
'value': 'Community Development Eligibility Indicator'
}, {
'label': 'DOT Street Light Contractor Area',
'value': 'DOT Street Light Contractor Area'
}, {
'label': 'COMMUNITY DISTRICT:',
'value': 'COMMUNITY DISTRICT:'
}, {
'label': 'Community District Borough Code',
'value': 'Community District Borough Code'
}, {
'label': 'Community District Number',
'value': 'Community District Number'
}, {
'label': 'ZIP Code',
'value': 'ZIP Code'
}, {
'label': 'Election District',
'value': 'Election District'
}, {
'label': 'Assembly District',
'value': 'Assembly District'
}, {
'label': 'Congressional District',
'value': 'Congressional District'
}, {
'label': 'State Senatorial District',
'value': 'State Senatorial District'
}, {
'label': 'Civil Court District',
'value': 'Civil Court District'
}, {
'label': 'City Council District',
'value': 'City Council District'
}, {
'label': 'Health Center District',
'value': 'Health Center District'
}, {
'label': 'Health Area',
'value': 'Health Area'
}, {
'label': 'Sanitation District',
'value': 'Sanitation District'
}, {
'label': 'Sanitation Collection Scheduling Section and Subsection',
'value': 'Sanitation Collection Scheduling Section and Subsection'
}, {
'label': 'Sanitation Regular Collection Schedule',
'value': 'Sanitation Regular Collection Schedule'
}, {
'label': 'Sanitation Recycling Collection Schedule',
'value': 'Sanitation Recycling Collection Schedule'
}, {
'label': 'Police Patrol Borough Command',
'value': 'Police Patrol Borough Command'
}, {
'label': 'Police Precinct',
'value': 'Police Precinct'
}, {
'label': 'Fire Division',
'value': 'Fire Division'
}, {
'label': 'Fire Battalion',
'value': 'Fire Battalion'
}, {
'label': 'Fire Company Type',
'value': 'Fire Company Type'
}, {
'label': 'Fire Company Number',
'value': 'Fire Company Number'
}, {
'label': 'Community School District',
'value': 'Community School District'
}, {
'label': 'Atomic Polygon',
'value': 'Atomic Polygon'
}, {
'label': 'Police Patrol Borough',
'value': 'Police Patrol Borough'
}, {
'label': 'Segment Type Code',
'value': 'Segment Type Code'
}, {
'label': 'Coincidence Segment Count',
'value': 'Coincidence Segment Count'
}, {
'label': '1990 Census Tract',
'value': '1990 Census Tract'
}, {
'label': '2010 Census Tract',
'value': '2010 Census Tract'
}, {
'label': '2010 Census Block',
'value': '2010 Census Block'
}, {
'label': '2000 Census Tract',
'value': '2000 Census Tract'
}, {
'label': '2000 Census Block',
'value': '2000 Census Block'
}, {
'label': 'Neighborhood Tabulation Area (NTA)',
'value': 'Neighborhood Tabulation Area (NTA)'
}, {
'label': 'DSNY Snow Priority Code',
'value': 'DSNY Snow Priority Code'
}, {
'label': 'DSNY Bulk Pickup Schedule',
'value': 'DSNY Bulk Pickup Schedule'
}, {
'label': 'Hurricane Evacuation Zone (HEZ)',
'value': 'Hurricane Evacuation Zone (HEZ)'
}, {
'label': 'Underlying B7SC',
'value': 'Underlying B7SC'
}, {
'label': 'Segment Identifier',
'value': 'Segment Identifier'
}, {
'label': 'List of 4 LGCs',
'value': 'List of 4 LGCs'
}, {
'label': 'BOE LGC Pointer',
'value': 'BOE LGC Pointer'
}, {
'label': 'Segment Azimuth',
'value': 'Segment Azimuth'
}, {
'label': 'Segment Orientation',
'value': 'Segment Orientation'
}, {
'label': 'SPATIAL COORDINATES OF SEGMENT:',
'value': 'SPATIAL COORDINATES OF SEGMENT:'
}, {
'label': 'X Coordinate, Low Address End',
'value': 'X Coordinate, Low Address End'
}, {
'label': 'Y Coordinate, Low Address End',
'value': 'Y Coordinate, Low Address End'
}, {
'label': 'X Coordinate, High Address End',
'value': 'X Coordinate, High Address End'
}, {
'label': 'Y Coordinate, High Address End',
'value': 'Y Coordinate, High Address End'
}, {
'label': 'SPATIAL COORDINATES OF CENTER OF CURVATURE:',
'value': 'SPATIAL COORDINATES OF CENTER OF CURVATURE:'
}, {
'label': 'X Coordinate',
'value': 'X Coordinate'
}, {
'label': 'Y Coordinate',
'value': 'Y Coordinate'
}, {
'label': 'From LION Node ID',
'value': 'From LION Node ID'
}, {
'label': 'To LION Node ID',
'value': 'To LION Node ID'
}, {
'label': 'LION Key for Vanity Address',
'value': 'LION Key for Vanity Address'
}, {
'label': 'Side of Street of Vanity Address',
'value': 'Side of Street of Vanity Address'
}, {
'label': 'Split Low House Number',
'value': 'Split Low House Number'
}, {
'label': 'Traffic Direction',
'value': 'Traffic Direction'
}, {
'label': 'Roadway Type',
'value': 'Roadway Type'
}, {
'label': 'Physical ID',
'value': 'Physical ID'
}, {
'label': 'Generic ID',
'value': 'Generic ID'
}, {
'label': 'Street Status',
'value': 'Street Status'
}, {
'label': 'Street Width',
'value': 'Street Width'
}, {
'label': 'From Preferred LGCs First Set of 5',
'value': 'From Preferred LGCs First Set of 5'
}, {
'label': 'To Preferred LGCs First Set of 5',
'value': 'To Preferred LGCs First Set of 5'
}, {
'label': 'NTA Name',
'value': 'NTA Name'
}, {
'label': 'USPS Preferred City Name',
'value': 'USPS Preferred City Name'
}, {
'label': 'Latitude',
'value': 'Latitude'
}, {
'label': 'Longitude',
'value': 'Longitude'
}, {
'label': 'From Actual Segment Node ID',
'value': 'From Actual Segment Node ID'
}, {
'label': 'To Actual Segment Node ID',
'value': 'To Actual Segment Node ID'
}, {
'label': 'SPATIAL COORDINATES OF ACTUAL SEGMENT:',
'value': 'SPATIAL COORDINATES OF ACTUAL SEGMENT:'
}, {
'label': 'Blockface ID',
'value': 'Blockface ID'
}, {
'label': 'Number of Travel Lanes on the Street',
'value': 'Number of Travel Lanes on the Street'
}, {
'label': 'Number of Parking Lanes on the Street',
'value': 'Number of Parking Lanes on the Street'
}, {
'label': 'Number of Total Lanes on the Street',
'value': 'Number of Total Lanes on the Street'
}, {
'label': 'Street Width Maximum',
'value': 'Street Width Maximum'
}, {
'label': 'Speed Limit',
'value': 'Speed Limit'
}, {
'label': 'PUMA Code',
'value': 'PUMA Code'
}, {
'label': 'Return Code',
'value': 'Return Code'
}, {
'label': 'No. of Cross Streets at High Address End',
'value': 'No. of Cross Streets at High Address End'
}, {
'label': 'List of Cross Street Names at Low Address End',
'value': 'List of Cross Street Names at Low Address End'
}, {
'label': 'List of Cross Street Names at High Address End',
'value': 'List of Cross Street Names at High Address End'
}, {
'label': 'BOE Preferred B7SC',
'value': 'BOE Preferred B7SC'
}, {
'label': 'BOE Preferred Street Name',
'value': 'BOE Preferred Street Name'
}, {
'label': 'Low House Number of Defining Address Range',
'value': 'Low House Number of Defining Address Range'
}, {
'label': 'BOROUGH BLOCK LOT (BBL):',
'value': 'BOROUGH BLOCK LOT (BBL):'
}, {
'label': 'Tax Block',
'value': 'Tax Block'
}, {
'label': 'Tax Lot',
'value': 'Tax Lot'
}, {
'label': 'RPAD Self-Check Code (SCC) for BBL',
'value': 'RPAD Self-Check Code (SCC) for BBL'
}, {
'label': 'RPAD Building Classification Code',
'value': 'RPAD Building Classification Code'
}, {
'label': 'Number of Existing Structures on Lot',
'value': 'Number of Existing Structures on Lot'
}, {
'label': 'Number of Street Frontages of Lot',
'value': 'Number of Street Frontages of Lot'
}, {
'label': 'STROLLING KEY:',
'value': 'STROLLING KEY:'
}, {
'label': 'Borough',
'value': 'Borough'
}, {
'label': '5-Digit Street Code of ON- Street',
'value': '5-Digit Street Code of ON- Street'
}, {
'label': 'High House Number',
'value': 'High House Number'
}, {
'label': 'Building Identification Number (BIN) of Input Address or NAP',
'value': 'Building Identification Number (BIN) of Input Address or NAP'
}, {
'label': 'Condominium Flag',
'value': 'Condominium Flag'
}, {
'label': 'DOF Condominium Identification Number',
'value': 'DOF Condominium Identification Number'
}, {
'label': 'Condominium Billing BBL',
'value': 'Condominium Billing BBL'
}, {
'label': 'Self-Check Code (SCC) of Billing BBL',
'value': 'Self-Check Code (SCC) of Billing BBL'
}, {
'label': "Low BBL of this Building's Condominium Units",
'value': "Low BBL of this Building's Condominium Units"
}, {
'label': "High BBL of this Building's Condominium Units",
'value': "High BBL of this Building's Condominium Units"
}, {
'label': 'SBVP (SANBORN MAP IDENTIFIER):',
'value': 'SBVP (SANBORN MAP IDENTIFIER):'
}, {
'label': 'Sanborn Borough Code',
'value': 'Sanborn Borough Code'
}, {
'label': 'Volume Number',
'value': 'Volume Number'
}, {
'label': 'Volume Number Suffix',
'value': 'Volume Number Suffix'
}, {
'label': 'Page Number',
'value': 'Page Number'
}, {
'label': 'DCP Commercial Study Area',
'value': 'DCP Commercial Study Area'
}, {
'label': 'Tax Map Number Section & Volume',
'value': 'Tax Map Number Section & Volume'
}, {
'label': 'X-Y Coordinates of Lot Centroid',
'value': 'X-Y Coordinates of Lot Centroid'
}, {
'label': 'Business Improvement District (BID)',
'value': 'Business Improvement District (BID)'
}, {
'label': 'DCP Zoning Map',
'value': 'DCP Zoning Map'
}, {
'label': 'Internal Use',
'value': 'Internal Use'
}, {
'label': 'Number of Entries in List of Geographic Identifiers',
'value': 'Number of Entries in List of Geographic Identifiers'
}]