Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Changed wording to titiler (#5186)

christof-wittreich0f134aa99045
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Customizable_Landsat.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Customizable_Landsat.json
index cba52e023..53bc2d9e3 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Customizable_Landsat.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Customizable_Landsat.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Landsat-8_Descending", "OrbitTracks_Landsat-9_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Customizable_Sentinel.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Customizable_Sentinel.json
index d0dafb03b..61b77edce 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Customizable_Sentinel.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Customizable_Sentinel.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Sentinel-2A_Descending", "OrbitTracks_Sentinel-2B_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Landsat.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Landsat.json
index 8feec1265..143995303 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Landsat.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Landsat.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Landsat-8_Descending", "OrbitTracks_Landsat-9_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Sentinel.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Sentinel.json
index 58c3d0a97..cf04681a4 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Sentinel.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Sentinel.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Sentinel-2A_Descending", "OrbitTracks_Sentinel-2B_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Urban_Landsat.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Urban_Landsat.json
index 31362c003..1cb0f977a 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Urban_Landsat.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Urban_Landsat.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Landsat-8_Descending", "OrbitTracks_Landsat-9_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Urban_Sentinel.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Urban_Sentinel.json
index 40e8e6786..b247409ff 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Urban_Sentinel.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Urban_Sentinel.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Sentinel-2A_Descending", "OrbitTracks_Sentinel-2B_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Vegetation_Landsat.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Vegetation_Landsat.json
index d16ca639e..dab0ad1bc 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Vegetation_Landsat.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Vegetation_Landsat.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Landsat-8_Descending", "OrbitTracks_Landsat-9_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Vegetation_Sentinel.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Vegetation_Sentinel.json
index 612d780e9..6876ca501 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Vegetation_Sentinel.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_False_Color_Vegetation_Sentinel.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Sentinel-2A_Descending", "OrbitTracks_Sentinel-2B_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Moisture_Index_Landsat.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Moisture_Index_Landsat.json
index 84c5ec875..ac9425c0e 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Moisture_Index_Landsat.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Moisture_Index_Landsat.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Landsat-8_Descending", "OrbitTracks_Landsat-9_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Moisture_Index_Sentinel.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Moisture_Index_Sentinel.json
index d0902416e..b1d939f5d 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Moisture_Index_Sentinel.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Moisture_Index_Sentinel.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Sentinel-2A_Descending", "OrbitTracks_Sentinel-2B_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDSI_Landsat.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDSI_Landsat.json
index d4899fba9..4beb899c6 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDSI_Landsat.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDSI_Landsat.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Snow Indices",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Landsat-8_Descending", "OrbitTracks_Landsat-9_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDSI_Sentinel.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDSI_Sentinel.json
index 397a31968..bdacfc2ce 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDSI_Sentinel.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDSI_Sentinel.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Snow Indices",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Sentinel-2A_Descending", "OrbitTracks_Sentinel-2B_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDVI_Landsat.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDVI_Landsat.json
index b134c91a8..900498a1f 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDVI_Landsat.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDVI_Landsat.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Vegetation Indices",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Landsat-8_Descending", "OrbitTracks_Landsat-9_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDVI_Sentinel.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDVI_Sentinel.json
index 868047045..570a12746 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDVI_Sentinel.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDVI_Sentinel.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Vegetation Indices",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Sentinel-2A_Descending", "OrbitTracks_Sentinel-2B_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDWI_Landsat.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDWI_Landsat.json
index 76155c860..526d5e39d 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDWI_Landsat.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDWI_Landsat.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Landsat-8_Descending", "OrbitTracks_Landsat-9_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDWI_Sentinel.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDWI_Sentinel.json
index a6af4268f..08ddc8bfb 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDWI_Sentinel.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_NDWI_Sentinel.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Sentinel-2A_Descending", "OrbitTracks_Sentinel-2B_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Shortwave_Infrared_Landsat.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Shortwave_Infrared_Landsat.json
index a97fa5d3c..c36b2e161 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Shortwave_Infrared_Landsat.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Shortwave_Infrared_Landsat.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Landsat-8_Descending", "OrbitTracks_Landsat-9_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Shortwave_Infrared_Sentinel.json b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Shortwave_Infrared_Sentinel.json
index 53c5eeb59..d69827bb4 100644
--- a/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Shortwave_Infrared_Sentinel.json
+++ b/config/default/common/config/wv.json/layers/multi-mission/hls/HLS_Shortwave_Infrared_Sentinel.json
@@ -11,7 +11,7 @@
"group": "overlays",
"layergroup": "Land Surface Reflectance",
"format": "image/png",
- "type": "ttiler",
+ "type": "titiler",
"period": "daily",
"orbitTracks": ["OrbitTracks_Sentinel-2A_Descending", "OrbitTracks_Sentinel-2B_Descending"],
"orbitDirection": ["descending", "descending"],
diff --git a/schemas/layer-config.json b/schemas/layer-config.json
index 2f3f764da..f6805e17e 100644
--- a/schemas/layer-config.json
+++ b/schemas/layer-config.json
@@ -355,7 +355,7 @@
"wmts",
"vector",
"granule",
- "ttiler"
+ "titiler"
]
},
"format": {
diff --git a/web/js/components/layer/settings/layer-settings.js b/web/js/components/layer/settings/layer-settings.js
index 019a29e23..f66148bff 100644
--- a/web/js/components/layer/settings/layer-settings.js
+++ b/web/js/components/layer/settings/layer-settings.js
@@ -344,7 +344,7 @@ class LayerSettings extends React.Component {
} = this.props;
const hasAssociatedLayers = layer.associatedLayers && layer.associatedLayers.length;
const hasTracks = layer.orbitTracks && layer.orbitTracks.length;
- const ttilerLayer = layer.id === 'HLS_Customizable_Sentinel' || layer.id === 'HLS_Customizable_Landsat';
+ const titilerLayer = layer.id === 'HLS_Customizable_Sentinel' || layer.id === 'HLS_Customizable_Landsat';
const granuleMetadata = layer?.enableCMRDataFinder && !(zot?.underZoomValue > 0);
const layerGroup = layer.layergroup;
@@ -368,7 +368,7 @@ class LayerSettings extends React.Component {
/>
{this.renderGranuleSettings()}
{renderCustomizations}
- {ttilerLayer && <BandSelection layer={layer} />}
+ {titilerLayer && <BandSelection layer={layer} />}
{granuleMetadata && <ImagerySearch layer={layer} /> }
{(hasAssociatedLayers || hasTracks) && <AssociatedLayers layer={layer} />}
</>
diff --git a/web/js/containers/sidebar/layer-row.js b/web/js/containers/sidebar/layer-row.js
index d188edfd8..6b4194667 100644
--- a/web/js/containers/sidebar/layer-row.js
+++ b/web/js/containers/sidebar/layer-row.js
@@ -129,7 +129,7 @@ function LayerRow (props) {
const ddvLayerZoomNoticeActive = ddvZoomAlerts.includes(layer.title);
const ddvLayerLocationNoticeActive = ddvLocationAlerts.includes(layer.title);
// All DDV layer notices are dismissable + Reflectance (Nadir BRDF-Adjusted) + DSWx-HLS
- const isLayerNotificationDismissable = layer.type === 'ttiler' || layer.title === 'Reflectance (Nadir BRDF-Adjusted)' || layer.subtitle === 'DSWx-HLS';
+ const isLayerNotificationDismissable = layer.type === 'titiler' || layer.title === 'Reflectance (Nadir BRDF-Adjusted)' || layer.subtitle === 'DSWx-HLS';
useEffect(() => {
const asyncFunc = async () => {
diff --git a/web/js/map/layerbuilder.js b/web/js/map/layerbuilder.js
index 003002b0e..a85b5149a 100644
--- a/web/js/map/layerbuilder.js
+++ b/web/js/map/layerbuilder.js
@@ -679,7 +679,7 @@ export default function mapLayerBuilder(config, cache, store) {
return name;
};
- const createTtilerLayer = async (def, options, day, state) => {
+ const createTitilerLayer = async (def, options, day, state) => {
const { proj: { selected }, date } = state;
const { maxExtent, crs } = selected;
const { r, g, b } = def.bandCombo;
@@ -793,7 +793,7 @@ export default function mapLayerBuilder(config, cache, store) {
let layer = cache.getItem(key);
const isGranule = type === 'granule';
- if (!layer || isGranule || def.type === 'ttiler') {
+ if (!layer || isGranule || def.type === 'titiler') {
if (!date) date = options.date || getSelectedDate(state);
const cacheOptions = getCacheOptions(period, date);
const attributes = {
@@ -824,8 +824,8 @@ export default function mapLayerBuilder(config, cache, store) {
case 'wms':
layer = getLayer(createLayerWMS, def, options, attributes, wrapLayer);
break;
- case 'ttiler':
- layer = await getLayer(createTtilerLayer, def, options, attributes, wrapLayer);
+ case 'titiler':
+ layer = await getLayer(createTitilerLayer, def, options, attributes, wrapLayer);
break;
case 'xyz':
layer = getLayer(createXYZLayer, def, options, attributes, wrapLayer);
@@ -835,7 +835,7 @@ export default function mapLayerBuilder(config, cache, store) {
}
layer.wv = attributes;
cache.setItem(key, layer, cacheOptions);
- if (def.type !== 'ttiler') layer.setVisible(false);
+ if (def.type !== 'titiler') layer.setVisible(false);
} else {
layer = await getGranuleLayer(def, attributes, options);
}
diff --git a/web/js/mapUI/components/update-date/updateDate.js b/web/js/mapUI/components/update-date/updateDate.js
index 8e30eef9a..272480f47 100644
--- a/web/js/mapUI/components/update-date/updateDate.js
+++ b/web/js/mapUI/components/update-date/updateDate.js
@@ -71,7 +71,7 @@ function UpdateDate(props) {
compareMapUi.update(activeString);
}
- async function updateDate(outOfStepChange, skipTtiler) {
+ async function updateDate(outOfStepChange, skipTitiler) {
const { createLayer } = ui;
const layerGroup = getActiveLayerGroup(layerState);
@@ -92,7 +92,7 @@ function UpdateDate(props) {
const index = findLayerIndex(def);
const hasVectorStyles = config.vectorStyles && lodashGet(def, 'vectorStyle.id');
if (isCompareActive && layers.length) {
- await updateCompareLayer(def, index, mapLayerCollection, layers, skipTtiler);
+ await updateCompareLayer(def, index, mapLayerCollection, layers, skipTitiler);
} else if (temporalLayer) {
if (index !== undefined && index !== -1) {
const layerValue = layers[index];
@@ -127,9 +127,9 @@ function UpdateDate(props) {
return updateDate(action.outOfStep);
} if (action.type === layerConstants.TOGGLE_LAYER_VISIBILITY || action.type === layerConstants.TOGGLE_OVERLAY_GROUP_VISIBILITY) {
const outOfStep = false;
- // if date not changing we do not want to recreate ttiler layer
- const skipTtiler = true;
- return updateDate(outOfStep, skipTtiler);
+ // if date not changing we do not want to recreate titiler layer
+ const skipTitiler = true;
+ return updateDate(outOfStep, skipTitiler);
}
};
diff --git a/web/js/modules/map/util.js b/web/js/modules/map/util.js
index c4bd264e1..3a9117738 100644
--- a/web/js/modules/map/util.js
+++ b/web/js/modules/map/util.js
@@ -295,7 +295,7 @@ export async function promiseImageryForTime(state, date, activeString) {
} = map.ui;
const layers = getActiveVisibleLayersAtDate(state, date, activeString);
await Promise.all(layers.map(async (layer) => {
- if (layer.type === 'granule' || layer.type === 'ttiler') {
+ if (layer.type === 'granule' || layer.type === 'titiler') {
return Promise.resolve();
}
const options = { date, group: activeString };
@@ -320,7 +320,7 @@ export async function promiseImageryForTour(state, layers, dateString, activeStr
const appNow = lodashGet(state, 'date.appNow');
const date = tryCatchDate(dateString, appNow);
await Promise.all(layers.map(async (layer) => {
- if (layer.type === 'granule' || layer.type === 'ttiler') {
+ if (layer.type === 'granule' || layer.type === 'titiler') {
return Promise.resolve();
}
const options = { date, group: activeString || 'active' };
diff --git a/web/js/modules/product-picker/format-config.js b/web/js/modules/product-picker/format-config.js
index 8eff910ac..d2bc4c0be 100644
--- a/web/js/modules/product-picker/format-config.js
+++ b/web/js/modules/product-picker/format-config.js
@@ -81,13 +81,16 @@ function setCoverageFacetProp(layer, selectedDate) {
function setTypeProp(layer) {
const { type } = layer;
- const rasterTypes = ['wms', 'wmts'];
+ const rasterTypes = ['wms', 'wmts', 'xyz'];
if (rasterTypes.includes(type)) {
layer.type = 'Raster (Mosaicked)';
}
if (layer.type === 'granule') {
layer.type = 'Raster (Granule)';
}
+ if (layer.type === 'titiler') {
+ layer.type = 'Dynamically-rendered';
+ }
layer.type = capitalizeFirstLetter(layer.type);
return layer;
}