From 7b5ad5f4b888c6f0efb43f2584ab9de1514c2b6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Gru=CC=88ndger?= Date: Mon, 18 Feb 2019 08:55:07 +0100 Subject: [PATCH] #66, Part 1 --- ogn_python/commands/flights.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogn_python/commands/flights.py b/ogn_python/commands/flights.py index 6dac358..9e3a46c 100644 --- a/ogn_python/commands/flights.py +++ b/ogn_python/commands/flights.py @@ -23,7 +23,7 @@ def compute_flights2d(session, date): SELECT sq5.date, sq5.device_id, st_collect(sq5.linestring order BY sq5.part) multilinestring, - st_collect(st_simplify(sq5.linestring ORDER BY sq5.part) simple_multilinestring + st_collect(st_simplify(sq5.linestring ORDER BY sq5.part, 0.0001) simple_multilinestring FROM ( SELECT sq4.timestamp::date AS date, sq4.device_id,