Interactive interface for browsing global, full-resolution satellite imagery
Don't warn on missing layers when not needed
Mike McGann559e4b70e00b
diff --git a/bin/wv-options-validate b/bin/wv-options-validateindex d70243ce0..aab4bfc7d 100755--- a/bin/wv-options-validate+++ b/bin/wv-options-validate@@ -76,10 +76,13 @@ for layer_id in wv["layers"].keys():continueelif tolerant:wv["layerOrder"] += [layer_id]- else:+ elif opt.get("warnOnUnexpectedLayer"):warn("[%s] Unexpected layer, not in layer order" % layer_id)remove_layer(wv, layer_id)continue+ else:+ remove_layer(wv, layer_id)+ continueif "projections" not in layer or len(layer["projections"]) == 0:error("[%s] No projections defined or not found in GC documents" %layer_id)