From 241a43c4ade5d3c7f8f8acfd9e476565f45f22e5 Mon Sep 17 00:00:00 2001 From: gluap Date: Fri, 26 Jan 2024 00:19:59 +0100 Subject: [PATCH] fix for older postgres version --- tile-generator/layers/obs_events/layer.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tile-generator/layers/obs_events/layer.sql b/tile-generator/layers/obs_events/layer.sql index 85effdb..11b8758 100644 --- a/tile-generator/layers/obs_events/layer.sql +++ b/tile-generator/layers/obs_events/layer.sql @@ -1,4 +1,4 @@ -DROP FUNCTION IF EXISTS layer_obs_events; +DROP FUNCTION IF EXISTS layer_obs_events(bbox geometry, zoom_level int, user_id integer, min_time timestamp, max_time timestamp); CREATE OR REPLACE FUNCTION layer_obs_events(bbox geometry, zoom_level int, user_id integer, min_time timestamp, max_time timestamp) RETURNS TABLE(event_id bigint, geometry geometry, distance_overtaker float, distance_stationary float, direction int, course float, speed float, time_stamp timestamp, zone zone_type, way_id bigint) AS $$