Skip to content

Commit

Permalink
Change labels of Colombia categories from orig Spanish to English
Browse files Browse the repository at this point in the history
These are the labels that will be used directly in the front end.
  • Loading branch information
danscales committed Jul 10, 2024
1 parent 79ab006 commit e362c81
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ case class ColFronteraAgricola(gridTile: GridTile, kwargs: Map[String, Any]) ext
val uri: String = uriForGrid(gridTile, kwargs)

def lookup(value: Int): String = value match {
case 1 => "No condicionado;Frontera agricola nacional"
case 2 => "Condicionado;Ambiental"
case 3 => "Condicionado;Ambiental/Riesgo de desastres"
case 4 => "Condicionado;Ambiental/Riesgo de desastres/Étnico-Cultural'"
case 5 => "Condicionado;Ambiental/Étnico-Cultural"
case 6 => "Condicionado;Gestión riesgo de desastres"
case 7 => "Condicionado;Riesgo de desastres/Étnico-Cultural"
case 8 => "Condicionado;Étnico-Cultural"
case 9 => "Zona restricción;Restricciones acuerdo cero deforestación"
case 10 => "Zona restricción;Restricciones legales"
case 11 => "Zona restricción;Restricciones técnicas (Áreas no agropecuarias)"
case 1 => "Unconditioned;National Agricultural Frontier"
case 2 => "Conditioned;Environmental"
case 3 => "Conditioned;Environmental/Disaster Risk"
case 4 => "Conditioned;Environmental/Disaster Risk/Ethno-Cultural'"
case 5 => "Conditioned;Environmental/Ethno-Cultural"
case 6 => "Conditioned;Disaster Risk Management"
case 7 => "Conditioned;Disaster Risk/Ethno-Cultural"
case 8 => "Conditioned;Ethno-Cultural"
case 9 => "Restrictions;Zero Deforestation Agreement"
case 10 => "Restrictions;Legal"
case 11 => "Restrictions;Technical (Non-agricultural areas)"
case _ => ""
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
list_id location_id status_code location_error tree_cover_loss_total_yearly tree_cover_loss_primary_forest_yearly tree_cover_loss_peat_yearly tree_cover_loss_intact_forest_yearly tree_cover_loss_protected_areas_yearly tree_cover_loss_by_country_yearly tree_cover_loss_by_country_wdpa_yearly tree_cover_loss_by_country_landmark_yearly tree_cover_loss_by_country_classified_region_yearly tree_cover_loss_arg_otbn_yearly tree_cover_loss_sea_landcover_yearly tree_cover_loss_idn_landcover_yearly tree_cover_loss_soy_yearly tree_cover_loss_idn_legal_yearly tree_cover_loss_idn_forest_moratorium_yearly tree_cover_loss_prodes_yearly tree_cover_loss_prodes_wdpa_yearly tree_cover_loss_prodes_primary_forest_yearly country_area country_specific_deforestation_yearly country_specific_deforestation_wdpa_yearly country_specific_deforestation_landmark_yearly country_specific_deforestation_classified_region_yearly classified_region_area tree_cover_loss_brazil_biomes_yearly tree_cover_extent_total tree_cover_extent_primary_forest tree_cover_extent_protected_areas tree_cover_extent_peat tree_cover_extent_intact_forest natural_habitat_primary natural_habitat_intact_forest total_area protected_areas_area peat_area arg_otbn_area protected_areas_by_category_area landmark_by_category_area brazil_biomes idn_legal_area sea_landcover_area idn_landcover_area idn_forest_moratorium_area south_america_presence legal_amazon_presence brazil_biomes_presence cerrado_biome_presence southeast_asia_presence indonesia_presence argentina_presence commodity_value_forest_extent commodity_value_peat commodity_value_protected_areas commodity_threat_deforestation commodity_threat_peat commodity_threat_protected_areas commodity_threat_fires
12 2 2 {"2001":0.1529,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.1529,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0764,"2012":0.1529,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.5351,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0} {} {} {} {"2001":0.1529,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.1529,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0764,"2012":0.1529,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.5351,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0} {"COL":{"2001":0.1529,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.1529,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0764,"2012":0.1529,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.5351,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0}} {"COL":{"Category II":{"2001":0.1529,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.1529,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0764,"2012":0.1529,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.5351,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0}}} {"COL":{"Not Reported":{"2001":0.1529,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.1529,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0764,"2012":0.1529,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.5351,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0}}} {"COL":{"Restrictions;Legal":{"2001":0.1529,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.1529,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0764,"2012":0.1529,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.5351,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0}}} {} {} {} {} {} {} {} {} {} {"COL":1792.6054} {} {} {} {} {"COL":{"Restrictions;Legal":1792.6054}} {} 24.0046 0.0 24.0046 0.0 0.0 0.0 0.0 1792.6054 1792.6054 0.0 {} {"Category II":1792.6054} {"Not Reported":1792.6054} {} {} {} {} 0.0 true false false false false false false {"2001":0.4587,"2002":0.4587,"2003":0.4587,"2004":0.4587,"2005":0.4587,"2006":0.4587,"2007":0.4587,"2008":0.4587,"2009":0.3058,"2010":0.3058,"2011":0.3058,"2012":0.3058,"2013":0.3058,"2014":0.3058,"2015":0.3058,"2016":0.3058,"2017":0.3058,"2018":0.3058,"2019":0.3058,"2020":0.3058,"2021":0.3058,"2022":0.3058} {"2001":0.0,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.0,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0,"2012":0.0,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0} {"2001":1792.6054,"2002":1792.6054,"2003":1792.6054,"2004":1792.6054,"2005":1792.6054,"2006":1792.6054,"2007":1792.6054,"2008":1792.6054,"2009":1792.6054,"2010":1792.6054,"2011":1792.6054,"2012":1792.6054,"2013":1792.6054,"2014":1792.6054,"2015":1792.6054,"2016":1792.6054,"2017":1792.6054,"2018":1792.6054,"2019":1792.6054,"2020":1792.6054,"2021":1792.6054,"2022":1792.6054} {"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.1529,"2008":0.1529,"2009":0.0,"2010":0.0,"2011":0.0,"2012":0.0,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0} {"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.0,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0,"2012":0.0,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0} {"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.1529,"2008":0.1529,"2009":0.0,"2010":0.0,"2011":0.0,"2012":0.0,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0} {}
12 1 2 {"2001":16.2101,"2002":4.9701,"2003":6.8816,"2004":8.0285,"2005":0.0,"2006":6.8816,"2007":1.9116,"2008":3.4408,"2009":7.7226,"2010":4.8936,"2011":0.4588,"2012":0.6117,"2013":0.0,"2014":0.6882,"2015":0.6117,"2016":1.2235,"2017":0.8411,"2018":2.0645,"2019":4.0526,"2020":0.6117,"2021":0.2294,"2022":2.7528,"2023":0.2294} {"2001":9.252,"2002":4.8936,"2003":4.4348,"2004":7.2638,"2005":0.0,"2006":5.8875,"2007":1.9116,"2008":2.3703,"2009":7.4932,"2010":4.2819,"2011":0.2294,"2012":0.4588,"2013":0.0,"2014":0.5352,"2015":0.0,"2016":0.0,"2017":0.0,"2018":1.1469,"2019":1.1469,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.2294} {} {} {"2001":15.4455,"2002":4.5877,"2003":1.0705,"2004":0.2294,"2005":0.0,"2006":0.4588,"2007":1.9116,"2008":0.0765,"2009":0.8411,"2010":0.4588,"2011":0.2294,"2012":0.3823,"2013":0.0,"2014":0.0,"2015":0.0,"2016":1.2235,"2017":0.6882,"2018":0.9176,"2019":2.9057,"2020":0.0,"2021":0.0,"2022":2.5998,"2023":0.2294} {"COL":{"2001":16.2101,"2002":4.9701,"2003":6.8816,"2004":8.0285,"2005":0.0,"2006":6.8816,"2007":1.9116,"2008":3.4408,"2009":7.7226,"2010":4.8936,"2011":0.4588,"2012":0.6117,"2013":0.0,"2014":0.6882,"2015":0.6117,"2016":1.2235,"2017":0.8411,"2018":2.0645,"2019":4.0526,"2020":0.6117,"2021":0.2294,"2022":2.7528,"2023":0.2294}} {"COL":{"Category VI":{"2001":0.5353,"2002":0.0,"2003":0.3823,"2004":0.1529,"2005":0.0,"2006":0.2294,"2007":0.0,"2008":0.0765,"2009":0.0765,"2010":0.1529,"2011":0.0,"2012":0.2294,"2013":0.0,"2014":0.0,"2015":0.0,"2016":1.2235,"2017":0.6882,"2018":0.9176,"2019":2.8292,"2020":0.0,"2021":0.0,"2022":2.5998,"2023":0.0},"Category II":{"2001":14.9102,"2002":4.5877,"2003":0.6882,"2004":0.0765,"2005":0.0,"2006":0.2294,"2007":1.9116,"2008":0.0,"2009":0.7646,"2010":0.3059,"2011":0.2294,"2012":0.1529,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0765,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.2294}}} {} {"COL":{"Restrictions;Zero Deforestation Agreement":{"2001":0.0,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.0,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0765,"2012":0.0,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0},"Conditioned;Environmental":{"2001":0.0765,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.0,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0,"2012":0.0,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0},"Conditioned;Environmental/Disaster Risk":{"2001":0.0,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0765,"2007":0.0,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0,"2012":0.0765,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0},"Restrictions;Legal":{"2001":15.9043,"2002":4.9701,"2003":6.8816,"2004":8.0285,"2005":0.0,"2006":6.8051,"2007":1.9116,"2008":3.4408,"2009":7.7226,"2010":4.8936,"2011":0.3823,"2012":0.4588,"2013":0.0,"2014":0.6882,"2015":0.6117,"2016":1.2235,"2017":0.8411,"2018":2.0645,"2019":4.0526,"2020":0.6117,"2021":0.2294,"2022":2.7528,"2023":0.2294},"Restrictions;Technical (Non-agricultural areas)":{"2001":0.2294,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.0,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0,"2012":0.0765,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0}}} {} {} {} {} {} {} {} {} {} {"COL":1807.2221} {} {} {} {} {"COL":{"Restrictions;Zero Deforestation Agreement":2.5998,"Conditioned;Environmental":0.0765,"Conditioned;Environmental/Disaster Risk":0.1529,"Restrictions;Legal":1798.5053,"Restrictions;Technical (Non-agricultural areas)":5.8876}} {} 1346.2938 607.9543 1020.7132 0.0 0.0 608.3367 0.0 1807.2221 1347.2942 0.0 {} {"Category VI":558.8093,"Category II":788.4849} {} {} {} {} {} 0.0 true false false false false false false {"2001":850.7308,"2002":850.7308,"2003":835.1324,"2004":830.2388,"2005":823.5866,"2006":815.864,"2007":815.864,"2008":810.1294,"2009":808.2943,"2010":805.0064,"2011":797.3603,"2012":792.5432,"2013":792.0844,"2014":791.4727,"2015":791.4727,"2016":790.7845,"2017":790.3257,"2018":789.5611,"2019":789.4846,"2020":787.6495,"2021":783.8263,"2022":783.3675} {"2001":0.0,"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.0,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0,"2012":0.0,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0} {"2001":1347.2942,"2002":1347.2942,"2003":1347.2942,"2004":1347.2942,"2005":1347.2942,"2006":1347.2942,"2007":1347.2942,"2008":1347.2942,"2009":1347.2942,"2010":1347.2942,"2011":1347.2942,"2012":1347.2942,"2013":1347.2942,"2014":1347.2942,"2015":1347.2942,"2016":1347.2942,"2017":1347.2942,"2018":1347.2942,"2019":1347.2942,"2020":1347.2942,"2021":1347.2942,"2022":1347.2942} {"2002":20.492,"2003":11.5458,"2004":14.3748,"2005":7.7226,"2006":5.7346,"2007":7.5697,"2008":5.123,"2009":10.934,"2010":12.4633,"2011":5.2759,"2012":1.0705,"2013":0.6117,"2014":0.6882,"2015":1.1469,"2016":1.2234,"2017":0.8411,"2018":1.9116,"2019":5.6583,"2020":4.282,"2021":0.4588,"2022":2.1411} {"2002":0.0,"2003":0.0,"2004":0.0,"2005":0.0,"2006":0.0,"2007":0.0,"2008":0.0,"2009":0.0,"2010":0.0,"2011":0.0,"2012":0.0,"2013":0.0,"2014":0.0,"2015":0.0,"2016":0.0,"2017":0.0,"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0} {"2002":19.3451,"2003":5.5818,"2004":1.1469,"2005":0.0765,"2006":0.3823,"2007":2.2174,"2008":1.9116,"2009":0.9175,"2010":1.2999,"2011":0.6882,"2012":0.6117,"2013":0.3823,"2014":0.0,"2015":0.0,"2016":0.7647,"2017":0.7647,"2018":0.9176,"2019":3.6703,"2020":2.7528,"2021":0.0,"2022":2.1411} {}
Loading

0 comments on commit e362c81

Please sign in to comment.