supprot for text in hstore

This commit is contained in:
Darafei Praliaskouski 2012-10-30 11:54:39 +03:00
parent e0c3d8dee1
commit 0cfae72a4a

View file

@ -837,7 +837,7 @@ if options.renderer == "mapnik":
neitags = add_numerics_to_itags(fitags, escape = False) # for complex polygons, no escapng needed
del fitags
ttext = " OR ".join(['"'+i+ "\" is not NULL " for i in texttags])
ttext = " OR ".join([escape_sql_column(i)+ " is not NULL" for i in texttags])
if placement == "center" and layer_type == "polygon" and snap_to_street == 'false':
sqlz = " OR ".join(sql)