/
klamath.json
42 lines (42 loc) · 1.27 KB
/
klamath.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
{
"coverage": {
"US Census": {
"geoid": "41035",
"name": "Klamath County",
"state": "Oregon"
},
"country": "us",
"state": "or",
"county": "Klamath"
},
"schema": 2,
"layers": {
"addresses": [
{
"name": "county",
"protocol": "ESRI",
"data": "https://services.arcgis.com/H6Mh1bySxR4oHx6x/ArcGIS/rest/services/KC_Taxlots/FeatureServer/0",
"conform": {
"format": "geojson",
"number": {
"function": "regexp",
"field": "SITUS_ADDRESS",
"pattern": "^([0-9]+)"
},
"street": {
"function": "regexp",
"field": "SITUS_ADDRESS",
"pattern": "^(?:[0-9]+ )(.*)",
"replace": "$1"
},
"postcode": {
"function": "regexp",
"field": "SITUS_CSZ",
"pattern": "(?:.* )([0-9]+)$",
"replace": "$1"
}
}
}
]
}
}