Skip to content

Commit

Permalink
adds paraguay ctx layers to prod
Browse files Browse the repository at this point in the history
  • Loading branch information
sorodrigo committed May 29, 2019
1 parent 166509e commit 6fb1b49
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
68 changes: 68 additions & 0 deletions frontend/gis/cartodb/tool/templates.production.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,73 @@
}
]
}
},
{
"version": "0.0.1",
"name": "paraguay_ecoregions_2018_11_14",
"layergroup": {
"version": "1.0.1",
"layers": [
{
"type": "cartodb",
"options": {
"sql": "SELECT * FROM paraguay_ecoregions_2018_11_14",
"cartocss": "#layer { polygon-opacity: 0; line-color: #000000; line-width: 1; line-opacity: 1; } #layer[zoom > 4]::labels { text-name: [simple_name]; text-face-name: 'Open Sans Regular'; text-size: 15; text-fill: #FFFFFF; text-allow-overlap: true; text-placement: interior; text-halo-fill: black; text-halo-radius: 1; text-character-spacing: 3; [zoom=5] { text-size: 11; [simple_name='Chaco Humedo'] { text-dy: -10; } [simple_name='Mata Atlantica'] { text-dy: 30; } } [zoom=6] { [simple_name='Chaco Humedo'] { text-dy: 5; } [simple_name='Mata Atlantica'] { text-dy: -15; } } [simple_name='Mata Atlantica'] { text-dy: 20; } [simple_name='Pantanal'] { text-dy: 30; text-dx: 5; } }",
"cartocss_version": "2.3.0"
}
}
]
}
},
{
"version": "0.0.1",
"name": "paraguay_protected_areas_2018_11_14",
"layergroup": {
"version": "1.0.1",
"layers": [
{
"type": "cartodb",
"options": {
"sql": "SELECT * FROM paraguay_protected_areas_2018_11_14",
"cartocss": "#paraguay_protected_areas_2018_11_14{ polygon-opacity: 0.5; polygon-fill:#B4D84F; line-color: #B4D84F; line-width: 1; line-opacity: 1;}",
"cartocss_version": "2.3.0"
}
}
]
}
},
{
"version": "0.0.1",
"name": "paraguay_indigenous_areas_2018_11_14",
"layergroup": {
"version": "1.0.1",
"layers": [
{
"type": "cartodb",
"options": {
"sql": "SELECT * FROM paraguay_indigenous_areas_2018_11_14",
"cartocss": "#paraguay_indigenous_areas_2018_11_14{ polygon-fill:#ECC35F; polygon-opacity: 0.5; line-color: #ECC35F; line-width: 1; line-opacity: 1;}",
"cartocss_version": "2.3.0"
}
}
]
}
},
{
"version": "0.0.1",
"name": "py_deforestation_2013_2017_20190131",
"layergroup": {
"version": "1.0.1",
"layers": [
{
"type": "cartodb",
"options": {
"sql": "SELECT * FROM py_deforestation_2013_2017_20190131",
"cartocss": "#layer { polygon-opacity: 0.8; line-width: 0.2; line-opacity: 1; [ year = 2013] { polygon-fill: #ecda9a; line-color: #ecda9a; } [ year = 2014] { polygon-fill: #f1b973; line-color: #f1b973; } [ year = 2015] { polygon-fill: #f7945d; line-color: #f7945d; } [ year = 2016] { polygon-fill: #f86f56; line-color: #f86f56; } [ year = 2017] { polygon-fill: #ee4d5a; line-color: #ee4d5a; } }",
"cartocss_version": "2.3.0"
}
}
]
}
}
]
16 changes: 16 additions & 0 deletions frontend/scripts/named-maps/tool_named_maps_carto.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,22 @@ module.exports = {
brazil_defor_alerts: {
uid: 'brazil_defor_alerts__production',
layergroupid: 'p2cs-sei@c4807a94@9495c323e40ff63e0c59e0fc6ffbebcd:1538401614852'
},
paraguay_ecoregions_2018_11_14: {
uid: 'paraguay_ecoregions_2018_11_14__production',
layergroupid: 'p2cs-sei@8bc16e3e@920a70ce8cd9698d474541a13571868e:1543380503816'
},
paraguay_protected_areas_2018_11_14: {
uid: 'paraguay_protected_areas_2018_11_14__production',
layergroupid: 'p2cs-sei@7fb7d231@e3a7e457c532b2340f2fa76d05c84160:1542212474275'
},
paraguay_indigenous_areas_2018_11_14: {
uid: 'paraguay_indigenous_areas_2018_11_14__production',
layergroupid: 'p2cs-sei@93c53b34@286bbb73f3bcdfa206205acef80ec835:1542212565695'
},
py_deforestation_2013_2017_20190131: {
uid: 'py_deforestation_2013_2017_20190131__production',
layergroupid: 'p2cs-sei@9d6ad933@07588ca1af7caf72f3f838cdac1cac8f:1548926222884'
}
},
development: {
Expand Down

0 comments on commit 6fb1b49

Please sign in to comment.