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

1 Answered Questions

[SOLVED] Upload csv into QGIS

  • 2019-07-01 18:02:13
  • Dennis Jan
  • 69 View
  • 2 Score
  • 1 Answer
  • Tags:   qgis-3

0 Answered Questions

Using Raster Calculater to create .asc files in QGIS?

0 Answered Questions

1 Answered Questions

[SOLVED] How to delete default SVG-paths in QGIS

  • 2019-05-02 09:01:17
  • Dennis Jan
  • 30 View
  • 1 Score
  • 1 Answer
  • Tags:   qgis-3 svg

1 Answered Questions

[SOLVED] Error loading QGIS

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

1 Answered Questions

[SOLVED] How to read the error when writing vector files in QGIS 3.0

  • 2019-02-21 08:02:54
  • Mr Purple
  • 127 View
  • 1 Score
  • 1 Answer
  • Tags:   qgis-3 pyqgis-3

1 Answered Questions

[SOLVED] QGIS 3.2: Where are layout files stored?

0 Answered Questions

Issue with qgis 3graphcis

  • 2018-10-03 07:44:22
  • user1919
  • 18 View
  • 0 Score
  • 0 Answer
  • Tags:   qgis-3

1 Answered Questions

[SOLVED] Spatial indexes in GeoPackage files

0 Answered Questions

QGIS crash: delete column in GeoPackage

Sponsored Content