X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/aa41b813b8575aea1657c74e2ee22bdb6fe707b1..4fc5c2024bf42dd76825164b5d1110a7a602d384:/data-sources/us-tiger/tiger_address_convert.py diff --git a/data-sources/us-tiger/tiger_address_convert.py b/data-sources/us-tiger/tiger_address_convert.py index b1e2eb0c..ebe265ed 100755 --- a/data-sources/us-tiger/tiger_address_convert.py +++ b/data-sources/us-tiger/tiger_address_convert.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Tiger road data to OSM conversion script # Creates Karlsruhe-style address ways beside the main way # based on the Massachusetts GIS script by christopher schmidt @@ -164,7 +164,7 @@ def parse_shp_for_geom_and_tags( filename ): if (statefp != None) and (countyfp != None): county_name = county_fips_data.get(statefp + '' + countyfp) if county_name: - tags["tiger:county"] = county_name.encode("utf-8") + tags["tiger:county"] = county_name # tlid = poFeature.GetField("TLID") # if tlid != None: