diff --git a/app/broadcast_areas/broadcast-areas.sqlite3 b/app/broadcast_areas/broadcast-areas.sqlite3 index db12cc0d5..81c085e9c 100644 Binary files a/app/broadcast_areas/broadcast-areas.sqlite3 and b/app/broadcast_areas/broadcast-areas.sqlite3 differ diff --git a/app/broadcast_areas/source_files/Test.geojson b/app/broadcast_areas/source_files/Test.geojson index 43a0e6d3b..70735fd01 100644 --- a/app/broadcast_areas/source_files/Test.geojson +++ b/app/broadcast_areas/source_files/Test.geojson @@ -1,20 +1,73 @@ { - "type":"FeatureCollection", - "features":[{ - "type": "Feature", - "properties": { - "id": "santa-claus-village-rovaniemi", - "name": "Santa Claus Village, Rovaniemi" + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "id": "santa-claus-village-rovaniemi-a", + "name": "Santa Claus Village, Rovaniemi A" + }, + "geometry": { + "type": "Polygon", + "coordinates": [[ + [25.8890, 66.5500], + [25.8890, 66.551], + [25.8910, 66.551], + [25.8910, 66.5500], + [25.889, 66.55000] + ]] + } }, - "geometry": { - "type":"Polygon", - "coordinates": [[ - [25.8890, 66.5500], - [25.8890, 66.551], - [25.8910, 66.551], - [25.8910, 66.5500], - [25.889, 66.55000] - ]] + { + "type": "Feature", + "properties": { + "id": "santa-claus-village-rovaniemi-b", + "name": "Santa Claus Village, Rovaniemi B" + }, + "geometry": { + "type": "Polygon", + "coordinates": [[ + [25.895, 66.577], + [25.897, 66.577], + [25.897, 66.578], + [25.895, 66.578], + [25.895, 66.577] + ]] + } + }, + { + "type": "Feature", + "properties": { + "id": "santa-claus-village-rovaniemi-c", + "name": "Santa Claus Village, Rovaniemi C" + }, + "geometry": { + "type": "Polygon", + "coordinates": [[ + [25.952, 66.572], + [25.954, 66.572], + [25.954, 66.573], + [25.952, 66.573], + [25.952, 66.572] + ]] + } + }, + { + "type": "Feature", + "properties": { + "id": "santa-claus-village-rovaniemi-d", + "name": "Santa Claus Village, Rovaniemi D" + }, + "geometry": { + "type": "Polygon", + "coordinates": [[ + [25.944, 66.586], + [25.947, 66.586], + [25.947, 66.587], + [25.944, 66.587], + [25.944, 66.586] + ]] + } } - }] -} + ] +} \ No newline at end of file diff --git a/tests/app/broadcast_areas/test_broadcast_area.py b/tests/app/broadcast_areas/test_broadcast_area.py index 02d84f3da..e612fd976 100644 --- a/tests/app/broadcast_areas/test_broadcast_area.py +++ b/tests/app/broadcast_areas/test_broadcast_area.py @@ -336,7 +336,7 @@ def test_phone_density( ), ( # No population data available - 'test-santa-claus-village-rovaniemi', 1_500, 0.01347 + 'test-santa-claus-village-rovaniemi-a', 1_500, 0.01347 ) )) def test_estimated_bleed(