Closed bradleyandrick closed 9 months ago
Related Issue(s):
Proposed Changes:
Collections
Bonus:
DEFAULT_COLLECTION
label
ViewSelector.jsx
npm run test
Tests for Collections in config
COLLECTIONS
STAC_API_URL
"COLLECTIONS": ["naip", "sentinel-2-l2a"]
naip
sentinel-2-l2a
"DEFAULT_COLLECTION": "sentinel-2-l2a"
"COLLECTIONS": [testCollection]
Error: No Collections Found
PR Checklist:
Related Issue(s):
Proposed Changes:
Collections
option in config.Bonus:
DEFAULT_COLLECTION
from config actually optional and not error out if not in API collections returned.label
inViewSelector.jsx
not being connected to a element.To Test:
npm run test
Tests for Collections in config
COLLECTIONS
not added to config.jsonDEFAULT_COLLECTION
is not included in config.jsonSTAC_API_URL
to be using an API from earth search v1"COLLECTIONS": ["naip", "sentinel-2-l2a"]
to config.jsonnaip
andsentinel-2-l2a
in listnaip
first (should be selected initially)"DEFAULT_COLLECTION": "sentinel-2-l2a"
to config.jsonnaip
andsentinel-2-l2a
in listsentinel-2-l2a
first (should be selected initially)COLLECTIONS
to not match any of the STAC API collections,"COLLECTIONS": [testCollection]
in config.jsonError: No Collections Found
PR Checklist: