Interactive interface for browsing global, full-resolution satellite imagery
An unexpected layer now fails unless warnings are turned on or the layer is in the exception list
Mike McGannb9ceba546628
diff --git a/bin/wv-options-validate b/bin/wv-options-validateindex aab4bfc7d..e007415c6 100755--- a/bin/wv-options-validate+++ b/bin/wv-options-validate@@ -71,7 +71,7 @@ if tolerant:for layer_id in wv["layers"].keys():layer = wv["layers"][layer_id]if layer_id not in wv["layerOrder"]:- if "layerOrderExceptions" in wv and layer_id in wv["layerOrderExceptions"]:+ if layer_id in wv.get("layerOrderExceptions", []):remove_layer(wv, layer_id)continueelif tolerant:@@ -81,6 +81,7 @@ for layer_id in wv["layers"].keys():remove_layer(wv, layer_id)continueelse:+ error("[%s] Unexpected layer, not in layer order" % layer_id)remove_layer(wv, layer_id)continueif "projections" not in layer or len(layer["projections"]) == 0: