# Unit tests for konova geometry

* adds further unit tests for konova app geometry model
This commit is contained in:
2023-09-12 09:16:10 +02:00
parent 89efc33d75
commit d69ea6d7c0
4 changed files with 69 additions and 3 deletions

View File

@@ -333,7 +333,7 @@ class BaseTestCase(TestCase):
"""
polygon = Polygon.from_bbox((7.592449, 50.359385, 7.593382, 50.359874))
polygon.srid = 4326
polygon = polygon.transform(DEFAULT_SRID_RLP, clone=True)
polygon.transform(DEFAULT_SRID_RLP)
return MultiPolygon(polygon, srid=DEFAULT_SRID_RLP)
def create_geojson(self, geometry):