reorder polygons and lines
This commit is contained in:
parent
ffaca85b7b
commit
06e4b6820c
2 changed files with 3 additions and 1 deletions
|
@ -265,7 +265,7 @@ if options.renderer == "mapnik":
|
|||
mfile.write(xml_layer("postgis", "polygon", itags, sql, zoom=zoom ))
|
||||
else:
|
||||
xml_nolayer()
|
||||
for layer_type, entry_types in [("polygon",("way","area")),("line",("way", "line"))]:
|
||||
for layer_type, entry_types in [("line",("way", "line")),("polygon",("way","area"))]:
|
||||
index_range = range(-6,7)
|
||||
full_layering = conf_full_layering
|
||||
if (zoom < 9) or not conf_full_layering :
|
||||
|
|
|
@ -258,6 +258,7 @@ def xml_layer(type="postgis", geom="point", interesting_tags = "*", sql = "true"
|
|||
</Parameter>
|
||||
%s
|
||||
<Parameter name="type">postgis</Parameter>
|
||||
<Parameter name="st_prefix">true</Parameter>
|
||||
<Parameter name="user">%s</Parameter>
|
||||
<Parameter name="dbname">%s</Parameter>
|
||||
<Parameter name="srid">%s</Parameter>
|
||||
|
@ -278,6 +279,7 @@ def xml_layer(type="postgis", geom="point", interesting_tags = "*", sql = "true"
|
|||
</Parameter>
|
||||
%s
|
||||
<Parameter name="type">postgis</Parameter>
|
||||
<Parameter name="st_prefix">true</Parameter>
|
||||
<Parameter name="user">%s</Parameter>
|
||||
<Parameter name="dbname">%s</Parameter>
|
||||
<Parameter name="srid">%s</Parameter>
|
||||
|
|
Loading…
Add table
Reference in a new issue