obs-portal/tile-generator/layers/obs_events/obs_events.yaml

38 lines
1.1 KiB
YAML
Raw Normal View History

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 (?).
zone: |
rural or urban
defaults:
2023-04-01 14:44:47 +00:00
srs: EPSG:3857
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
schema:
- ./layer.sql