Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qgis portable #33

Open
ghtmtt opened this issue Jan 22, 2014 · 4 comments
Open

qgis portable #33

ghtmtt opened this issue Jan 22, 2014 · 4 comments
Labels

Comments

@ghtmtt
Copy link
Contributor

ghtmtt commented Jan 22, 2014

Alternative to package creation is to use the qgis_portable (http://webgis.arpa.piemonte.it/geoportale/index.php/notizie-e-documentazione/manuali/167-quantum-gis-qgis).
Once downloaded and unzipped, just click on qgis.bat and QGIS will start.

We can set several option editing the file qgis.bat (see qgis --help for all the options available):

  • to start qgis with our customization.ini file, first but it into the ../qgis_portable/QGIS folder -> add --customizationfile %OSGEO4W%\configuration.ini
  • to start QGIS with a project AND the customization.ini file replace the line (start "Quantum GIS" /B %OSGEO4W_ROOT%\bin\qgis.bat --configpath %DRV_LTR%qgisconfig ) with IF "%1" == "" (start "Quantum GIS" /B %OSGEO4W_ROOT%\bin\qgis.bat --configpath %DRV_LTR%qgisconfig --customizationfile %OSGEO4W_ROOT%\configuration.ini) ELSE (start "Quantum GIS" /B %OSGEO4W_ROOT%\bin\qgis.bat --configpath %DRV_LTR%qgisconfig --project %1 --customizationfile %OSGEO4W_ROOT%\configuration.ini)
@ghtmtt
Copy link
Contributor Author

ghtmtt commented Jan 22, 2014

problem: not able to start customized qgis with Statist plugin

@ghtmtt
Copy link
Contributor Author

ghtmtt commented Jan 22, 2014

solved the Statist issue: added manually the statist folder (C:user/.../.qgis/python/plugins) into the qgis_portable/qgisconfig/python/plugins

@ghtmtt ghtmtt mentioned this issue Jan 22, 2014
@ghtmtt
Copy link
Contributor Author

ghtmtt commented Jan 30, 2014

qgis_portable project starts on every machine I tested: just in one double clicking on the project doesn't work, however qgis starts normally (so it is just a matter of loading the project)

@ghtmtt
Copy link
Contributor Author

ghtmtt commented Feb 5, 2014

qgis_portable updates:

  • in almost every machine (win xp, 7 and 8) project starts with qgis.bat. Where not it is possible that default options (for example if qgis is already installed on the machine) cover some qgis.bat settings
  • could be (really don't know why) that the project starts but is in Italian, but the qgis.bat starts in English. Project saved with English settings. For this reason it better to leave Options in the Settings menu

@ghtmtt ghtmtt added portable and removed package labels May 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant