Skip to content

Commit 48e02f4

Browse files
committed
hotfix: add polygon map layers for 7 campaigns via local GeoJSON
Implements Issue #207 — Add polygon/map layer for each campaign. Adds 7 GeoJSON fixture files to public/fixtures/ that are automatically discovered by the existing fixture-reader.ts (import.meta.glob pattern). No code changes required — the layer controls will show the new campaign layers as toggleable items. New fixture files: - campaign_rio_negro_conservation.geojson (18,500 acres, River Conservation) - campaign_solimoes_wetland.geojson (22,000 acres, Wetland Restoration) - campaign_taruma_corridor.geojson (9,800 acres, Wildlife Corridor) - campaign_encontro_das_aguas.geojson (31,000 acres, Ecological Reserve) - campaign_ducke_forest.geojson (10,000 acres, Research Station) - campaign_puraquequara_lake.geojson (7,500 acres, Lake Protection) - campaign_anavilhanas_archipelago.geojson (42,000 acres, Environmental Monitoring) Each GeoJSON follows the existing fixture format: - type: FeatureCollection with CRS header - name: 'Campaign: <name>' for layer control display - features: Polygon geometry with campaign properties (name, status, partner, acreage, watershed, projectType) All polygons are positioned around the Manaus region to be visible on the existing map view centered at -3.1319, -60.0261.
1 parent 56a476b commit 48e02f4

7 files changed

Lines changed: 240 additions & 0 deletions
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"type": "FeatureCollection",
3+
"name": "Campaign: Anavilhanas Archipelago Monitoring",
4+
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
5+
"features": [
6+
{
7+
"type": "Feature",
8+
"id": "anavilhanas-1",
9+
"properties": {
10+
"id": "anavilhanas-1",
11+
"name": "Anavilhanas Archipelago Monitoring",
12+
"campaign": "Anavilhanas Archipelago Monitoring",
13+
"status": "active",
14+
"partner": "ICMBio Brazil",
15+
"acreage": 42000,
16+
"watershed": "Rio Negro Archipelago",
17+
"projectType": "Environmental Monitoring"
18+
},
19+
"geometry": {
20+
"type": "Polygon",
21+
"coordinates": [
22+
[
23+
[-60.1800, -2.9600],
24+
[-60.1200, -2.9400],
25+
[-60.0800, -2.9700],
26+
[-60.0900, -3.0000],
27+
[-60.1400, -3.0100],
28+
[-60.1800, -2.9900],
29+
[-60.1800, -2.9600]
30+
]
31+
]
32+
}
33+
}
34+
]
35+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"type": "FeatureCollection",
3+
"name": "Campaign: Ducke Forest Research",
4+
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
5+
"features": [
6+
{
7+
"type": "Feature",
8+
"id": "ducke-1",
9+
"properties": {
10+
"id": "ducke-1",
11+
"name": "Ducke Forest Research",
12+
"campaign": "Ducke Forest Research",
13+
"status": "active",
14+
"partner": "INPA Research Institute",
15+
"acreage": 10000,
16+
"watershed": "Upper Taruma Basin",
17+
"projectType": "Research Station"
18+
},
19+
"geometry": {
20+
"type": "Polygon",
21+
"coordinates": [
22+
[
23+
[-59.9700, -2.9500],
24+
[-59.9200, -2.9500],
25+
[-59.9200, -2.9900],
26+
[-59.9400, -3.0100],
27+
[-59.9700, -3.0000],
28+
[-59.9700, -2.9500]
29+
]
30+
]
31+
}
32+
}
33+
]
34+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"type": "FeatureCollection",
3+
"name": "Campaign: Encontro das Aguas Reserve",
4+
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
5+
"features": [
6+
{
7+
"type": "Feature",
8+
"id": "encontro-1",
9+
"properties": {
10+
"id": "encontro-1",
11+
"name": "Encontro das Aguas Reserve",
12+
"campaign": "Encontro das Aguas Reserve",
13+
"status": "active",
14+
"partner": "Meeting of the Waters Foundation",
15+
"acreage": 31000,
16+
"watershed": "Negro-Solimoes Confluence",
17+
"projectType": "Ecological Reserve"
18+
},
19+
"geometry": {
20+
"type": "Polygon",
21+
"coordinates": [
22+
[
23+
[-59.9800, -3.0800],
24+
[-59.9200, -3.0800],
25+
[-59.9000, -3.1100],
26+
[-59.9200, -3.1400],
27+
[-59.9600, -3.1400],
28+
[-59.9800, -3.1200],
29+
[-59.9800, -3.0800]
30+
]
31+
]
32+
}
33+
}
34+
]
35+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"type": "FeatureCollection",
3+
"name": "Campaign: Puraquequara Lake Protection",
4+
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
5+
"features": [
6+
{
7+
"type": "Feature",
8+
"id": "puraquequara-1",
9+
"properties": {
10+
"id": "puraquequara-1",
11+
"name": "Puraquequara Lake Protection",
12+
"campaign": "Puraquequara Lake Protection",
13+
"status": "planning",
14+
"partner": "Manaus Environmental Agency",
15+
"acreage": 7500,
16+
"watershed": "Puraquequara Lake System",
17+
"projectType": "Lake Protection"
18+
},
19+
"geometry": {
20+
"type": "Polygon",
21+
"coordinates": [
22+
[
23+
[-59.9200, -3.0200],
24+
[-59.8800, -3.0200],
25+
[-59.8700, -3.0500],
26+
[-59.8900, -3.0700],
27+
[-59.9200, -3.0600],
28+
[-59.9200, -3.0200]
29+
]
30+
]
31+
}
32+
}
33+
]
34+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"type": "FeatureCollection",
3+
"name": "Campaign: Rio Negro Conservation",
4+
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
5+
"features": [
6+
{
7+
"type": "Feature",
8+
"id": "rio-negro-1",
9+
"properties": {
10+
"id": "rio-negro-1",
11+
"name": "Rio Negro Conservation",
12+
"campaign": "Rio Negro Conservation",
13+
"status": "active",
14+
"partner": "Amazon River Foundation",
15+
"acreage": 18500,
16+
"watershed": "Rio Negro Basin",
17+
"projectType": "River Conservation"
18+
},
19+
"geometry": {
20+
"type": "Polygon",
21+
"coordinates": [
22+
[
23+
[-60.1200, -3.0500],
24+
[-60.0600, -3.0500],
25+
[-60.0600, -3.0900],
26+
[-60.0800, -3.1100],
27+
[-60.1200, -3.1100],
28+
[-60.1200, -3.0500]
29+
]
30+
]
31+
}
32+
}
33+
]
34+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"type": "FeatureCollection",
3+
"name": "Campaign: Solimoes Wetland Restoration",
4+
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
5+
"features": [
6+
{
7+
"type": "Feature",
8+
"id": "solimoes-1",
9+
"properties": {
10+
"id": "solimoes-1",
11+
"name": "Solimoes Wetland Restoration",
12+
"campaign": "Solimoes Wetland Restoration",
13+
"status": "active",
14+
"partner": "Wetlands International",
15+
"acreage": 22000,
16+
"watershed": "Solimoes Watershed",
17+
"projectType": "Wetland Restoration"
18+
},
19+
"geometry": {
20+
"type": "Polygon",
21+
"coordinates": [
22+
[
23+
[-60.0800, -3.1400],
24+
[-60.0200, -3.1400],
25+
[-60.0200, -3.1800],
26+
[-60.0500, -3.2000],
27+
[-60.0800, -3.1900],
28+
[-60.0800, -3.1400]
29+
]
30+
]
31+
}
32+
}
33+
]
34+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"type": "FeatureCollection",
3+
"name": "Campaign: Taruma Biodiversity Corridor",
4+
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
5+
"features": [
6+
{
7+
"type": "Feature",
8+
"id": "taruma-1",
9+
"properties": {
10+
"id": "taruma-1",
11+
"name": "Taruma Biodiversity Corridor",
12+
"campaign": "Taruma Biodiversity Corridor",
13+
"status": "planning",
14+
"partner": "Biodiversity Alliance Brazil",
15+
"acreage": 9800,
16+
"watershed": "Taruma-Acu Basin",
17+
"projectType": "Wildlife Corridor"
18+
},
19+
"geometry": {
20+
"type": "Polygon",
21+
"coordinates": [
22+
[
23+
[-60.1000, -3.0100],
24+
[-60.0500, -3.0100],
25+
[-60.0500, -3.0500],
26+
[-60.0700, -3.0600],
27+
[-60.1000, -3.0500],
28+
[-60.1000, -3.0100]
29+
]
30+
]
31+
}
32+
}
33+
]
34+
}

0 commit comments

Comments
 (0)