Skip to content

Commit 6df7a2b

Browse files
author
Saif Shabou
committed
update freetwon thematic analysis report #113
1 parent 307c662 commit 6df7a2b

12 files changed

+90
-28
lines changed

baseline-indicators/biodiversity/scripts/biodiverisy_data_exploration.R

+27-3
Original file line numberDiff line numberDiff line change
@@ -318,14 +318,17 @@ birds_in_geo_adm2_stat %>%
318318
yaxis = list(title = 'Number of observations in 2020'))
319319

320320

321-
# protected areas -----
321+
# protected areas map -----
322322

323323
protected_areas_sanjose = st_read("./data/biodiversity/data/biodiversity_map_layers_protected_areas_sanjose.geojson",
324324
quiet = TRUE)
325325

326326
protected_areas_costarica = st_read("./data/biodiversity/data/biodiversity_map_layers_protected_areas_costarica.geojson",
327327
quiet = TRUE)
328328

329+
protected_areas_costarica = st_read("https://cities-urbanshift.s3.eu-west-3.amazonaws.com/baseline-indicators/biodiversity/data/biodiversity_map_layers_protected_areas_sanjose.geojson",
330+
quiet = TRUE)
331+
329332
leaflet(data = boundary, height = 500, width = "100%") %>%
330333
addTiles() %>%
331334
addProviderTiles(providers$Stamen.TonerLite, group = "Toner Lite") %>%
@@ -335,7 +338,7 @@ leaflet(data = boundary, height = 500, width = "100%") %>%
335338
addPolygons(data = boundary,
336339
group = "Administrative boundaries",
337340
stroke = TRUE, color = col_Black, weight = 3,dashArray = "3",
338-
smoothFactor = 0.3, fill = TRUE, fillOpacity = 0.2,
341+
smoothFactor = 0.3, fill = FALSE, fillOpacity = 0.2,
339342
highlight = highlightOptions(
340343
weight = 5,
341344
color = "#666",
@@ -372,6 +375,27 @@ leaflet(data = boundary, height = 500, width = "100%") %>%
372375
) %>%
373376
hideGroup("Municipality boundaries")
374377

375-
# percent of protected areas by municipality
378+
# percent of protected areas by municipality ----
379+
380+
protectedarea_percent_by_municipality = read.csv("./data/biodiversity/data/protectedarea_percent_by_municipality.csv")
376381

382+
protectedarea_percent_by_municipality = read.csv("https://cities-urbanshift.s3.eu-west-3.amazonaws.com/baseline-indicators/biodiversity/data/protectedarea_percent_by_municipality.csv")
377383

384+
# rename columns
385+
protectedarea_percent_by_municipality = protectedarea_percent_by_municipality %>%
386+
rename_with(.cols = 1, ~'municpality_name') %>%
387+
rename_with(.cols = 2, ~'percent_protected_area')
388+
389+
# plot chart
390+
protectedarea_percent_by_municipality %>%
391+
arrange(desc(percent_protected_area)) %>%
392+
plot_ly(height = 500, width = 900) %>%
393+
add_trace(x = ~factor(municpality_name),
394+
y = ~percent_protected_area,
395+
marker = list(color = col_BoldRiverBlue),
396+
type = "bar",
397+
orientation = "v") %>%
398+
layout(title = "Percent of protected area by municipality (2020)",
399+
xaxis = list(title = '', categoryorder = "array",categoryarray = ~percent_protected_area),
400+
yaxis = list(title = 'Percent of protected area (%)'))
401+

baseline-indicators/greenspace/scripts/merge_outputs.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ path = paste(getwd(),"github/cities-urbanshift/baseline-indicators/greenspace",s
2121

2222
# Define city
2323

24-
selected_city = "RWA-Kigali"
24+
selected_city = "CRI-San_Jose" # "SLE-Freetown_core" #"RWA-Kigali"
2525

2626

2727
# read outputs indicators

thematic-analysis/Freetown/Freetown-thematic-analysis.Rmd

+23-2
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,11 @@ These analyses provide a proof of concept of using global remote sensing open da
970970

971971
The trained model presents a high accuracy (95%) based on the validation set extracted from the labeled data. The application of this model enabled us to explore the spatial distribution of `urban` and `non urban` areas in the whole Freetown region at different periods. The outputs show an increase in urban expansion encroaching on the Western Area Forest Reserve.
972972

973-
We proposed an urban expansion indicator based on the percentage of urban area between between 2016 and 2021. Aggregated at the ward level, the proposed indicator highlighted the cities that present the highest urban expansion, such as `Thnderhill` and `Mamba Ridge II` (more than 20% increase of urban areas in the last 6 years).
973+
- **Wards level:** We proposed an urban expansion indicator based on the percentage of urban area between between 2016 and 2021. Aggregated at the ward level, the proposed indicator highlighted the cities that present the highest urban expansion, such as `Thnderhill` and `Mamba Ridge II` (more than 20% increase of urban areas in the last 6 years).
974+
975+
- **Planning areas**: FCC provided us with the boundaries of planning areas used for urban planning policies. The aggregation of urban expansion indicator at the planning areas level highlighted the importance of urban expansion in two planning areas: `zone 8` and `zone 9` with respectively `19.3%` and `12.9%` increase in urban area.
976+
977+
- **Urban expansion by land use class:** FCC provided us with the land use shapefile dividing Freetown municipality into 13 distinct land classes. The aggregation of urban expansion indicator by land use class shows that the urban expansion is mainly located in `waterbody`, `woodland` and `urban agriculture` areas.
974978

975979
The results of this analysis may be used to better plan prevent urban expansion in the identified areas and localities as part of the development of Freetown master plan.
976980

@@ -1001,6 +1005,23 @@ While the results of the proposed classification model provide insights on urban
10011005
- [Labeled urban areas, geojson file](https://storage.googleapis.com/urbanshift/freetown/labeled_data/urban.geojson)
10021006
- [Labeled non-urban areas, geojson file](https://storage.googleapis.com/urbanshift/freetown/labeled_data/non_urban.geojson)
10031007

1004-
- **Classification maps**:
1008+
- **Classification maps (rasters)**:
10051009
- [Freetown classification map 2016, GoeTiff file](https://storage.googleapis.com/urbanshift/freetown/classified_maps/classified_map_2016.tif)
10061010
- [Freetown classification map 2021, GoeTiff file](https://storage.googleapis.com/urbanshift/freetown/classified_maps/classified_map_2021.tif)
1011+
1012+
## Download output maps
1013+
1014+
1015+
- [Land classification 2016, png file](https://cities-urbanshift.s3.eu-west-3.amazonaws.com/thematic-analysis/freetown/maps/land-classification-2016.png)
1016+
1017+
- [Land classification 2021, png file](https://cities-urbanshift.s3.eu-west-3.amazonaws.com/thematic-analysis/freetown/maps/land-classification-2021.png)
1018+
1019+
- [Urban expansion - 2016-2021 - region, png file](https://cities-urbanshift.s3.eu-west-3.amazonaws.com/thematic-analysis/freetown/maps/urban-expansion-2016-2021.png)
1020+
1021+
- [Urban expansion - 2016-2021 - wards, png file](https://cities-urbanshift.s3.eu-west-3.amazonaws.com/thematic-analysis/freetown/maps/urban-expansion-2016-2021-wards.png)
1022+
1023+
- [Urban expansion - 2016-2021 - planning areas, png file](https://cities-urbanshift.s3.eu-west-3.amazonaws.com/thematic-analysis/freetown/maps/urban-expansion-2016-2021-planning-areas.png)
1024+
1025+
- [Land use map, png file](https://cities-urbanshift.s3.eu-west-3.amazonaws.com/thematic-analysis/freetown/maps/land-use-map.png)
1026+
1027+
- [Urban expansion - 2016-2021 - land use class, png file](https://cities-urbanshift.s3.eu-west-3.amazonaws.com/thematic-analysis/freetown/maps/urban-expansion-2016-2021-by-land-use-classes.png)

thematic-analysis/Freetown/Freetown-thematic-analysis.html

+39-22
Large diffs are not rendered by default.
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)