Changeset f3fbf03 in osmose-backend


Ignore:
Timestamp:
Jul 4, 2014 6:02:36 PM (5 years ago)
Author:
Frédéric Rodrigo <fred.rodrigo@…>
Branches:
master
Children:
8b8b8c8
Parents:
b7bc94f
git-author:
Frédéric Rodrigo <fred.rodrigo@…> (04/07/2014 14:43:49)
git-committer:
Frédéric Rodrigo <fred.rodrigo@…> (04/07/2014 18:02:36)
Message:

Fix fantoir type into TagFix_MultipleTag_FR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/TagFix_MultipleTag_FR.py

    r3ff18a2 rf3fbf03  
    6969            fantoir_key = tags["ref:FR:FANTOIR"][5] 
    7070            if fantoir_key.isdigit(): 
    71                 if not ("type" in tags and tags["type"] == "associatedStreet") or not ("highway" in tags): 
     71                if not ("type" in tags and tags["type"] == "associatedStreet") and not ("highway" in tags): 
    7272                    err.append((13, 1, {"en": u"FANTOIR numeric type is for ways"})) 
    7373            #elif fantoir_key == "A": 
     
    137137                  {"highway":"living_street", "zone:maxspeed": "FR:20", "maxspeed": "20"}, 
    138138                  {"ref:FR:FANTOIR":"90123D123D", "place": "hamlet"}, 
     139                  {"ref:FR:FANTOIR":"330633955T", "type": "associatedStreet"}, 
    139140                 ]: 
    140141            assert not a.way(None, t, None), t 
Note: See TracChangeset for help on using the changeset viewer.