Created
December 13, 2018 01:07
-
-
Save andrewharvey/55714a6a90160018fca0f11c6446d8ce to your computer and use it in GitHub Desktop.
ELVIS 1m DEM bbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -O - https://elvis-ga.fmecloud.com/fmedatastreaming/elvis_indexes/ReturnDownloadables.fmw | jq -r '.available_data[].downloadables.DEMs."1 Metre"[].bbox' | xargs -I '{}' turf bboxPolygon "[{}]" | tr -d '\n ' | sed 's/}{/},{/' | sed 's/^/{"type": "FeatureCollection", "features": [/' | sed 's/$/]}/' > elvisBBOX.geojson |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment