2021-10-10 10:32:28 +00:00
|
|
|
layer:
|
|
|
|
id: "obs_events"
|
|
|
|
description: |
|
|
|
|
Single overtaking events with attached measurements
|
|
|
|
buffer_size: 4
|
|
|
|
fields:
|
|
|
|
distance_overtaker: |
|
|
|
|
Overtaker distance (left side in right side traffic), in meters.
|
|
|
|
distance_stationary: |
|
|
|
|
Distance to stationary traffic (right side in right side traffic), in meters.
|
|
|
|
direction: |
|
|
|
|
-1 for driving backwards, 1 for forwards
|
|
|
|
way_id: |
|
|
|
|
The ID of the OSM way (road segment) that was determined for this event.
|
|
|
|
course: |
|
|
|
|
Direction of travel, as reported by GPS, in degree from North.
|
|
|
|
speed: |
|
|
|
|
Speed of travel, as reported by GPS, in meters per second (?).
|
2022-05-02 20:00:17 +00:00
|
|
|
zone: |
|
|
|
|
rural or urban
|
2021-10-10 10:32:28 +00:00
|
|
|
defaults:
|
2023-04-01 14:44:47 +00:00
|
|
|
srs: EPSG:3857
|
2021-10-10 10:32:28 +00:00
|
|
|
datasource:
|
|
|
|
srid: 3857
|
|
|
|
geometry_field: geometry
|
|
|
|
key_field: event_id
|
|
|
|
key_field_as_attribute: no
|
2022-04-30 18:31:32 +00:00
|
|
|
query: >
|
|
|
|
(
|
|
|
|
SELECT
|
|
|
|
event_id, geometry, distance_overtaker, distance_stationary, direction, course, speed, zone, way_id
|
|
|
|
FROM
|
|
|
|
layer_obs_events(!bbox!, z(!scale_denominator!), user_id, min_time, max_time)
|
|
|
|
) AS t
|
2021-10-10 10:32:28 +00:00
|
|
|
|
|
|
|
schema:
|
|
|
|
- ./layer.sql
|