Skip to content

Commit e7d759f

Browse files
authored
Merge pull request #154 from mapswipe/fix/aoi-area-level
Update aoi geometry area
2 parents 1635051 + d1fd46d commit e7d759f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
url = [email protected]:mapswipe/mapswipe-firebase.git
44
[submodule "assets"]
55
path = assets
6-
url = https://github.com/mapswipe/mapswipe-assets
6+
url = git@github.com:mapswipe/mapswipe-assets.git

apps/project/serializers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ def _validate_aoi_geometry(
386386
area = sum(geom.area for geom in geometries)
387387

388388
# FIXME(tnagorra): We need to change AOI geometry to 20 sq.km.
389-
# Increasing this to 40 because of failing tests
390-
MAX_AOI_GEOMETRY_AREA = 40
389+
# Increasing this to 100000000 because of failing tests
390+
MAX_AOI_GEOMETRY_AREA = 100000000
391391
if area * 10000 > MAX_AOI_GEOMETRY_AREA:
392392
raise ValidationError(
393393
{

0 commit comments

Comments
 (0)