/
schwyz.json
42 lines (42 loc) · 1.29 KB
/
schwyz.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": {
"country": "ch",
"city": "Schwyz",
"ISO 3166": {
"alpha2": "CH-SZ"
}
},
"schema": 2,
"layers": {
"addresses": [
{
"name": "city",
"website": "http://geoshop.sz.ch/client5/index_sz.html?user=sz_public&password=public",
"data": "https://data.openaddresses.io/cache/uploads/sergiyprotsiv/559828/ch-sz.csv.zip",
"protocol": "http",
"skip": true,
"compression": "zip",
"license": {
"attribution": false,
"share-alike": false
},
"conform": {
"format": "csv",
"file": "ch-sz.csv",
"encoding": "utf-8",
"id": "GWR_EGID",
"number": "Hausnummer",
"street": "Lokalisati",
"city": {
"function": "regexp",
"field": "Ortschafts",
"pattern": "^(.+?)(?:\\s+SZ)?\\s*$"
},
"postcode": "PLZ",
"lat": "Y",
"lon": "X"
}
}
]
}
}