-
-
Notifications
You must be signed in to change notification settings - Fork 853
/
gatineau.json
35 lines (35 loc) · 1.05 KB
/
gatineau.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
{
"coverage": {
"country": "ca",
"state": "qc",
"city": "Gatineau",
"geometry": {
"type": "Point",
"coordinates": [-75.767, 45.485]
}
},
"data": "http://gatineau.ca/upload/donneesouvertes/ADRESSE.zip",
"website": "http://gatineau.ca/donneesouvertes/fiche_metadonnees_en.aspx?id=1393013950",
"license": "http://gatineau.ca/donneesouvertes/licence_en.aspx",
"note": "don't use component fields, see https://github.com/openaddresses/openaddresses/pull/2266",
"protocol": "http",
"compression": "zip",
"conform": {
"number": {
"function": "regexp",
"field": "ADR_COMPLE",
"pattern": "^(\\d+)"
},
"street": {
"function": "regexp",
"field": "ADR_COMPLE",
"pattern": "^(?:\\d+(?:\\(.*?\\))?\\s+)(.*)"
},
"unit": {
"function": "regexp",
"field": "ADR_COMPLE",
"pattern": "(?:\\((.*?)\\))"
},
"format": "shapefile"
}
}