fixed roads table usage
This commit is contained in:
parent
c5144678cf
commit
b7c3d71f7e
1 changed files with 5 additions and 4 deletions
|
@ -444,10 +444,11 @@ if options.renderer == "mapnik":
|
|||
"[boundary] = 'administrative'",
|
||||
"[railway] "
|
||||
])
|
||||
for r in roads:
|
||||
if r in rulestring:
|
||||
return True
|
||||
return False
|
||||
for a in rulestring.split(') or ('):
|
||||
for r in roads:
|
||||
if r not in a:
|
||||
return False
|
||||
return True
|
||||
for zlayer in index_range:
|
||||
for layer_type, entry_types in [("line",("way", "line")),("polygon",("way","area"))]:
|
||||
sql_g = set()
|
||||
|
|
Loading…
Add table
Reference in a new issue