-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add (but not enable) STAC plugin by default
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
# Sets up various QGIS plugins that are useful when running | ||
# on the cloud | ||
set -euo pipefail | ||
|
||
# First, let's install the plugin manager | ||
# Install from pip until https://github.com/conda-forge/staged-recipes/pull/23971 | ||
# is merged and available from `conda-forge` | ||
pip install --no-cache qgis-plugin-manager | ||
|
||
# Tell qgis-plugin-manager where our qgis plugins are | ||
export QGIS_PLUGINPATH=/opt/conda/share/qgis/python/plugins | ||
|
||
# Initialize the qgis plugin manager | ||
qgis-plugin-manager init | ||
qgis-plugin-manager update | ||
|
||
# Install the STAC API Browser plugin: https://stac-utils.github.io/qgis-stac-plugin/ | ||
qgis-plugin-manager install "STAC API Browser" |