Opened 4 years ago

Closed 4 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

Attachments (0)

Change History (3)

comment:1 Changed 4 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 4 years ago by frodrigo


comment:3 Changed 4 years ago by jocelyn

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.