forked from fidelthomet/WHERE
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
69 lines (67 loc) · 2.49 KB
/
config.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"port": 65432,
"data_dir": "data/",
"level": "features",
"options": {
"limit": 50,
"page": 0,
"sortby": -1,
"properties": -1,
"desc": false,
"maxlimit": 200
},
"files": {
"adressen": {
"url": "https://data.stadt-zuerich.ch/storage/f/adressen/adressen.json",
"schedule": "* * 3 * * 3",
"options": {}
},
"baumkataster": {
"url": "https://data.stadt-zuerich.ch/storage/f/baumkataster/baumkataster.json",
"schedule": "* 10 3 * * 3",
"options": {
"maxlimit": -1
}
},
"statistische_zonen": {
"url": "https://data.stadt-zuerich.ch/storage/f/stat_zonen/statistische_zonen.json",
"schedule": "* 15 3 1 * *",
"options": {
"limit": 200
}
},
"fussweg": {
"url": "https://data.stadt-zuerich.ch/storage/f/fussweg/fussweg.json",
"schedule": "* 20 3 1 * *",
"options": {
"maxlimit": -1
}
}
},
"docs": true,
"title": "WHERE? API Documentation",
"description": "This API allows to query selected GeoJSON-files from [Open Data Zürich](http://data.stadt-zuerich.ch).",
"hostname": "http://where.ft0.ch",
"examples": [{
"url": "adressen",
"description": "returns the unmodified adressen.json"
}, {
"url": "baumkataster/ /Pflanzjahr>=1920&Pflanzjahr<=1925",
"description": "returns trees which have been planted between 1920 and 1925"
}, {
"url": "baumkataster/8.526248931884766,47.363245989634336;8.526248931884766,47.37649961666246;8.547019958496094,47.37649961666246;8.547019958496094,47.363245989634336/Baumgattung=Sophora/limit=-1",
"description": "returns all trees within given polygon and with 'Baumgattung' Sophora"
}, {
"url": "adressen/%20/Adresse$weg&(Stadtquartier=Altstadt%7CStadtquartier=Enge)/limit=50&page=1",
"description": "returns second page of 50 adresses which contain the phrase 'weg' and are located in either Zurich Altstadt or Zurich Enge"
}, {
"url": "fussweg/8.53712797164917,47.36892859943165;8.539423942565916,47.3704545156932;8.542191982269287,47.370163868380345;8.542170524597168,47.365338889008;8.540153503417969,47.36561502925242;8.53712797164917,47.36892859943165/ /limit=-1",
"description": "returns all footpaths within or intersecting with given polygon"
}, {
"url": "statistische_zonen/8.542213439941406,47.38789042338135;8.532943725585938,47.375685893433115",
"description": "returns statistical zones intersecting with given lines"
}, {
"url": "baumkataster/ / /limit=5&sortby=dist&dist=8.5302425707556,47.3759182540103",
"description": "returns the five closest trees to specified point"
}]
}