/
municipality_of_helsingborg.json
40 lines (40 loc) · 1.23 KB
/
municipality_of_helsingborg.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
{
"coverage": {
"geometry": {
"type": "Point",
"coordinates": [
12.650,
56.075
]
},
"country": "se",
"city": "Helsingborg"
},
"data": "http://geodata.helsingborg.se/arcgis/rest/services/Trafik/Skolskjuts_160914/MapServer/37",
"protocol": "ESRI",
"note": {
"description": "This source looks like it has some sort of street altname appended occasionally. `remove_postfix` could be used to remove the regex but `number` is composite and the function operates on a single field. ",
"examples": [
"Norra Vallåkravägen | Landsbygd",
"Stureholmsvägen | Landsbygd",
"Ekebyvägen | Bårslöv"
]
},
"conform": {
"format": "geojson",
"number": ["ENUMERATOR","DESIGNATIONNUMBERLETTER"],
"street": {
"function": "regexp",
"field": "STREETNAME",
"pattern": "^(.*?)(?: \\|.+)?$"
},
"city": "CITY",
"postcode": {
"function": "regexp",
"field": "POSTCODE",
"pattern": "^([\\d]{3})([\\d]{2})$",
"replace": "$1 $2"
},
"id": "BALID"
}
}