Geometry fix

* removes geographic=True from Geometry model
This commit is contained in:
mpeltriaux 2021-10-20 10:38:07 +02:00
parent 9e7e5ee726
commit d5b6c7f098

View File

@ -312,5 +312,4 @@ class Geometry(BaseResource):
Outsourced geometry model so multiple versions of the same object can refer to the same geometry if it is not changed
"""
from konova.settings import DEFAULT_SRID
# Read more about geography=True here: https://docs.djangoproject.com/en/3.2/ref/contrib/gis/model-api/#geography
geom = MultiPolygonField(null=True, blank=True, srid=DEFAULT_SRID, geography=True)
geom = MultiPolygonField(null=True, blank=True, srid=DEFAULT_SRID)