Changeset ae4f07b in osmose-backend


Ignore:
Timestamp:
Nov 21, 2012 8:27:11 PM (5 years ago)
Author:
Fred <fred.rodrigo@…>
Branches:
master
Children:
a910761
Parents:
09ac152
Message:

Fix utf-8 string into merge_school_fr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_merge_school_fr.py

    r1a3a1b4 rae4f07b  
    5050        self.csv_format = "WITH DELIMITER AS ';' NULL AS 'null' CSV HEADER" 
    5151        self.csv_encoding = "ISO-8859-15" 
    52         self.csv_filter = lambda t: t.replace("; ", ";null").replace(";.", ";null").replace("Ecole", u"École").replace("Saint ", "Saint-").replace("Sainte ", "Sainte-").replace("élementaire", "élémentaire") 
     52        self.csv_filter = lambda t: t.replace("; ", ";null").replace(";.", ";null").replace("Ecole", u"École").replace("Saint ", "Saint-").replace("Sainte ", "Sainte-").replace(u"élementaire", u"élémentaire") 
    5353        self.osmTags = { 
    5454            "amenity": ["school", "kindergarten"], 
Note: See TracChangeset for help on using the changeset viewer.