Commit f274685b authored by PIOLLE's avatar PIOLLE

fixed call to geojson

parent dd815054
......@@ -232,7 +232,7 @@ class SpatialQuery(Query):
esarea = GeoShape.split_over_greenwich(area)
esarea = esarea.simplify(0.1, preserve_topology=True)
geojson_area = esarea.geojson()
geojson_area = GeoShape.geojson(esarea)
spatialquery = {
"geo_shape": {
"geometry": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment