Opened 7 years ago

Closed 7 years ago

#157 closed enhancement (fixed)

Test 7040 : valeur à exclure ?

Reported by: operon Owned by: frodrigo
Priority: minor Component: osmose-backend
Keywords: Cc:


Dans le test 7040 "manque de poteau électrique, il faut exclure lorsque la ligne est sous-marine avec le tag submarine=yes

Change History (3)

comment:1 Changed 7 years ago by jocelyn

Fred, est-ce que ce patch conviendrait ?

diff --git a/analysers/ b/analysers/
index c454535..433482f 100644
--- a/analysers/
+++ b/analysers/
@@ -175,6 +175,7 @@ WHERE
     ways.tags?'power' AND
     ways.tags->'power' IN ('line', 'minor_line') AND
     (NOT ways.tags?'tunnel' OR NOT ways.tags->'tunnel' IN ('yes', 'true')) AND
+    (NOT ways.tags?'submarine' OR NOT ways.tags->'submarine' IN ('yes', 'true')) AND
     not nodes.tags?'power'

comment:2 Changed 7 years ago by frodrigo


comment:3 Changed 7 years ago by jocelyn

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.