[QGIS-Developer] Why is .qgz the default format?

Richard Duivenvoorde rdmailings at duif.net
Mon Jan 21 12:09:56 PST 2019

On 1/21/19 5:27 PM, Jorge Gustavo Rocha wrote:

> Edit once the ~/.vimrc and add the line:
> au BufReadCmd *.qgz call zip#Browse(expand("<amatch>"))
> Afterwards, you just need to:
> 1) vim project.qgz
> and it open the project. Hit enter on top of the project.qgs file and
> make your changes.

Cool, Working !!!

> sed (or for some kind of scripting)
> Sometimes I need to use sed to do several find/replace. Do do that, I
> have a folder /mnt/qgis owned by my user.
> To change the project:
> 1) fuse-zip edicaoavancada.qgz /mnt/qgis
> 2) Do command line editing...
> sed -i "s|<layername>\([^<]\+\)</layername>|<layername>\1
> 2017</layername>|g" /mnt/qgis/edicaoavancada.qgs
> 3) recreate the qgz file
> fusermount -u /tmp/qgis

Very techie, but nice :-)

Jorge, you should wirte QGIS-nerd blogs someday :-).
There is a free position on qgis.nl :-)
Happy to sent you login ;-)


Richard Duivenvoorde

Ps if you do not write something I will (and quote you)!

More information about the QGIS-Developer mailing list