Casings fix

This commit is contained in:
Komяpa 2011-04-03 00:59:15 +03:00
parent 15dc9f8fcc
commit e481e05990

View file

@ -233,7 +233,7 @@ for zoom, zsheet in mapniksheet.iteritems():
sql = sql_g
itags = itags_g
if sql:
mfile.write(xml)
mfile.write(xml_g)
sql = "(" + " OR ".join(sql) + ") and way && !bbox!"
if zlayer == 0 and full_layering:
sql = "("+ sql +') and ("layer" not in ('+ ", ".join(['\'%s\''%i for i in range(-5,6) if i != 0])+") or \"layer\" is NULL)"