I have multiple computers with QGIS installed on them. I regularly use the same WMS / WFS services. Now I have to connect to these services for each QGIS installation separately.
It would be great if there was a way to place the configuration for connections in the QGIS browser on a centralised locations (such as a NAS). That way I could access the same connections from every QGIS installation without having to add them manually every time.
Is this possible and, if so, how?
Answer
Normally on each OS QGIS will install the settings in a different location, however there is a switch you can start QGIS with to redirect these settings.
When you start QGIS you can start it with the --optionspath
and --configpath
switches which you can point to a different location.
QGIS will now create all the settings in a ini format and move the .qgis2
folder. You can just move the settings if you like but if you want to have a sycned QGIS over all your install just move both then everything is always there, plugins and all.
So an example would be:
qgis --optionspath "X:\mynat\qgis" --configpath "X:\mynat\qgis"
Now on each machine you start QGIS with these args and they will all point to the same place keeping each one in sync.
Nifty!
No comments:
Post a Comment