By tinlyx


2019-02-07 04:49:08 8 Comments

I am managing some of my QGIS 3 map files in a git repository. With QGIS 2, the map files (.qgs) are text files, which can be easily handled by git; QGIS3 introduces an additional binary file (.qgd) which presumably stores some auxiliary information. A compressed binary format .qgz is also provided with QGIS 3. These binary formats are not text line based, and difficult to manage using text oriented tools such as diff and git. Therefore, I do not want to track them in a repository unless I have to.

How critical is the .qgd file?

Can I delete them or omit them when I use git to commit a map without seriously messing up the map?

(I'm OK with loss of auxiliary information. Just need basic layer information and basic symbology to be committed, i.e. the choices of symbology and logical expressions I entered when defining a layer)

1 comments

@Gabriel De Luca 2019-02-07 05:57:26

QGIS3 introduces an additional binary file (.qgd) which presumably stores some auxiliary information

It stores the Project > Properties > Auxiliary Storage information.

A compressed binary format .qgz is also provided with QGIS 3

.qgs and .qgd files are comppressed into the .qgz file.
You can save the project as .qgs in QGIS 3, and will save the .qgd file.
But if you use the .qgz format you don't have a .qgd file.
Or you can unzip it and obtain both .qgs and .qgd.

How critical is the .qgd file?

If you don't use Auxiliary Storage in your project, the .qgd file is empty and you can omit it.

Related Questions

Sponsored Content

2 Answered Questions

[SOLVED] Heatmap Processing Exception in QGIS 3.2

  • 2018-08-25 17:29:56
  • user127273
  • 541 View
  • 1 Score
  • 2 Answer
  • Tags:   heat-map qgis-3

0 Answered Questions

QGIS 3 processing script is recognized as a model

1 Answered Questions

Error loading QGIS

  • 2019-01-28 19:57:32
  • Jochen Schwarze
  • 49 View
  • 0 Score
  • 1 Answer
  • Tags:   qgis-3

0 Answered Questions

How to make a database query layer editable in QGIS

  • 2018-12-11 15:44:08
  • SeeWhy
  • 25 View
  • 1 Score
  • 0 Answer
  • Tags:   qgis-3

0 Answered Questions

QGIS 3 Madeira Move Point Features Button

  • 2018-11-09 15:37:19
  • Johann B.
  • 108 View
  • 1 Score
  • 0 Answer
  • Tags:   gui qgis-3

1 Answered Questions

[SOLVED] QGIS crashes when setting new Symbol to layer with python

  • 2018-10-03 09:41:14
  • Blinxen
  • 64 View
  • 0 Score
  • 1 Answer
  • Tags:   pyqgis qgis-3

1 Answered Questions

[SOLVED] Set size of a simple marker Symbol in QGIS

  • 2018-10-02 09:28:35
  • Blinxen
  • 66 View
  • 0 Score
  • 1 Answer
  • Tags:   qgis-3

1 Answered Questions

[SOLVED] Stop QGIS from printing true in python console when updating records

  • 2018-09-06 17:43:46
  • BERA
  • 62 View
  • 3 Score
  • 1 Answer
  • Tags:   pyqgis qgis-3

1 Answered Questions

[SOLVED] Unable to clip by mask a raster in QGIS 3.2

  • 2018-08-25 05:01:18
  • user127273
  • 178 View
  • 0 Score
  • 1 Answer
  • Tags:   qgis-3

0 Answered Questions

Generate additional files with map meta information using QGIS3 Atlas

  • 2018-08-20 10:08:41
  • Roman B
  • 44 View
  • 1 Score
  • 0 Answer
  • Tags:   qgis atlas qgis-3

Sponsored Content