calcul des km redadeg sur les tronçons

This commit is contained in:
MaelReboux 2019-01-04 00:09:45 +01:00
parent a43da6552a
commit 6996ef1a12

View file

@ -57,10 +57,9 @@ INSERT INTO phase_1_trace_troncons_3948
UPDATE phase_1_trace_troncons_3948 UPDATE phase_1_trace_troncons_3948
SET SET
longueur = longueur =
( (CASE
CASE
WHEN TRUNC( ST_Length(the_geom)::numeric , 0) = 939 THEN 940 WHEN TRUNC( ST_Length(the_geom)::numeric , 0) = 939 THEN 940
ELSE TRUNC( ST_Length(the_geom)::numeric , 0) ELSE TRUNC( ST_Length(the_geom)::numeric , 0)
END END),
) km = uid -- km redadeg