mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
We are now using the code from "qgis" branch: https://github.com/hobu/untwine/tree/qgis It is in sync with "main" branch of untwine as of today, just with a couple of small patches to make it work with PDAL older than 2.4. The new version of untwine includes: - indexing to COPC (in addition to EPT) - fixes to bugs that were reported in QGIS - error reporting Untwine now also directly links to lazperf library (in addition to PDAL).
27 lines
754 B
Bash
Executable File
27 lines
754 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ "$#" -ne 1 ] ; then
|
|
echo "untwine_to_qgis: untwine directory argument required"
|
|
exit 1
|
|
fi
|
|
|
|
EXTERNAL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
UNTWINE_QGIS_DIR=$EXTERNAL_DIR/untwine
|
|
|
|
UNTWINE_DIR=$1
|
|
if [ ! -d "$UNTWINE_DIR/untwine" ] ; then
|
|
echo "untwine_to_qgis: Directory $UNTWINE_DIR/untwine does not exist"
|
|
exit 1
|
|
fi
|
|
|
|
PWD=`pwd`
|
|
|
|
echo "untwine_to_qgis: Remove old version"
|
|
rm -rf $UNTWINE_QGIS_DIR/*
|
|
|
|
echo "untwine_to_qgis: Copy new version"
|
|
rsync -r $UNTWINE_DIR/ $UNTWINE_QGIS_DIR/ --exclude="CMakeLists.txt*" --exclude="cmake/" --exclude="README.md" --exclude=".git" --exclude=".gitignore" --exclude=".github/" --exclude="ci/" --exclude="lazperf/"
|
|
|
|
echo "untwine_to_qgis: Done"
|
|
cd $PWD
|