Interactive interface for browsing global, full-resolution satellite imagery
wip
ZachTRicea0a099647c11
diff --git a/tasks/buildOptions.sh b/tasks/buildOptions.shindex 96bfe8f63..552927c54 100755--- a/tasks/buildOptions.sh+++ b/tasks/buildOptions.sh@@ -48,34 +48,34 @@ fimkdir -p "$DEST_DIR/config"mkdir -p "$BUILD_DIR/colormaps"-# If $FETCH_GC is set, make various API requests-if [ "$FETCH_GC" ] ; then- # TODO: Fix axios fetch timeouts- # Fetch GC files and create colormaps, vectordata and vectorstyle files- rm -rf "$OPT_DIR/$OPT_SUBDIR/gc/*"- rm -rf "$OPT_DIR/$OPT_SUBDIR/colormaps/gc/*"- `node $NODE_SCRIPTS_DIR/getCapabilities.js \- --config "$OPT_DIR/$OPT_SUBDIR/config.json" \- --getcapabilities "$OPT_DIR/$OPT_SUBDIR/gc"`-- # TODO: Optimize performance of this script- # Get metadata for files in layerOrder.json and combine this data into 1 file- rm -rf "$OPT_DIR/$OPT_SUBDIR/layer-metadata"- mkdir -p "$OPT_DIR/$OPT_SUBDIR/layer-metadata"- `node $NODE_SCRIPTS_DIR/getVisMetadata.js \- --features "$BUILD_DIR/features.json" \- --layerOrder "$BUILD_DIR/config/wv.json/layerOrder.json" \- --layerMetadata "$OPT_DIR/$OPT_SUBDIR/layer-metadata/all.json"`-fi+# # If $FETCH_GC is set, make various API requests+# if [ "$FETCH_GC" ] ; then+# # TODO: Fix axios fetch timeouts+# # Fetch GC files and create colormaps, vectordata and vectorstyle files+# rm -rf "$OPT_DIR/$OPT_SUBDIR/gc/*"+# rm -rf "$OPT_DIR/$OPT_SUBDIR/colormaps/gc/*"+# `node $NODE_SCRIPTS_DIR/getCapabilities.js \+# --config "$OPT_DIR/$OPT_SUBDIR/config.json" \+# --getcapabilities "$OPT_DIR/$OPT_SUBDIR/gc"`++# # TODO: Optimize performance of this script+# # Get metadata for files in layerOrder.json and combine this data into 1 file+# rm -rf "$OPT_DIR/$OPT_SUBDIR/layer-metadata"+# mkdir -p "$OPT_DIR/$OPT_SUBDIR/layer-metadata"+# `node $NODE_SCRIPTS_DIR/getVisMetadata.js \+# --features "$BUILD_DIR/features.json" \+# --layerOrder "$BUILD_DIR/config/wv.json/layerOrder.json" \+# --layerMetadata "$OPT_DIR/$OPT_SUBDIR/layer-metadata/all.json"`+# fi-# Validate layers in wv.json with a JSON schema-`node $NODE_SCRIPTS_DIR/validateConfigs.js \- --inputDirectory "$SRC_DIR/common/config/wv.json/layers" \- --schemaFile "$BASE/schemas/layer-config.json"`+# # Validate layers in wv.json with a JSON schema+# `node $NODE_SCRIPTS_DIR/validateConfigs.js \+# --inputDirectory "$SRC_DIR/common/config/wv.json/layers" \+# --schemaFile "$BASE/schemas/layer-config.json"`-if [ -e "$BUILD_DIR/features.json" ] ; then- cp "$BUILD_DIR/features.json" "$BUILD_DIR/config/wv.json/_features.json"-fi+# if [ -e "$BUILD_DIR/features.json" ] ; then+# cp "$BUILD_DIR/features.json" "$BUILD_DIR/config/wv.json/_features.json"+# fi# # Run extractConfigFromWMTS.py script with config.jsonif [ -e "$BUILD_DIR/config.json" ] ; then