/
regionwide.json
42 lines (42 loc) · 1.24 KB
/
regionwide.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": {
"ISO 3166": {
"alpha2": "TW-CYI",
"country": "Taiwan"
},
"country": "tw"
},
"schema": 2,
"layers": {
"addresses": [
{
"name": "country",
"data": "http://regis.chiayi.gov.tw/ArcGIS/rest/services/cyDoor/MapServer/0",
"protocol": "ESRI",
"conform": {
"format": "geojson",
"number": {
"function": "regexp",
"field": "ADDR_NO",
"pattern": "^([0-90-9]+號?)"
},
"unit": {
"function": "regexp",
"field": "ADDR_NO",
"pattern": "^(?:[0-90-9]+號?)(.*)"
},
"street": {
"function": "join",
"fields": [
"STREET",
"ALLEY",
"ALLEY1"
],
"separator": ""
},
"district": "LI_CODE"
}
}
]
}
}