Skip to content

Commit

Permalink
Install forked version of qgis-stac-plugin
Browse files Browse the repository at this point in the history
Necessary for s3 support
  • Loading branch information
yuvipanda committed Sep 27, 2023
1 parent aff8087 commit 4adc96e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions images/qgis/setup-qgis-plugins.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ set -euo pipefail
# 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 qgis-stac-plugin from our fork, to add support for reading from S3
git clone https://github.com/slesaad/qgis-stac-plugin
cd qgis-stac-plugin
git checkout support_gdal_assets
pip install --no-cache .

# Install the STAC API Browser plugin: https://stac-utils.github.io/qgis-stac-plugin/
qgis-plugin-manager install "STAC API Browser"
python admin.py build
cp -r build/qgis_stac/ ${QGIS_PLUGINPATH}/qgis_stac/
cd ..
rm -rf qgis-stac-plugin

0 comments on commit 4adc96e

Please sign in to comment.