Template for the GFW Map Builder that is available through ArcGIS Online, as a stand-alone web application, & a library to build custom Forest Atlas web applications
However, when I look at the call made in mapbuilder the response is different. The mapbuilder call is visible below, it includes an analysis configuration but not a layer configuration.
{
"data": {
"id": "04526d47-f3f5-4f76-a939-e5f7861fd085",
"type": "layer",
"attributes": {
"name": "Aboveground live woody biomass density",
"slug": "Aboveground-live-woody-biomass-density_1",
"dataset": "ca7ddf2b-4c4b-485f-afe7-3c1d3eea0c1f",
"application": ["forest-atlas"],
"iso": [],
"userId": "58750a56dfc643722bdd02ab",
"default": false,
"protected": false,
"published": true,
"env": "production",
"layerConfig": {
"label": {
"ka": "მიწისზედა ცოცხალი ტყის ბიომასის სიხშირე",
"zh": "Aboveground Live Woody Biomass Density",
"id": "Aboveground Live Woody Biomass Density",
"pt": "Densidade de biomassa viva acima do solo",
"es": "Densidad de la biomasa viva en la superficie del suelo",
"fr": "Densité de la biomasse aérienne vivante",
"en": "Aboveground Live Woody Biomass Density"
},
"legendLayer": [8],
"technicalName": "aboveground_biomass",
"url": "https://gis-gfw.wri.org/arcgis/rest/services/image_services/whrc_carbon_tcd/ImageServer",
"type": "image",
"metadata": "https://production-api.globalforestwatch.org/v1/gfw-metadata/aboveground_biomass",
"id": "AG_BIOMASS"
},
"legendConfig": {
},
"interactionConfig": {
},
"applicationConfig": {
"analysisConfig": [{
"analysisId": "BIO_LOSS",
"label": {
"en": "Aboveground Live Woody Biomass Density",
"fr": "Densité de la biomasse aérienne vivante",
"es": "Densidad de la biomasa viva en la superficie del suelo",
"pt": "Densidade de biomassa viva acima do solo",
"id": "Aboveground Live Woody Biomass Density",
"zh": "Aboveground Live Woody Biomass Density",
"ka": "მიწისზედა ცოცხალი ტყის ბიომასის სიხშირე"
},
"title": {
"en": "Aboveground Live Woody Biomass Density",
"fr": "Densité de la biomasse aérienne vivante",
"es": "Densidad de la biomasa viva en la superficie del suelo",
"pt": "Densidade de biomassa viva acima do solo",
"id": "Aboveground Live Woody Biomass Density",
"zh": "Aboveground Live Woody Biomass Density",
"ka": "მიწისზედა ცოცხალი ტყის ბიომასის სიხშირე"
},
"chartType": "biomassLoss",
"colors": {
"loss": "#FF6699",
"carbon": "#BEBCC2"
},
"analysisUrl": "https://production-api.globalforestwatch.org/v1/biomass-loss",
"uiParams": [{
"inputType": "rangeSlider",
"startParamName": "period",
"combineParams": true,
"valueSeparator": ",",
"bounds": [2001,
2014],
"valueType": "date",
"label": {
"en": "Select range for analysis",
"fr": "Select range for analysis",
"es": "Select range for analysis",
"pt": "Select range for analysis",
"id": "Select range for analysis",
"zh": "Select range for analysis",
"ka": "Select range for analysis"
}
},
{
"name": "thresh",
"inputType": "tcd",
"label": {
"en": "Select tree cover density: ",
"fr": "Select tree cover density: ",
"es": "Select tree cover density: ",
"pt": "Select tree cover density: ",
"id": "Select tree cover density: ",
"zh": "Select tree cover density: ",
"ka": "Select tree cover density: "
}
}]
}]
},
"staticImageConfig": {
},
"updatedAt": "2018-12-13T03:45:15.509Z"
}
}
}
I made several changes to the mapbuilder layers yesterday. However, it looks like the API Layer calls made by mapbuilder are not updating.
Here is an example. I updated the aboveground biomass layer to include a legend and removed the analysis configuration. Here is the layer call: https://production-api.globalforestwatch.org/v1/layer/04526d47-f3f5-4f76-a939-e5f7861fd085
However, when I look at the call made in mapbuilder the response is different. The mapbuilder call is visible below, it includes an analysis configuration but not a layer configuration.