Skip to content

Commit 322b8d4

Browse files
authored
Merge pull request #232 from Vizzuality/data/fix_sudan_fcs
data: replace Sudan crop types with crop extent and add buffer
2 parents 740fc13 + 410bcfd commit 322b8d4

2 files changed

Lines changed: 14 additions & 12 deletions

File tree

data-processing/src/animated_config.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -459,23 +459,18 @@ layers:
459459
transparent_values: [0]
460460

461461
# Sudan - FCS
462-
sudan_croptypes:
463-
input_folder: "../data/raw/FCS/Sudan/Crop type maps/"
464-
output_folder: "../data/processed/FCS/Sudan/APNGs/"
462+
sudan_crop_extent:
463+
input_folder: "../data/raw/FCS/Sudan/to_vizz/"
464+
output_folder: "../data/processed/FCS/Sudan/APNGs/CropExtent/"
465465
min_z: 7
466466
max_z: 10
467467
vmin: 0
468-
vmax: 255
468+
vmax: 1
469469
date_format: "YYYY"
470-
upload: false
471470
colormap:
472-
type: categorical
473-
values:
474-
0: "#ff00ff"
475-
1: "#2e41a0"
476-
2: "#006724"
477-
3: "#f2d33a"
478-
4: "#e96a1f"
471+
type: single
472+
color: [255, 170, 0, 170]
473+
transparent_values: [0]
479474

480475
# Rwanda-Uganda - Agriculture
481476
uganda_dry_matter_productivity:

data-processing/src/vector_config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,13 @@ layers:
358358
min_zoom: 8
359359
max_zoom: 12
360360

361+
sudan_livestock_zone_buffer:
362+
input_file: "../data/raw/FCS/Sudan/to_vizz/livestock_zone_buffer.shp"
363+
output_file: "../data/processed/FCS/Sudan/Vectors/Livestock_zone_buffer.mbtiles"
364+
layer_name: "Sudan_Livestock_Zone_Buffer"
365+
min_zoom: 8
366+
max_zoom: 12
367+
361368
# Afghanistan - CR
362369
afghanistan_provinces:
363370
input_file: "../data/raw/Climate_resilience/Afghanistan/Datasets/Afghanistan_Provinces/AFG_Provinces_4326.shp"

0 commit comments

Comments
 (0)