|
| 1 | +# SOME DESCRIPTIVE TITLE. |
| 2 | +# Copyright (C) 2023, Ujaval Gandhi |
| 3 | +# This file is distributed under the same license as the QGIS Tutorials and |
| 4 | +# Tips package. |
| 5 | +# FIRST AUTHOR <EMAIL@ADDRESS>, 2024. |
| 6 | +# |
| 7 | +#, fuzzy |
| 8 | +msgid "" |
| 9 | +msgstr "" |
| 10 | +"Project-Id-Version: QGIS Tutorials and Tips v1\n" |
| 11 | +"Report-Msgid-Bugs-To: \n" |
| 12 | +"POT-Creation-Date: 2024-09-13 00:10+0530\n" |
| 13 | +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 14 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 15 | +"Language: en\n" |
| 16 | +"Language-Team: en <LL@li.org>\n" |
| 17 | +"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 18 | +"MIME-Version: 1.0\n" |
| 19 | +"Content-Type: text/plain; charset=utf-8\n" |
| 20 | +"Content-Transfer-Encoding: 8bit\n" |
| 21 | +"Generated-By: Babel 2.14.0\n" |
| 22 | + |
| 23 | +#: ../../source/docs/3/interactive_reveal_maps.rst:2 |
| 24 | +msgid "Making Interactive Reveal Maps (QGIS3)" |
| 25 | +msgstr "" |
| 26 | + |
| 27 | +#: ../../source/docs/3/interactive_reveal_maps.rst:4 |
| 28 | +msgid "" |
| 29 | +"This tutorial shows how to use a dynamic mask layer in a layer group " |
| 30 | +"along with expressions to make an interactive map that reveal the layers " |
| 31 | +"beneath the current layer as you move your cursor around. This is done " |
| 32 | +"using the new `mask blending modes " |
| 33 | +"<https://changelog.qgis.org/en/entry/2154>`_ in QGIS along with technique" |
| 34 | +" for adding interactivity shown in the previous tutorial on " |
| 35 | +":doc:`interactive_canvas_maps`." |
| 36 | +msgstr "" |
| 37 | + |
| 38 | +#: ../../source/docs/3/interactive_reveal_maps.rst:6 |
| 39 | +msgid "" |
| 40 | +"This tutorial is inspired from `Hamish Campbell " |
| 41 | +"<https://www.linkedin.com/in/hncampbell/>`_ who shared his interactive " |
| 42 | +"visualization on LinkedIn." |
| 43 | +msgstr "" |
| 44 | + |
| 45 | +#: ../../source/docs/3/interactive_reveal_maps.rst:9 |
| 46 | +msgid "Overview of the task" |
| 47 | +msgstr "" |
| 48 | + |
| 49 | +#: ../../source/docs/3/interactive_reveal_maps.rst:11 |
| 50 | +msgid "" |
| 51 | +"We will load 2 raster tile layers and use a mask layer with geometry " |
| 52 | +"generator symbology to reveal the below layer as the cursor moves around " |
| 53 | +"on the canvas." |
| 54 | +msgstr "" |
| 55 | + |
| 56 | +#: ../../source/docs/3/interactive_reveal_maps.rst:18 |
| 57 | +msgid "Procedure" |
| 58 | +msgstr "" |
| 59 | + |
| 60 | +#: ../../source/docs/3/interactive_reveal_maps.rst:20 |
| 61 | +msgid "" |
| 62 | +"We will start by loading 2 raster layers. One layer at the top and " |
| 63 | +"another one at the bottom that will be revealed by the mask layer. We " |
| 64 | +"will get these from the QuickMapServices plugin. Search and install the " |
| 65 | +"**QuickMapServices** plugin from the QGIS Official Plugin Repository. See" |
| 66 | +" :doc:`using_plugins` for instructions on installing plugins. Once " |
| 67 | +"installed, we will need to add some additional service to this plugin. Go" |
| 68 | +" to :menuselection:`Web --> QuickMapServices --> Settings`." |
| 69 | +msgstr "" |
| 70 | + |
| 71 | +#: ../../source/docs/3/interactive_reveal_maps.rst:25 |
| 72 | +msgid "" |
| 73 | +"In the :guilabel:`QuickMapServices Settings` dialog, switch to the " |
| 74 | +":guilabel:`More Services` tab and click the :guilabel:`Get contributed " |
| 75 | +"pack` button. This step is required to get access to the Google Satellite" |
| 76 | +" basemap." |
| 77 | +msgstr "" |
| 78 | + |
| 79 | +#: ../../source/docs/3/interactive_reveal_maps.rst:30 |
| 80 | +msgid "" |
| 81 | +"Now we are ready to add the layers. The top layer in our map will be the " |
| 82 | +"OpenStreetMap layer. Go to :menuselection:`Web --> QuickMapServices --> " |
| 83 | +"OSM --> OSM Standard` to add it. Zoom and center the map to any location " |
| 84 | +"of your choice." |
| 85 | +msgstr "" |
| 86 | + |
| 87 | +#: ../../source/docs/3/interactive_reveal_maps.rst:35 |
| 88 | +msgid "" |
| 89 | +"Next add the Google Satellite layer from :menuselection:`Web --> " |
| 90 | +"QuickMapServices --> Google --> Google Satellite`. This will be the " |
| 91 | +"bottom layer that will be revealed using the mask." |
| 92 | +msgstr "" |
| 93 | + |
| 94 | +#: ../../source/docs/3/interactive_reveal_maps.rst:40 |
| 95 | +msgid "" |
| 96 | +"We will create a new layer that will act as the mask. Go to " |
| 97 | +":menuselection:`Layer --> Create Layer --> New GeoPackage Layer...`." |
| 98 | +msgstr "" |
| 99 | + |
| 100 | +#: ../../source/docs/3/interactive_reveal_maps.rst:45 |
| 101 | +msgid "" |
| 102 | +"In the :guilabel:`New GeoPackage Layer` dialog, click the :guilabel:`...`" |
| 103 | +" button for :guilabel:`Database` and browse to a directory on your " |
| 104 | +"computer. Save the layer as ``mask.gpkg``. Change the :guilabel:`Geometry" |
| 105 | +" type` to ``Polygon`` and the CRS to be ``Project CRS: EPSG:3857 - WGS84 " |
| 106 | +"/ Pseudo-Mercator``. Having this layer in a Projected CRS is helpful as " |
| 107 | +"it allows us to specify the radius of the mask in meters as opposed to " |
| 108 | +"degrees. Click :guilabel:`OK`." |
| 109 | +msgstr "" |
| 110 | + |
| 111 | +#: ../../source/docs/3/interactive_reveal_maps.rst:50 |
| 112 | +msgid "" |
| 113 | +"A new layer ``mask`` will be added to the :guilabel:`Layers` panel. Click" |
| 114 | +" the :guilabel:`Open the Layer Styling Panel` button. Click on " |
| 115 | +":guilabel:`Single Symbol` to see additional options for renderers." |
| 116 | +msgstr "" |
| 117 | + |
| 118 | +#: ../../source/docs/3/interactive_reveal_maps.rst:55 |
| 119 | +msgid "" |
| 120 | +"Select ``Inverted Polygons`` as the renderer. Scroll down and click on " |
| 121 | +"the :guilabel:`Simple Fill` to see additional symbol layer types." |
| 122 | +msgstr "" |
| 123 | + |
| 124 | +#: ../../source/docs/3/interactive_reveal_maps.rst:62 |
| 125 | +msgid "" |
| 126 | +"The inverted polygon renderer is used to show regions outside the " |
| 127 | +"feature. In our case, the ``mask`` layer is empty so the *inverted* " |
| 128 | +"region is the whole canvas. That is why you see the whole canvas rendered" |
| 129 | +" using the chosen symbology. We use this renderer for the tutorial since " |
| 130 | +"it can render the map without needing any features being present in the " |
| 131 | +"layer and will work anywhere in the world." |
| 132 | +msgstr "" |
| 133 | + |
| 134 | +#: ../../source/docs/3/interactive_reveal_maps.rst:64 |
| 135 | +msgid "" |
| 136 | +"Select ``Geometry Generator`` as the :guilabel:`Symbol layer type`. We " |
| 137 | +"will now enter an expressions to change how the layer is rendered. Click " |
| 138 | +"the :guilabel:`Expression` button." |
| 139 | +msgstr "" |
| 140 | + |
| 141 | +#: ../../source/docs/3/interactive_reveal_maps.rst:69 |
| 142 | +msgid "" |
| 143 | +"Enter the following expression in the :guilabel:`Expression Builder` " |
| 144 | +"dialog. This expression will create a buffer polygon with a radius of " |
| 145 | +"5000 meters around the current position of the cursor. Click " |
| 146 | +":guilabel:`OK`." |
| 147 | +msgstr "" |
| 148 | + |
| 149 | +#: ../../source/docs/3/interactive_reveal_maps.rst:78 |
| 150 | +msgid "" |
| 151 | +"You will see a circular polygon rendered wherever you click on the " |
| 152 | +"canvas. Adjust the size of the buffer if required for your region and " |
| 153 | +"close the :guilabel:`Layer Styling Panel`. To use the mask blending " |
| 154 | +"modes, we must create a layer group. Hold the :kbd:`Ctrl` key and select " |
| 155 | +"the ``mask`` and the ``OSM Standard`` layers. Right-click on the selected" |
| 156 | +" layers and choose :guilabel:`Group Selected`." |
| 157 | +msgstr "" |
| 158 | + |
| 159 | +#: ../../source/docs/3/interactive_reveal_maps.rst:84 |
| 160 | +msgid "" |
| 161 | +"A new layer group will be created. Enter the name as ``mask_group``. " |
| 162 | +"Click the :guilabel:`Open the Layer Styling Panel` button." |
| 163 | +msgstr "" |
| 164 | + |
| 165 | +#: ../../source/docs/3/interactive_reveal_maps.rst:89 |
| 166 | +msgid "" |
| 167 | +"Check the :guilabel:`Render Layers as a Group` button. This step enables " |
| 168 | +"the mask blending modes for the layers in this group." |
| 169 | +msgstr "" |
| 170 | + |
| 171 | +#: ../../source/docs/3/interactive_reveal_maps.rst:94 |
| 172 | +msgid "" |
| 173 | +"Select the ``mask`` layer from ``mask_group``. In the :guilabel:`Layer " |
| 174 | +"Styling` panel, scroll down and expand the :guilabel:`Layer Rendering` " |
| 175 | +"section." |
| 176 | +msgstr "" |
| 177 | + |
| 178 | +#: ../../source/docs/3/interactive_reveal_maps.rst:99 |
| 179 | +msgid "" |
| 180 | +"Click the dropdown selector for the :guilabel:`Layer` :guilabel:`Blending" |
| 181 | +" Mode`. Select the ``Inverse Mask Below`` blending mode. The layer below " |
| 182 | +"the layer group will now be revealed in the portion covered by the buffer" |
| 183 | +" polygon." |
| 184 | +msgstr "" |
| 185 | + |
| 186 | +#: ../../source/docs/3/interactive_reveal_maps.rst:104 |
| 187 | +msgid "" |
| 188 | +"The map canvas doesn't yet respond to the cursor movement because it " |
| 189 | +"doesn't refresh unless you move the map. Let's make it auto-refresh. " |
| 190 | +"Right-click the ``point`` layer and select :guilabel:`Properties`." |
| 191 | +msgstr "" |
| 192 | + |
| 193 | +#: ../../source/docs/3/interactive_reveal_maps.rst:109 |
| 194 | +msgid "" |
| 195 | +"Switch to the :guilabel:`Rendering` tab. Scroll down and check the " |
| 196 | +":guilabel:`Refresh layer at interval`. Set the interval to a small number" |
| 197 | +" such as ``0.1`` (i.e. 100ms) and click :guilabel:`OK`." |
| 198 | +msgstr "" |
| 199 | + |
| 200 | +#: ../../source/docs/3/interactive_reveal_maps.rst:114 |
| 201 | +msgid "" |
| 202 | +"Now as you move your cursor, the region below your cursor position will " |
| 203 | +"be interactively revealed." |
| 204 | +msgstr "" |
| 205 | + |
0 commit comments