goitags for linear features

This commit is contained in:
Komzpa 2012-01-31 17:38:00 +03:00
parent 7ba648caf4
commit 0e495a541d

View file

@ -882,7 +882,7 @@ if options.renderer == "mapnik":
sqlz = """select %s, ST_LineMerge(ST_Union(way)) as way from (SELECT * from planet_osm_line where way && ST_Expand(!bbox!,%s) and (%s) and (%s)) as tex
group by %s
%s
"""%(itags,max(pixel_size_at_zoom(zoom,20),3000),ttext,sqlz,oitags,order)
"""%(itags,max(pixel_size_at_zoom(zoom,20),3000),ttext,sqlz,goitags,order)
mfile.write(xml_layer("postgis-process", layer_type, itags, sqlz, zoom=zoom ))