New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the TM Using Print Layout lesson to QGIS 3 #5669
Conversation
@@ -21,7 +21,8 @@ reason, it has a tool called the :guilabel:`Layout Manager`. | |||
|
|||
* Click on the :menuselection:`Project --> Layout Manager` menu entry to open |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not numbered list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, missed this one. Will try to fix.
Fixed now (and even found some more ;-) ).
Thanks, @DelazJ! Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
@@ -21,7 +21,8 @@ reason, it has a tool called the :guilabel:`Layout Manager`. | |||
|
|||
* Click on the :menuselection:`Project --> Layout Manager` menu entry to open |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, missed this one. Will try to fix.
Fixed now (and even found some more ;-) ).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here a review I couldn't send before the PR got merged but I think there are valuable concerns that need to be addressed in it (some logic and steps have changed from the 2.x and 1.x periods).
@@ -220,18 +220,18 @@ Not everything on the legend is necessary, so let's remove some unwanted items. | |||
|
|||
#. In the :guilabel:`Item Properties` tab, you'll find the | |||
:guilabel:`Legend items` panel. | |||
#. Select the :guilabel:`buildings` entry. | |||
#. Select the :guilabel:`training_data_buildings` entry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which layer is this one? I suspect it's a bug in how you load the layer in QGIS: I remember I had situation where it concatenates layer and table names when loading. Cannot reproduce right now, but I think this is not the expected name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the name it gets when you load it from the geopackage training_data.gpg. And that is the only place where I have found buildings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the text.
@@ -11,16 +11,16 @@ So for someone who doesn't have the data or the same GIS program | |||
Luckily, QGIS can export its map file to a format that anyone's | |||
computer can read, as well as printing out the map if you have a | |||
printer connected. | |||
Both exporting and printing is handled via the print layout. | |||
Both exporting and printing is handled via the *Print Layout*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason you put print layout in italics?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it is a QGIS tool.
Go to the main QGIS window (the one with the :guilabel:`Layers` panel | ||
and all the other familiar elements you were working with before), | ||
and save your project from there as usual. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is no more necessary, you can save from within the print layout window.
Go to the main QGIS window (the one with the :guilabel:`Layers` panel | |
and all the other familiar elements you were working with before), | |
and save your project from there as usual. | |
#. Go to the :menuselection:`Layout -->` |fileSave| :menuselection:`Save Project`. | |
This is a convenient shortcut to the one in the main dialog. |
/!\ remember substitution...
* Click :guilabel:`Save`. | ||
#. Click the |saveAsPDF| :sup:`Export as PDF` button | ||
#. Choose a save location and a file name as usual. | ||
#. Click :guilabel:`Save`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should tell them a minima to validate the pdf properties options dialog that pops up, as is
|
||
* Click and drag a box on the blank page: | ||
#. Click and drag a box on the blank page: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, before you ever click on the map, you have the "new item properties" dialog to deal with.
We should indicate the map size and placement to use here
|
||
* Click on the page, above the map, and a label will appear at the top of the | ||
map. | ||
#. Click on the page, above the map, and a label will appear at the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new item properties dialog again to play with. They SHOULD be advised to use a lower height here otherwise they get a label item with the map height
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default height seems to be OK as a starter (does not seem to get the "map height").
#. Close the layout window | ||
#. Save your map | ||
#. Find your exported PDF using your operating system's file manager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure of the order here. But in the layout window, there's already a link that shows as soon as the PDF is created. They just have to click on it to open the pdf folder.
Thanks! I have updated in #5677. |
* Updates after review * Indentation * Moving the layout element lock part down * Update locking mentions * Update locking mentions * Fix reference to the building data set in the training_data.gpkg (GeoPackage) file
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Goal: Update the TM Using Print Layout lesson to QGIS 3
Ticket(s): Fixes #3312, fixes #3311, fix #3313, fixes #3315.