Changeset cb24692 in osmose-backend


Ignore:
Timestamp:
Nov 5, 2012 1:21:05 PM (5 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
0662569
Parents:
af4e049
Message:

Add fix to no ovrewrite name tag on merge in merge analysis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/Analyser_Merge.py

    r2e370eb rcb24692  
    392392            else: 
    393393                fix["+"][o] = official[o] 
     394        if "name" in osm and "name" in official: 
     395            fix0 = {"+": fix["+"], "~": dict(fix["~"])} 
     396            del(fix0["~"]["name"]) 
     397            fix = [fix0, fix] 
    394398        return fix 
    395399 
Note: See TracChangeset for help on using the changeset viewer.