From afcfa4375333cd7a8be061c662a9e8652c56441b Mon Sep 17 00:00:00 2001 From: Das Dores Ngueussie Ngamini Date: Mon, 30 Mar 2026 16:37:26 -0400 Subject: [PATCH 1/4] Adding WA countries shapes files --- fbfmaproom/fbfmaproom-sample.yaml | 90 +++++++++++++++++-------------- 1 file changed, 50 insertions(+), 40 deletions(-) diff --git a/fbfmaproom/fbfmaproom-sample.yaml b/fbfmaproom/fbfmaproom-sample.yaml index 7ab35ef1..27695217 100644 --- a/fbfmaproom/fbfmaproom-sample.yaml +++ b/fbfmaproom/fbfmaproom-sample.yaml @@ -1,3 +1,4 @@ + mode: debug # debug, devel or prod # use 0.0.0.0 if you want to connect from another machine. Only @@ -2333,23 +2334,23 @@ countries: marker: [8.025, 17.025] shapes: - name: National - sql: select adm0_code as key, adm0_name as label, ST_AsBinary(the_geom) as the_geom - from iridb.g2015_2012_0 where adm0_name = 'Niger' - + file: niger/shapes/2026-03/ner_admin_boundaries.shp.zip + layer: ner_admin0 + key_field: adm0_pcode + label_field: adm0_name - name: Regional - sql: select (adm0_code, adm1_code) as key, adm1_name as label, - ST_AsBinary(the_geom) as the_geom from iridb.g2015_2014_1 - where adm0_name = 'Niger' + file: niger/shapes/2026-03/ner_admin_boundaries.shp.zip + layer: ner_admin1 + key_field: adm1_pcode + label_field: adm1_name - name: Department - sql: select (adm0_code, adm1_code, adm2_code) as key, adm2_name as label, - ST_AsBinary(the_geom) as the_geom from iridb.g2015_2014_2 - where adm0_name = 'Niger' + file: niger/shapes/2026-03/ner_admin_boundaries.shp.zip + layer: ner_admin2 + key_field: adm2_pcode + label_field: adm2_name - - name: Commune - sql: select rowcacode3 as key, adm_03 as label, - ST_AsBinary(the_geom) as the_geom from iridb.ner_adm03_feb2018 datasets: defaults: @@ -3373,18 +3374,23 @@ countries: marker: [-4.025, 17.025] shapes: - name: National - sql: select adm0_code as key, adm0_name as label, ST_AsBinary(the_geom) as the_geom - from iridb.g2015_2012_0 where adm0_name = 'Mali' + file: mali/shapes/2026-03/mli_admin_boundaries.shp.zip + layer: mli_admin0 + key_field: adm0_pcode + label_field: adm0_name - name: Regional - sql: select (adm0_code, adm1_code) as key, adm1_name as label, - ST_AsBinary(the_geom) as the_geom from iridb.g2015_2014_1 - where adm0_name = 'Mali' + file: mali/shapes/2026-03/mli_admin_boundaries.shp.zip + layer: mli_admin1 + key_field: adm1_pcode + label_field: adm1_name - name: Department - sql: select (adm0_code, adm1_code, adm2_code) as key, adm2_name as label, - ST_AsBinary(the_geom) as the_geom from iridb.g2015_2014_2 - where adm0_name = 'Mali' + file: mali/shapes/2026-03/mli_admin_boundaries.shp.zip + layer: mli_admin2 + key_field: adm2_pcode + + datasets: defaults: @@ -3549,20 +3555,22 @@ countries: marker: [17.125, 19.165] shapes: - name: National - sql: select adm0_code as key, adm0_name as label, ST_AsBinary(the_geom) as the_geom - from iridb.g2015_2012_0 where adm0_name = 'Chad' - + file: chad/shapes/2026-03/tcd_admin_boundaries.shp.zip + layer: tcd_admin0 + key_field: adm0_pcode + label_field: adm0_name - name: Regional - sql: select (adm0_code, adm1_code) as key, adm1_name as label, - ST_AsBinary(the_geom) as the_geom from iridb.g2015_2014_1 - where adm0_name = 'Chad' - + file: chad/shapes/2026-03/tcd_admin_boundaries.shp.zip + layer: tcd_admin1 + key_field: adm1_pcode + label_field: adm1_name - name: Department - sql: select (adm0_code, adm1_code, adm2_code) as key, adm2_name as label, - ST_AsBinary(the_geom) as the_geom from iridb.g2015_2014_2 - where adm0_name = 'Chad' + file: chad/shapes/2026-03/tcd_admin_boundaries.shp.zip + layer: tcd_admin2 + key_field: adm2_pcode + label_field: adm2_name datasets: @@ -3728,20 +3736,22 @@ countries: marker: [-1.60, 12.90] shapes: - name: National - sql: select adm0_code as key, adm0_name as label, ST_AsBinary(the_geom) as the_geom - from iridb.g2015_2012_0 where adm0_name = 'Burkina Faso' - + file: burkinafaso/shapes/2026-03/bfa_admin_boundaries.shp.zip + layer: bfa_admin0 + key_field: adm0_pcode + label_field: adm0_name - name: Regional - sql: select (adm0_code, adm1_code) as key, adm1_name as label, - ST_AsBinary(the_geom) as the_geom from iridb.g2015_2014_1 - where adm0_name = 'Burkina Faso' - + file: burkinafaso/shapes/2026-03/bfa_admin_boundaries.shp.zip + layer: bfa_admin1 + key_field: adm1_pcode + label_field: adm1_name - name: Department - sql: select (adm0_code, adm1_code, adm2_code) as key, adm2_name as label, - ST_AsBinary(the_geom) as the_geom from iridb.g2015_2014_2 - where adm0_name = 'Burkina Faso' + file: burkinafaso/shapes/2026-03/bfa_admin_boundaries.shp.zip + layer: bfa_admin2 + key_field: adm2_pcode + label_field: adm2_name datasets: From 7ce96d83fb274178b7d452d47d074c3aa0bd4ce9 Mon Sep 17 00:00:00 2001 From: Nitin Magima Date: Wed, 1 Apr 2026 00:10:01 -0400 Subject: [PATCH 2/4] Fixed shapefile label for Mali in configuration. --- fbfmaproom/fbfmaproom-sample.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/fbfmaproom/fbfmaproom-sample.yaml b/fbfmaproom/fbfmaproom-sample.yaml index 27695217..2a6b1e9b 100644 --- a/fbfmaproom/fbfmaproom-sample.yaml +++ b/fbfmaproom/fbfmaproom-sample.yaml @@ -3389,6 +3389,7 @@ countries: file: mali/shapes/2026-03/mli_admin_boundaries.shp.zip layer: mli_admin2 key_field: adm2_pcode + label_field: adm2_name From 174d82bd88ce82d770dc3ef9d4c00922e8a999b5 Mon Sep 17 00:00:00 2001 From: Nitin Magima Date: Wed, 1 Apr 2026 09:20:56 -0400 Subject: [PATCH 3/4] Added back Commune label for Niger in configuration. --- fbfmaproom/fbfmaproom-sample.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fbfmaproom/fbfmaproom-sample.yaml b/fbfmaproom/fbfmaproom-sample.yaml index 2a6b1e9b..90db366b 100644 --- a/fbfmaproom/fbfmaproom-sample.yaml +++ b/fbfmaproom/fbfmaproom-sample.yaml @@ -2351,6 +2351,12 @@ countries: key_field: adm2_pcode label_field: adm2_name + - name: Commune + file: niger/shapes/2026-03/ner_admin_boundaries.shp.zip + layer: ner_admin3 + key_field: adm3_pcode + label_field: adm3_name + datasets: defaults: From 2b6b6dbbf4234f04e38086b8240accf42feae9c9 Mon Sep 17 00:00:00 2001 From: Aaron Kaplan Date: Mon, 6 Apr 2026 09:40:24 -0400 Subject: [PATCH 4/4] Remove spurious blank line --- fbfmaproom/fbfmaproom-sample.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/fbfmaproom/fbfmaproom-sample.yaml b/fbfmaproom/fbfmaproom-sample.yaml index 90db366b..324a87b3 100644 --- a/fbfmaproom/fbfmaproom-sample.yaml +++ b/fbfmaproom/fbfmaproom-sample.yaml @@ -1,4 +1,3 @@ - mode: debug # debug, devel or prod # use 0.0.0.0 if you want to connect from another machine. Only