forgot one place where it still was y,x
This commit is contained in:
parent
a3be7b2842
commit
d174451699
1 changed files with 2 additions and 2 deletions
|
@ -78,8 +78,8 @@ class GeometryMixin(SerializableMixin):
|
|||
if simple_geometry:
|
||||
result['point'] = (self.level_id, ) + tuple(round(i, 2) for i in self.centroid.coords[0])
|
||||
if not isinstance(self.geometry, Point):
|
||||
result['bounds'] = ((int(math.floor(self.miny)), int(math.floor(self.minx))),
|
||||
(int(math.ceil(self.maxy)), int(math.ceil(self.maxx))))
|
||||
result['bounds'] = ((int(math.floor(self.minx)), int(math.floor(self.miny))),
|
||||
(int(math.ceil(self.maxx)), int(math.ceil(self.maxy))))
|
||||
return result
|
||||
|
||||
def get_shadow_geojson(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue