/
lorain.json
45 lines (45 loc) · 1.43 KB
/
lorain.json
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
{
"coverage": {
"US Census": {
"geoid": "39093",
"name": "Lorain County",
"state": "Ohio"
},
"country": "us",
"state": "oh",
"county": "Lorain"
},
"schema": 2,
"layers": {
"addresses": [
{
"name": "county",
"data": "http://loraincountyauditor.com/arcgis/rest/services/ParcelsLorain/AGS_Lorain_LGIM_Parcel_Report/MapServer/0",
"protocol": "ESRI",
"conform": {
"number": {
"function": "regexp",
"field": "SITEADDRESS",
"pattern": "^([0-9]+)(?: .*)$"
},
"street": {
"function": "regexp",
"field": "SITEADDRESS",
"pattern": "^(?:[0-9]+ )(.*)(?: .*,.*)$"
},
"city": {
"function": "regexp",
"field": "SITEADDRESS",
"pattern": "^(?:[0-9]+ )(?:.* )(.*)(?:,.*)$"
},
"postcode": {
"function": "regexp",
"field": "SITEADDRESS",
"pattern": "^(?:.*)([0-9]{5})$"
},
"format": "geojson"
}
}
]
}
}