Importante

Translation is a community effort you can join. This page is currently translated at 19.51%.

2.3. Lesson: Navegar na Tela do Mapa

Esta secção irá focar-se nas ferramentas de navegação básicas do QGIS utilizadas para navegar na «Tela do Mapa». Estas ferramentas irão permitir-lhe explorar visualmente as camadas em escalas diferentes.

O objetivo desta lição: saiba como utilizar as ferramentas «Mover e Ampliar» no QGIS e saiba como escalar o mapa.

2.3.1. basic Ferramentas de Navegação Básicas do Follow Along:

Antes de aprender a navegar na «Tela do Mapa», vamos adicionar algumas camadas que nós podemos explorar durante este tutorial.

  1. Open a new blank project and using the steps learnt in Create a Map, load the previously seen protected_areas, roads and buildings layers to the project. The result view should look similar to the snippet in Fig. 2.8 below (colors do not matter):

    ../../../_images/roads_buildings_added.png

    Fig. 2.8 Áreas protegidas, estradas e edifícios adicionados

Let’s first learn how to use the Pan Tool.

  1. In the Map Navigation Toolbar, make sure the pan Pan button is activated.

  2. Move the mouse to the center of the Map Canvas area.

  3. Left-click and hold, and drag the mouse in any direction to pan the map.

Next, let’s zoom in and take a closer look at the layers we imported.

  1. In the Map Navigation Toolbar, click on the zoomIn Zoom In button.

  2. Move your mouse to approximately the top left area of where there is the highest density of buildings and roads.

  3. Clique esquerdo e mantenha.

  4. Then drag the mouse, which will create a rectangle, and cover the dense area of buildings and roads (Fig. 2.9).

    ../../../_images/zoom_in.png

    Fig. 2.9 Zoom +

  5. Release the left click. This will zoom in to include the area that you selected with your rectangle.

    ../../../_images/zoomed_in.png
  6. To zoom out, select the zoomOut Zoom Out button and perform the same action as you did for zooming in.

As you pan, zoom in, or zoom out, QGIS saves these views in a history. This allows you to backtrack to a previous view.

  1. In the Map Navigation Toolbar, click on zoomLast Zoom Last button to go to your previous view.

  2. Click on zoomNext Zoom Next button to proceed to move forward in your history.

Sometimes after exploring the data, we need to reset our view to the extent of all the layers. Instead of trying to use the Zoom Out tool multiple times, QGIS provides us with a button to do that action for us.

  1. Click on the zoomFullExtent Zoom Full Extent button.

As you zoomed in and out, notice that the Scale value in the Status Bar changes. The Scale value represents the Map Scale. In general, the number to the right of : represents how many times smaller the object you are seeing in the Map Canvas is to the actual object in the real world.

../../../_images/map_scale1.png

You can also use this field to set the Map Scale manually.

  1. In the Status Bar, click on the Scale textfield.

  2. Type in 50000 and press Enter. This will redraw the features in the Map Canvas to reflect the scale you typed in.

  3. Alternatively, click on the options arrow of the Scale field to see the preset map scales.

    ../../../_images/map_scale_options.png
  4. Select 1:5000. This will also update the map scale in the Map Canvas.

Now you know the basics of navigating the Map Canvas. Check out the User Manual on Zooming and Panning to learn about alternative ways of navigating the Map Canvas.

2.3.2. In Conclusion

Knowing how to navigate the Map Canvas is important, as it allows one to explore and visually inspect the layers. This could be done for initial data exploration, or to validate output of a spatial analysis.