25
25
on_field : geographic
26
26
cache_duration : 3600
27
27
data_expr : signal.data
28
- exclude_fields : [geo, sch]
29
28
joins :
30
29
- inner join osrd_infra_signalmodel signal on signal.obj_id = layer.obj_id and signal.infra_id = layer.infra_id
31
30
- name : sch
32
31
on_field : schematic
33
32
cache_duration : 3600
34
33
data_expr : signal.data
35
- exclude_fields : [geo, sch]
36
34
joins :
37
35
- inner join osrd_infra_signalmodel signal on signal.obj_id = layer.obj_id and signal.infra_id = layer.infra_id
38
36
44
42
on_field : geographic
45
43
cache_duration : 3600
46
44
data_expr : speed_section.data
47
- exclude_fields : [geo, sch]
48
45
joins :
49
46
- inner join osrd_infra_speedsectionmodel speed_section on speed_section.obj_id = layer.obj_id and speed_section.infra_id = layer.infra_id
47
+ where :
48
+ - not (speed_section.data @? '$.extensions.lpv_sncf.z')
50
49
- name : sch
51
50
on_field : schematic
52
51
cache_duration : 3600
53
52
data_expr : speed_section.data
54
- exclude_fields : [geo, sch]
55
53
joins :
56
54
- inner join osrd_infra_speedsectionmodel speed_section on speed_section.obj_id = layer.obj_id and speed_section.infra_id = layer.infra_id
55
+ where :
56
+ - not (speed_section.data @? '$.extensions.lpv_sncf.z')
57
+
58
+ - name : lpv
59
+ table_name : osrd_infra_speedsectionlayer
60
+ id_field : id
61
+ views :
62
+ - name : geo
63
+ on_field : geographic
64
+ cache_duration : 3600
65
+ data_expr : speed_section.data
66
+ joins :
67
+ - inner join osrd_infra_speedsectionmodel speed_section on speed_section.obj_id = layer.obj_id and speed_section.infra_id = layer.infra_id
68
+ where :
69
+ - speed_section.data @? '$.extensions.lpv_sncf.z'
70
+ - name : sch
71
+ on_field : schematic
72
+ cache_duration : 3600
73
+ data_expr : speed_section.data
74
+ joins :
75
+ - inner join osrd_infra_speedsectionmodel speed_section on speed_section.obj_id = layer.obj_id and speed_section.infra_id = layer.infra_id
76
+ where :
77
+ - speed_section.data @? '$.extensions.lpv_sncf.z'
57
78
58
79
- name : track_section_links
59
80
table_name : osrd_infra_tracksectionlinklayer
63
84
on_field : geographic
64
85
cache_duration : 3600
65
86
data_expr : track_section_link.data
66
- exclude_fields : [geo, sch]
67
87
joins :
68
88
- inner join osrd_infra_tracksectionlinkmodel track_section_link on track_section_link.obj_id = layer.obj_id and track_section_link.infra_id = layer.infra_id
69
89
- name : sch
70
90
on_field : schematic
71
91
cache_duration : 3600
72
92
data_expr : track_section_link.data
73
- exclude_fields : [geo, sch]
74
93
joins :
75
94
- inner join osrd_infra_tracksectionlinkmodel track_section_link on track_section_link.obj_id = layer.obj_id and track_section_link.infra_id = layer.infra_id
76
95
82
101
on_field : geographic
83
102
cache_duration : 3600
84
103
data_expr : switch.data
85
- exclude_fields : [geo, sch]
86
104
joins :
87
105
- inner join osrd_infra_switchmodel switch on switch.obj_id = layer.obj_id and switch.infra_id = layer.infra_id
88
106
- name : sch
89
107
on_field : schematic
90
108
cache_duration : 3600
91
109
data_expr : switch.data
92
- exclude_fields : [geo, sch]
93
110
joins :
94
111
- inner join osrd_infra_switchmodel switch on switch.obj_id = layer.obj_id and switch.infra_id = layer.infra_id
95
112
101
118
on_field : geographic
102
119
cache_duration : 3600
103
120
data_expr : detector.data
104
- exclude_fields : [geo, sch]
105
121
joins :
106
122
- inner join osrd_infra_detectormodel detector on detector.obj_id = layer.obj_id and detector.infra_id = layer.infra_id
107
123
- name : sch
108
124
on_field : schematic
109
125
cache_duration : 3600
110
126
data_expr : detector.data
111
- exclude_fields : [geo, sch]
112
127
joins :
113
128
- inner join osrd_infra_detectormodel detector on detector.obj_id = layer.obj_id and detector.infra_id = layer.infra_id
114
129
120
135
on_field : geographic
121
136
cache_duration : 3600
122
137
data_expr : buffer_stop.data
123
- exclude_fields : [geo, sch]
124
138
joins :
125
139
- inner join osrd_infra_bufferstopmodel buffer_stop on buffer_stop.obj_id = layer.obj_id and buffer_stop.infra_id = layer.infra_id
126
140
- name : sch
127
141
on_field : schematic
128
142
cache_duration : 3600
129
143
data_expr : buffer_stop.data
130
- exclude_fields : [geo, sch]
131
144
joins :
132
145
- inner join osrd_infra_bufferstopmodel buffer_stop on buffer_stop.obj_id = layer.obj_id and buffer_stop.infra_id = layer.infra_id
133
146
139
152
on_field : geographic
140
153
cache_duration : 3600
141
154
data_expr : route.data
142
- exclude_fields : [geo, sch]
143
155
joins :
144
156
- inner join osrd_infra_routemodel route on route.obj_id = layer.obj_id and route.infra_id = layer.infra_id
145
157
- name : sch
146
158
on_field : schematic
147
159
cache_duration : 3600
148
160
data_expr : route.data
149
- exclude_fields : [geo, sch]
150
161
joins :
151
162
- inner join osrd_infra_routemodel route on route.obj_id = layer.obj_id and route.infra_id = layer.infra_id
152
163
158
169
on_field : geographic
159
170
cache_duration : 3600
160
171
data_expr : operational_point.data
161
- exclude_fields : [geo, sch]
162
172
joins :
163
173
- inner join osrd_infra_operationalpointmodel operational_point on operational_point.obj_id = layer.obj_id and operational_point.infra_id = layer.infra_id
164
174
- name : sch
165
175
on_field : schematic
166
176
cache_duration : 3600
167
177
data_expr : operational_point.data
168
- exclude_fields : [geo, sch]
169
178
joins :
170
179
- inner join osrd_infra_operationalpointmodel operational_point on operational_point.obj_id = layer.obj_id and operational_point.infra_id = layer.infra_id
171
180
177
186
on_field : geographic
178
187
cache_duration : 3600
179
188
data_expr : catenary.data
180
- exclude_fields : [geo, sch]
181
189
joins :
182
190
- inner join osrd_infra_catenarymodel catenary on catenary.obj_id = layer.obj_id and catenary.infra_id = layer.infra_id
183
191
- name : sch
184
192
on_field : schematic
185
193
cache_duration : 3600
186
194
data_expr : catenary.data
187
- exclude_fields : [geo, sch]
188
195
joins :
189
196
- inner join osrd_infra_catenarymodel catenary on catenary.obj_id = layer.obj_id and catenary.infra_id = layer.infra_id
190
197
196
203
on_field : geographic
197
204
cache_duration : 3600
198
205
data_expr : layer.information
199
- exclude_fields : [geo, sch]
200
206
- name : sch
201
207
on_field : schematic
202
208
cache_duration : 3600
203
209
data_expr : layer.information
204
- exclude_fields : [geo, sch]
0 commit comments