Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add settlements v2 to config

Benjamin King8cdee93938cc
diff --git a/config/default/common/config/wv.json/defaults.json b/config/default/common/config/wv.json/defaults.json
index 5233435b6..372d2c719 100644
--- a/config/default/common/config/wv.json/defaults.json
+++ b/config/default/common/config/wv.json/defaults.json
@@ -2,11 +2,29 @@
"defaults": {
"projection": "geographic",
"startingLayers": [
- {"id": "Nuclear_Power_Plant_Locations_v1_STD", "hidden": "true"},
- {"id": "GRanD_Dams_v1.01_STD", "hidden": "true"},
- {"id": "GRanD_Reservoirs_v1.01_STD", "hidden": "true"},
- {"id": "GRUMP_Settlements_v1.01_STD", "hidden": "true"},
- {"id": "BlueMarble_ShadedRelief_Bathymetry"}
+ {
+ "id": "Nuclear_Power_Plant_Locations_v1_STD",
+ "hidden": "true"
+ },
+ {
+ "id": "GRanD_Dams_v1.01_STD",
+ "hidden": "true"
+ },
+ {
+ "id": "GRanD_Reservoirs_v1.01_STD",
+ "hidden": "true"
+ },
+ {
+ "id": "GRUMP_Settlements_v1.01_STD",
+ "hidden": "true"
+ },
+ {
+ "id": "GRUMP_Settlements_v2.01_STD",
+ "hidden": "true"
+ },
+ {
+ "id": "BlueMarble_ShadedRelief_Bathymetry"
+ }
]
}
-}
+}
\ No newline at end of file
diff --git a/config/default/common/config/wv.json/layers/vector/GRUMP_Settlements_v2.01_STD.json b/config/default/common/config/wv.json/layers/vector/GRUMP_Settlements_v2.01_STD.json
new file mode 100644
index 000000000..0bd00bd3a
--- /dev/null
+++ b/config/default/common/config/wv.json/layers/vector/GRUMP_Settlements_v2.01_STD.json
@@ -0,0 +1,27 @@
+{
+ "layers": {
+ "GRUMP_Settlements_v2.01_STD": {
+ "id": "GRUMP_Settlements_v2.01_STD",
+ "title": "Settlements (Global Rural-Urban Mapping Project, v2.01, Standard)",
+ "subtitle": "",
+ "description": "vector/GRUMP_Settlements_v2.01_STD",
+ "type": "vector",
+ "tags": "vector vectors",
+ "group": "overlays",
+ "downloadId": "GRUMP_Settlements",
+ "layergroup": [
+ "vector"
+ ],
+ "uniqueIdenitifier": "Latlongid",
+ "inactive": true,
+ "vectorStyle": {
+ "id": "GRUMP_Settlements_v2.01_STD"
+ },
+ "palette": {
+ "id": "GRUMP_Settlements",
+ "immutable": true
+ },
+ "period": "daily"
+ }
+ }
+}
\ No newline at end of file
diff --git a/config/default/common/vectorstyles/GRUMP_Settlements_v2.01_STD.json b/config/default/common/vectorstyles/GRUMP_Settlements_v2.01_STD.json
new file mode 100644
index 000000000..a1ef2a0c9
--- /dev/null
+++ b/config/default/common/vectorstyles/GRUMP_Settlements_v2.01_STD.json
@@ -0,0 +1,40 @@
+{
+ "version": 8,
+ "name": "SEDAC",
+ "sources": {
+ "GRUMP_Settlements_v2.01_STD": {
+ "type": "vector",
+ "tiles": [
+ "https://gibs.earthdata.nasa.gov/wmts/epsg4326/nrt/GRUMP_Settlements_v1.01_STD/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt"
+ ]
+ }
+ },
+ "layers": [
+ {
+ "id": "GRUMP_Settlements_v2.01_STD",
+ "source": "GRUMP_Settlements_v2.01_STD",
+ "source-layer": "GRUMP_Settlements_v2.01_STD",
+ "source-description": "Default",
+ "type": "circle",
+ "paint": {
+ "circle-radius": {
+ "base": 2,
+ "stops": [
+ [
+ 12,
+ 1
+ ],
+ [
+ 22,
+ 7
+ ]
+ ]
+ },
+ "circle-color": "rgb(103, 236, 0)",
+ "circle-stroke-color": "rgba(0,0,0,0.7)",
+ "circle-opacity": 0.7,
+ "circle-stroke-width": 0.3
+ }
+ }
+ ]
+}
\ No newline at end of file