-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparams.json5
More file actions
120 lines (108 loc) · 3.91 KB
/
Copy pathparams.json5
File metadata and controls
120 lines (108 loc) · 3.91 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
// model properties
model : {
width : 2400, // width of model in mm
height : 1200, // height of model in mm
throw_distance : 3980, // distance from projector to wall in mm
pixel_size : 1, // size of pixel in mm
url : 'https://data.scigem-eng.sydney.edu.au/', // path to server with elevation data
corners : {
ne : {
// lat : -33.835,
// lng : 151.265
lat : -33.83512300658737,
lng : 151.27599316594075
},
sw : {
//lat : -33.895,
//lng : 151.145
lat : -33.894722633376766,
lng: 151.13296645445593
}
}
},
// Bounds: {"_southWest":{"lat":,"lng":},"_northEast":{"lat":,"lng":}}
// projector settings
projector : {
aspect_ratio : 1.777778, // aspect ratio of projector
resolution : [1920, 1080], // resolution of projector
vertical_offset : 50, // vertical offset of projector in pixels
horizontal_scale : 1.1839999999999904
},
// leaflet settings -- should be calculated from model properties!
map : {
// center : {
// lat : -33.869303486200685,
// lng : 151.2071629479017
// }, // center of map
// zoom : 13.7, // zoom level of map
},
// threejs settings
threejs : {
camera_location : [0, 0, 0], // location of camera in mm
camera_rotation : [0, 0, 0], // rotation of camera in degrees, Euler angles
},
// server settings
server : {
port : 3000, // port to run server on
},
logo : {
show : true,
image : 'resources/usyd.svg',
loc : {
lat : -33.8883,
lng : 151.186
},
opacity : 1,
size : 0.003, // in degrees
},
// transit settings
gtfs : {
show : true, // show gtfs data on map
url : "https://api.transport.nsw.gov.au/v1/gtfs/vehiclepos/",
modes : ['buses', 'lightrail/innerwest', 'lightrail/cbdandsoutheast', 'ferries/sydneyferries'],
update_interval : 5000, // time in ms between gtfs-realtime updates
},
gtfs2 : {
show : true, // show gtfs data on map
url : "https://api.transport.nsw.gov.au/v2/gtfs/vehiclepos/",
modes : ['metro', 'sydneytrains'],
update_interval : 5000, // time in ms between gtfs-realtime updates
},
// maritime settings
ais : {
show : true, // show ais data on map
url : "wss://stream.aisstream.io/v0/stream",
update_interval : 5000, // time in ms between ais updates
},
// flight tracking settings
flights : {
show : true, // show flight data on map
url : 'https://opensky-network.org/api',
update_interval : 21000, // time in ms between flight updates, limited by API. Could go faster if just running part of the day
},
// weather radar settings
radar : {
show : false, // show radar data on map
url : 'ftp.bom.gov.au',
ID : 'IDR714', // which radar loop image to show
bounds : [[-34.27134, 150.51477], [-33.12061, 151.90730]], // bounds of radar image data, pulled from .map file
opacity : 0.5,
update_interval : 10000, // time in ms between radar updates
},
// traffic hazards
hazards : {
show : true, // show traffic hazards on map
url : 'https://api.transport.nsw.gov.au/v1/live/hazards',
modes : [
// '/fire/closed','/fire/open',
// '/flood/closed','/flood/open',
// '/incident/closed','/incident/open',
// '/majorevent/closed','/majorevent/open',
'/roadwork/closed',
// '/roadwork/open',
// '/regional-lga-incident/closed','/regional-lga-incident/open'
],
update_interval : 5000, // time in ms between hazard updates
}
}