From 5f1dc887469e8b89c2ae4ab8dab16e3b855141ee Mon Sep 17 00:00:00 2001 From: Komzpa Date: Tue, 27 Sep 2011 18:54:54 +0300 Subject: [PATCH] fix --- src/komap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komap.py b/src/komap.py index fdb4382..ad8549e 100644 --- a/src/komap.py +++ b/src/komap.py @@ -526,7 +526,7 @@ if options.renderer == "mapnik": mfile.write(xml_g) sql_g = "(" + " OR ".join(sql_g) + ") and way && !bbox!" itags_g = add_numerics_to_itags(itags_g) - mfile.write(xml_layer("postgis", layer_type, itags_g, sql_g, zoom=zoom )) + mfile.write(xml_layer("postgis", prevtype, itags_g, sql_g, zoom=zoom )) else: xml_nolayer()