This commit is contained in:
Darafei Praliaskouski 2012-07-20 00:19:18 +03:00
parent ac825fb4cf
commit 4393cc513d

View file

@ -334,7 +334,7 @@ def xml_layer(type="postgis", geom="point", interesting_tags = "*", sql = "true"
%s
<Datasource>
<Parameter name="table">
(select %s, ST_Simplify(way, %s)
(select %s, ST_Simplify(way, %s) as way
from %s%s
where %s
) as text