Skip to content
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

Merged
merged 6 commits into from Jun 9, 2020
Merged

Update the TM Using Print Layout lesson to QGIS 3 #5669

merged 6 commits into from Jun 9, 2020

Conversation

havatv
Copy link
Contributor

@havatv havatv commented Jun 8, 2020

Goal: Update the TM Using Print Layout lesson to QGIS 3

Ticket(s): Fixes #3312, fixes #3311, fix #3313, fixes #3315.

  • Backport to LTR documentation is required

@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not numbered list?

Copy link
Contributor Author

@havatv havatv Jun 8, 2020

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 ;-) ).

docs/training_manual/map_composer/map_composer.rst Outdated Show resolved Hide resolved
docs/training_manual/map_composer/map_composer.rst Outdated Show resolved Hide resolved
docs/training_manual/map_composer/map_composer.rst Outdated Show resolved Hide resolved
docs/training_manual/map_composer/map_composer.rst Outdated Show resolved Hide resolved
docs/training_manual/map_composer/map_composer.rst Outdated Show resolved Hide resolved
Thanks, @DelazJ!

Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
Copy link
Contributor Author

@havatv havatv left a 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
Copy link
Contributor Author

@havatv havatv Jun 8, 2020

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 ;-) ).

@havatv havatv merged commit 71cb903 into master Jun 9, 2020
@delete-merged-branch delete-merged-branch bot deleted the tm_layout branch June 9, 2020 06:53
qgis-bot pushed a commit to qgis-bot/QGIS-Documentation that referenced this pull request Jun 9, 2020
Copy link
Collaborator

@DelazJ DelazJ left a 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.
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bug. I've also seen it in the past. Not sure what triggers that. see what I get loading that file, here.
buildings

Copy link
Contributor Author

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*.
Copy link
Collaborator

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?

Copy link
Contributor Author

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.

Comment on lines +115 to +117
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.
Copy link
Collaborator

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.

Suggested change
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`.
Copy link
Collaborator

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:
Copy link
Collaborator

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
Copy link
Collaborator

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

Copy link
Contributor Author

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").

Comment on lines +299 to +301
#. Close the layout window
#. Save your map
#. Find your exported PDF using your operating system's file manager
Copy link
Collaborator

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.

havatv pushed a commit that referenced this pull request Jun 9, 2020
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@havatv
Copy link
Contributor Author

havatv commented Jun 9, 2020

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).

Thanks! I have updated in #5677.

havatv added a commit that referenced this pull request Jun 11, 2020
* 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
qgis-bot pushed a commit to qgis-bot/QGIS-Documentation that referenced this pull request Jun 11, 2020
havatv pushed a commit that referenced this pull request Jun 11, 2020
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@DelazJ DelazJ mentioned this pull request Jun 14, 2020
41 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants