This commit is contained in:
Komяpa 2011-05-26 19:11:51 +03:00
parent c216a1e1e0
commit f279a8c54a

View file

@ -146,7 +146,7 @@ def get_vectors(bbox, zoom, style, vec = "polygon"):
del geom[t]
geojson = json.loads(geom[geomcolumn])
del geom[geomcolumn]
if geojson["type"] = "GeometryCollection":
if geojson["type"] == "GeometryCollection":
continue
if "reprpoint" in geom:
geojson["reprpoint"] = json.loads(geom["reprpoint"])["coordinates"]