LoginSignup
6
3

More than 1 year has passed since last update.

QGISにおける「.qgs」と「.qgz」拡張子の違い

Last updated at Posted at 2022-11-16

TL;DR

.qgz を使うとよい

内容

  • 二つのファイル形式
    • .qgs : XMLファイル
    • .qgz : zipアーカイブ
  • QGZの経緯
    • 2017年に実装された
    • QGIS3.2よりQGZ形式がデフォルト
  • なぜQGZ
    • 従来のXMLファイルをzipしている
    • 加えて、それ以外のファイルもまとめることができる
    • 例えば、従来だと .qgs ファイルに加えて .qgd ファイルという補助DBファイルが保存された ⇒ それが一つのzipファイルになる
  • 可能性: 色々なものを同梱できる
    • フォント、SVG、color ramps等の情報
    • プラグイン、スクリプト、プロセシングアルゴリズム、モデラー
    • etc.

.qgz (zipアーカイブ)の方がファイルサイズが小さくなる

image.png

.qgs はプレーンテキスト、XML記述

image.png

.qgz はバイナリファイル

image.png

参考

This will offers many possibilities like embbeding:

  • Resources like fonts, SVG, color ramps, and all styling informations
  • A unified container for off-line editing embedding data into a gpkg format
  • plugins, scripts, processing algorithms and modelers
6
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
3