Changeset 7836710 in osmose-backend


Ignore:
Timestamp:
Jan 26, 2015 9:34:26 PM (5 years ago)
Author:
Frédéric Rodrigo <fred.rodrigo@…>
Branches:
master
Children:
c20dd99
Parents:
3700478
Message:

Blacklis error for duplicate similar values on tag NHD:ComID

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/TagFix_DuplicateValue.py

    r51d281f r7836710  
    44##                                                                       ## 
    55## Copyrights Etienne Chové <chove@crans.org> 2009                       ## 
    6 ## Copyrights Frédéric Rodrigo 2011                                      ## 
     6## Copyrights Frédéric Rodrigo 2011-2015                                 ## 
    77##                                                                       ## 
    88## This program is free software: you can redistribute it and/or modify  ## 
     
    2929        Plugin.init(self, logger) 
    3030        self.errors[3060] = { "item": 3060, "level": 3, "tag": ["value", "fix:chair"], "desc": T_(u"Duplicated similar values") } 
    31         self.BlackList = set(('ref', 'created_by', 'CLC:id', 'opening_hours', 'phone', 'url', 'GNS:id', 'technology', 'cables')) 
     31        self.BlackList = set(('ref', 'created_by', 'CLC:id', 'opening_hours', 'phone', 'url', 'GNS:id', 'technology', 'cables', 'NHD:ComID')) 
    3232        import re 
    3333        self.BlackListRegex = set((re.compile('seamark:.+:colour'), re.compile('.+_ref'), re.compile('ref:.+'), re.compile('destination:.+'), re.compile('AND_.+'), re.compile('AND:.+'))) 
Note: See TracChangeset for help on using the changeset viewer.