Skip to content

Commit 89d9098

Browse files
authored
Merge pull request #784 from nsidc/switch-to-qgz
Write project file as a .qgz instead of .qgs file
2 parents ff2298e + 40eefb0 commit 89d9098

8 files changed

Lines changed: 18 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# v3.0.0 (2023-08-23)
1+
# v3.0.0 (2023-08-24)
22

3-
- Resolve `Font "Helvetica" font not available on system` warnings
3+
- Switch to `.qgz` compressed project file.
4+
- Resolve `Font "Helvetica" font not available on system` warnings.
45
- Update `layer_list.csv` to include new column indicating if each layer is
56
stored on disk. Internet-required layers take the value `False`.
6-
- Configure gradient style legends, add new style validations for gradient legends
7-
- Fix palletted styles
8-
- Publish versioned Docker images to DockerHub and GHCR for improved reproducibility
7+
- Configure gradient style legends, add new style validations for gradient legends.
8+
- Fix palletted styles.
9+
- Publish versioned Docker images to DockerHub and GHCR for improved reproducibility.
910

1011

1112
## :warning: Breaking changes
@@ -16,9 +17,9 @@
1617

1718
## Documentation
1819

19-
- Restructured documentation for improved readability
20-
- Added documentation of QGreenland future plans under next NSF grant
21-
- Improved recommended citations for QGreenland
20+
- Restructured documentation for improved readability.
21+
- Added documentation of QGreenland future plans under next NSF grant.
22+
- Improved recommended citations for QGreenland.
2223

2324

2425
## Layers

doc/_pdf/QuickStartGuide.pdf

310 Bytes
Binary file not shown.

doc/user/how-to/adding-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Once the QGreenland Core package is downloaded and extracted onto a user’s computer, it
44
is fully customizable by the user. One can add new data, delete layers within
5-
QGreenland, or make changes. Saving the project will update the `qgreenland.qgs`
5+
QGreenland, or make changes. Saving the project will update the `qgreenland.qgz`
66
project file. If you do not want to overwrite the original project version, simply save
77
your updated project using a new filename via **Save As...** You can create as many
88
different projects as you like, adding or removing data from the downloaded QGreenland

doc/user/how-to/metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Core](/user/tutorials/03-interacting-with-geospatial-data.md).
1313
## Via QGIS Layer Properties
1414

1515
If you have the QGreenland Core base package downloaded, you can easily locate and view
16-
layer metadata within QGIS. First, open the `qgreenland.qgs` QGIS project file that was
16+
layer metadata within QGIS. First, open the `qgreenland.qgz` QGIS project file that was
1717
included in the QGreenland Core download package. Next, locate your layer of interest in
1818
the **Layer Panel**. The **Layer Panel** is a panel on the left side of the **Map
1919
View** containing a list of layers that are in your QGIS project.

doc/user/how-to/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If you opened QGreenland from the command line, ensure you got the project name
3232
correct. E.g., from inside the unzipped QGreenland directory:
3333

3434
```
35-
qgis qgreenland.qgs
35+
qgis qgreenland.qgz
3636
```
3737

3838

doc/user/tutorials/01-get-started.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,20 @@ Ensure QGreenland is _actually_ unzipped; some operating systems will only
3838
In Windows, please right-click and select `Extract all...`.
3939
```
4040

41-
Open the `qgreenland.qgs` file in the data package folder by double-clicking
41+
Open the `qgreenland.qgz` file in the data package folder by double-clicking
4242
it. QGIS will open automatically and display the QGreenland Core data
4343
environment.
4444

45-
4645
```{note}
4746
Depending on your version of QGreenland Core, the package may be a `.qgs` or a
4847
`.qgz` file. They should function the same as long as you have a compatible
4948
version of QGIS.
5049
```
5150

52-
5351
```{note}
54-
If QGIS is already open, one can open the `qgreenland.qgs` project file
52+
If QGIS is already open, one can open the `qgreenland.qgz` project file
5553
within QGIS by navigating to the **Project -> Open...** option in the menu bar and
56-
selecting the `qgreenland.qgs` file from its saved location.
54+
selecting the `qgreenland.qgz` file from its saved location.
5755
```
5856

5957

doc/what_is_qgr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ GIS data package for Antarctica.
4848
You will find the following files in the QGreenland Core data package:
4949
* Folders containing data layers organized by topic. Each data layer is represented as a
5050
GeoTIFF or GeoPackage.
51-
* **qgreenland.qgs** - The main QGreenland project file for QGIS
51+
* **qgreenland.qgz** - The main QGreenland project file for QGIS
5252
* **qgreenland.png** - The official QGreenland logo
5353
* **layer_list.csv** - A complete list of all the data layers in the QGreenland Core download
5454
package, including information about each (data source, file size, etc.). This file can be

qgreenland/util/luigi/tasks/pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ def output(self):
133133

134134
def run(self):
135135
"""Create a symbolic link to trigger the zip."""
136-
# make_qgs outputs multiple files, not just one .qgs file. Similar to
136+
# make_qgs outputs multiple files, not just one .qgz file. Similar to
137137
# writing shapefiles, except this time we want to put them inside a
138138
# pre-existing directory.
139139
with QgsApplicationContext():
140-
make_qgis_project_file(COMPILE_PACKAGE_DIR / "qgreenland.qgs")
140+
make_qgis_project_file(COMPILE_PACKAGE_DIR / "qgreenland.qgz")
141141

142142
# Create symbolic link to zip with the final versioned filename
143143
# We don't _need_ a symbolic link here, but this also serves to trigger

0 commit comments

Comments
 (0)