[komap] name:be fix

This commit is contained in:
Darafei Praliaskouski 2013-12-24 21:36:06 +03:00
parent 340da4704c
commit f729e229bc

View file

@ -166,7 +166,7 @@ if options.renderer == "mapnik":
"int_name",
"name:en",
"name"
) AS name""" % (table_prefix, table_prefix, table_prefix), ('name:be', "name:ru", "int_name", "name:en"))
) AS name""", ('name:be', "name:ru", "int_name", "name:en"))
elif options.locale and ("name:" + options.locale in osm2pgsql_avail_keys or not osm2pgsql_avail_keys):
columnmap["name"] = ('COALESCE("name:' + options.locale + '", "name") AS name', ('name:' + options.locale,))
elif options.locale: