Interactive interface for browsing global, full-resolution satellite imagery
validate projections (#4519)
Patrick Mouldenfee31abca500
diff --git a/tasks/build-options/validateOptions.js b/tasks/build-options/validateOptions.jsindex 9fb6e3f3d..91e6eb762 100644--- a/tasks/build-options/validateOptions.js+++ b/tasks/build-options/validateOptions.js@@ -102,6 +102,11 @@ async function main () {removeLayer(wv, layerId)continue}+ if (!('projections' in layer) || !Object.keys(layer.projections).length) {+ error(`[${layerId}] No projections defined`)+ removeLayer(wv, layerId)+ continue+ }if ('temporal' in layer) {warn(`[${layerId}] GC Layer temporal values overwritten by Options`)layer = await processTemporalLayer(layer, layer.temporal)