Changeset 8ba1dde in osmose-backend


Ignore:
Timestamp:
Jan 31, 2015 6:59:34 PM (5 years ago)
Author:
Frédéric Rodrigo <fred.rodrigo@…>
Branches:
master
Children:
5206109
Parents:
7a571a8
git-author:
Frédéric Rodrigo <fred.rodrigo@…> (29/01/2015 18:22:57)
git-committer:
Frédéric Rodrigo <fred.rodrigo@…> (31/01/2015 18:59:34)
Message:

Support Rd and Highway as West Virginia road name with [0-9]/[0-9]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/Name_Multiple.py

    rb720789 r8ba1dde  
    3838        # In West Virginia road are named like County Route 22/2 
    3939        self.routeSubNumber = self.father.config.options.get("country") in ('US', ) 
    40         self.routeSubNumberRe = re.compile(u"^.*(Route|Rt|Road) [0-9]+/[0-9]+$") 
     40        self.routeSubNumberRe = re.compile(u"^.*(Route|Rt|Road|Rd|Highway) [0-9]+/[0-9]+$") 
    4141 
    4242    def way(self, data, tags, nds): 
Note: See TracChangeset for help on using the changeset viewer.