/
requestData-portrait.json
48 lines (48 loc) · 1.15 KB
/
requestData-portrait.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
{
"layout": "A4 portrait",
"outputFormat": "png",
"attributes": {
"title": "Report title",
"map": {
"projection": "EPSG:4326",
"center": [0, 0],
"layers": [],
"scale": 25000,
"dpi": 90
},
"datasource": [
{
"title": "Table 1",
"table": {
"columns": ["osm_id", "timestamp", "name", "type"],
"data": [
["337907707", "2010-11-09T22:54:26Z", "Alpes", "bus_stop"],
["337907710", "2010-11-09T22:54:25Z", "Alpes", "bus_stop"],
["347352116", "2010-11-09T22:54:23Z", "Mirabeau", "bus_stop"]
]
}
},
{
"title": "Table 2",
"table": {
"columns": ["osm_id", "name"],
"data": [
["337907707", "Alpes"],
["337907710", "Alpes"],
["347352116", "Mirabeau"]
]
}
},
{
"title": "Table with int, float and null values",
"table": {
"columns": ["int", "float", "null"],
"data": [
[337907707, 337907707.5, null],
[337907710, 337907710.4, null]
]
}
}
]
}
}