Changeset e169454 in osmose-backend


Ignore:
Timestamp:
Jun 6, 2013 8:52:36 PM (6 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
a910761
Parents:
2290814
git-author:
Frédéric Rodrigo <frodrigo@…> (06/06/2013 20:50:52)
git-committer:
Frédéric Rodrigo <frodrigo@…> (06/06/2013 20:52:36)
Message:

Support highway ref code for New Caladonia

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/TagFix_MultipleTag_FR.py

    r2290814 re169454  
    4343            "secondaire": "secondaire", 
    4444        } 
    45         self.Ref = re.compile(r"^([ANDMC]|RN|RD|VC|CR|CE)[-\s]?[0-9]?", re.IGNORECASE) 
     45        country = self.father.config.options.get("country") 
     46        if country == "NC": 
     47            self.Ref = re.compile(r"^(RT|RP|VU|VE|VDE|RPN)[-\s]?[0-9]?", re.IGNORECASE) 
     48        else: # "FR" 
     49            self.Ref = re.compile(r"^([ANDMC]|RN|RD|VC|CR|CE)[-\s]?[0-9]?", re.IGNORECASE) 
    4650 
    4751    def node(self, data, tags): 
Note: See TracChangeset for help on using the changeset viewer.