another subquery removal
This commit is contained in:
parent
a539c22ac8
commit
3faa2c9c97
1 changed files with 1 additions and 3 deletions
|
@ -388,9 +388,7 @@ if options.renderer == "mapnik":
|
|||
itags = ", ".join(itags)
|
||||
oitags = '"'+ "\", \"".join(oitags) +'"'
|
||||
sqlz = """select %s, ST_LineMerge(ST_Union(way)) as way from
|
||||
(SELECT %s, ST_Boundary(way) as way from
|
||||
(SELECT %s, way from planet_osm_polygon where (%s) and ST_IsValid(way) ) tex
|
||||
) p
|
||||
(SELECT %s, ST_Boundary(way) as way from planet_osm_polygon where (%s) and ST_IsValid(way) ) tex
|
||||
group by %s
|
||||
"""%(itags,itags,oitags,sql,oitags)
|
||||
#elif layer_type == "line" and there_are_dashed_lines:
|
||||
|
|
Loading…
Add table
Reference in a new issue