Skip to content

Instantly share code, notes, and snippets.

View acgeospatial's full-sized avatar

Andrew Cutts acgeospatial

View GitHub Profile
@acgeospatial
acgeospatial / copy_paste_open_QGIS_project.bat
Created February 22, 2024 08:33
bat file to copy a master QGIS project to desktop and then open it
@echo off
set "sourcePath=D:\test.qgs"
set "destinationPath=%HOMEDRIVE%%HOMEPATH%\Desktop\test.qgs"
set "openCommand=C:\OSGeo4W\bin\qgis-ltr-bin.exe"
if not exist "%sourcePath%" (
echo Source file does not exist.
goto :eof
)
@acgeospatial
acgeospatial / pyqgis.cmd
Created June 4, 2020 09:28
pyqgis for QGIS 3.10 LTR installed via osgeo4w
@echo off
SET OSGEO4W_ROOT=C:\OSGeo4W64
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
call "%OSGEO4W_ROOT%"\apps\grass\grass78\etc\env.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%\apps\qgis\bin
path %PATH%;%OSGEO4W_ROOT%\apps\grass\grass78\lib
path %PATH%;C:\OSGeo4W64\apps\Qt5\bin
path %PATH%;C:\OSGeo4W64\apps\Python37\Scripts
echo example print statement
name: base
channels:
- anaconda
- conda-forge
- defaults
dependencies:
- _ipyw_jlab_nb_ext_conf=0.1.0=py37_0
- affine=2.3.0=py_0
- alabaster=0.7.12=py_0
- anaconda-client=1.7.2=py37_0
@acgeospatial
acgeospatial / pyqgis.cmd
Last active February 25, 2019 08:28
PyQGIS for windows 10 on QGIS LTR 3.4.5-Madeira
@echo off
SET OSGEO4W_ROOT=C:\OSGeo4W64
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
call "%OSGEO4W_ROOT%"\apps\grass\grass-7.6.0\etc\env.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%\apps\qgis-ltr\bin
path %PATH%;%OSGEO4W_ROOT%\apps\grass\grass-7.6.0\lib
path %PATH%;C:\OSGeo4W64\apps\Qt5\bin
path %PATH%;C:\OSGeo4W64\apps\Python37\Scripts
@acgeospatial
acgeospatial / pyqgis.cmd
Created February 22, 2019 12:44
pyqgis.cmd for QGIS 3.4.4
@echo off
SET OSGEO4W_ROOT=C:\OSGeo4W64
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
call "%OSGEO4W_ROOT%"\apps\grass\grass-7.6.0\etc\env.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%\apps\qgis\bin
path %PATH%;%OSGEO4W_ROOT%\apps\grass\grass-7.6.0\lib
path %PATH%;C:\OSGeo4W64\apps\Qt5\bin
path %PATH%;C:\OSGeo4W64\apps\Python37\Scripts