/
glarus.json
41 lines (41 loc) · 1.21 KB
/
glarus.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
{
"coverage": {
"country": "ch",
"city": "Glarus",
"ISO 3166": {
"alpha2": "CH-GL"
}
},
"schema": 2,
"layers": {
"addresses": [
{
"name": "city",
"website": "https://geodienste.ch/",
"data": "https://data.openaddresses.io/cache/uploads/sergiyprotsiv/8b7516/ch-gl.csv.zip",
"protocol": "http",
"compression": "zip",
"license": {
"attribution": false,
"share-alike": false
},
"conform": {
"format": "csv",
"file": "ch-gl.csv",
"encoding": "utf-8",
"id": "RegBL_EGID",
"number": "Numero_maison",
"street": "Nom_de_rue",
"city": {
"function": "regexp",
"field": "Ortschaft",
"pattern": "^(.+?)(?:\\s+GL)?\\s*$"
},
"postcode": "PLZ",
"lat": "Y",
"lon": "X"
}
}
]
}
}