fork https://github.com/3liz/quickosm mit kleinen fixes fuer qgis2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

run-env-linux.sh 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/bash
  2. QGIS_PREFIX_PATH=/usr/local/qgis-2.4
  3. if [ -n "$1" ]; then
  4. QGIS_PREFIX_PATH=$1
  5. fi
  6. echo $QGIS_PREFIX_PATH
  7. export QGIS_PREFIX_PATH=$QGIS_PREFIX_PATH
  8. export QGIS_PATH=$QGIS_PREFIX_PATH
  9. export LD_LIBRARY_PATH=${QGIS_PREFIX_PATH}/lib
  10. export PYTHONPATH=${QGIS_PREFIX_PATH}/share/qgis/python:${QGIS_PREFIX_PATH}/share/qgis/python/plugins:${PYTHONPATH}
  11. echo "QGIS PATH: $QGIS_PREFIX_PATH"
  12. export QGIS_DEBUG=0
  13. export QGIS_LOG_FILE=/tmp/inasafe/realtime/logs/qgis.log
  14. export QGIS_DEBUG_FILE=/tmp/inasafe/realtime/logs/qgis-debug.log
  15. export PATH=${QGIS_PREFIX_PATH}/bin:$PATH
  16. export INASAFE_WORK_DIR=/tmp/quake
  17. export INASAFE_POPULATION_PATH=`pwd`/realtime/fixtures/exposure/population.tif
  18. export INASAFE_LOCALE=id
  19. # The following line enables remote logging to sentry and may reveal
  20. # IP address / host name / file system paths (which could include your user
  21. # name)
  22. export INASAFE_SENTRY=1
  23. echo "This script is intended to be sourced to set up your shell to"
  24. echo "use a QGIS 2.0 built in $QGIS_PREFIX_PATH"
  25. echo
  26. echo "To use it do:"
  27. echo "source $BASH_SOURCE /your/optional/install/path"
  28. echo
  29. echo "Then use the make file supplied here e.g. make guitest"