GIS AH C2

Revisi per 9 Oktober 2014 16.00 oleh Catriona (bicara | kontrib) (Created page with "==GIS FOR ANIMAL HEALTH : CHAPTER 2== '''Module: The Interface''' '''2.1 Lesson: A Brief Introduction''' Warning: This course includes instructions on adding, deleting and...")
(beda) ← Revisi sebelumnya | Revisi terkini (beda) | Revisi selanjutnya → (beda)

GIS FOR ANIMAL HEALTH : CHAPTER 2

Module: The Interface


2.1 Lesson: A Brief Introduction

Warning: This course includes instructions on adding, deleting and altering GIS datasets. We have provided training datasets for this purpose. Before using the techniques described here on your own data, always ensure you have proper backups!

[[Image:]]Basic


In this category, the course assumes that you have little or no prior experience with theoretical GIS knowledge or the operation of a GIS program.

Limited theoretical background will be provided to explain the purpose of an action you will be performing in the program, but the emphasis is on learning by doing.

When you complete the course, you will have a better concept of the possibilities of GIS, and how to harness their power via QGIS.

[[Image:]]Intermediate

In this category, it is assumed that you have working knowledge and experience of the everyday uses of GIS.

Following the instructions for the beginner level will provide you with familiar ground, as well as to make you aware of the cases where QGIS does things slightly differently from other software you may be used to. You will also learn how to use analysis functions in QGIS.

When you complete the course, you should be comfortable with using QGIS for all of the functions you usually need from a GIS for everyday use.

[[Image:]]Advanced

In this category, the assumption is that you are experienced with GIS, have knowledge of and experience with spatial databases, using data on a remote server, perhaps writing scripts for analysis purposes, etc.

Following the instructions for the other two levels will familiarize you with the approach that the QGIS interface follows, and will ensure that you know how to access the basic functions that you need. You will also be shown how to make use of QGIS' plugin system, database access system, and so on.

When you complete the course, you should be well-acquainted with the everyday operation of QGIS, as well as its more advanced functions.

2.1.3 Why QGIS?

As information becomes increasingly spatially aware, there is no shortage of tools able to fulfill some or all commonly used GIS functions. Why should anyone be using QGIS over some other GIS software package?

Here are only some of the reasons:

  • It's free. Installing and using the QGIS program costs you a grand total of zero money. No initial fee, no recurring fee, nothing.


  • It's free, as in liberty. If you need extra functionality in QGIS, you can do more than just hope it will be included in the next release. You can sponsor the development of a feature, or add it yourself if you are familiar with programming.
  • It's constantly developing. Because anyone can add new features and improve on existing ones, QGIS never stagnates. The development of a new tool can happen as quickly as you need it to.
  • Extensive help and documentation is available. If you're stuck with anything, you can turn to the extensive documentation, your fellow QGIS users, or even the developers.
  • Cross-platform. QGIS can be installed on MacOS, Windows and Linux.Now that you know why you want to use QGIS, we can show you how. The first lesson will guide you in creating your first QGIS map.

2.2 Lesson: Adding your first layer

We will start the application, and create a basic map to use for examples and exercises. The goal for this lesson: To get started with an example map.

Note: Before starting this exercise, QGIS must be installed on your computer. Launch QGIS from its desktop shortcut, menu item, etc., depending on how you configured its installation.

Note: The screenshots for this course were taken in QGIS 1.8 running on Mac OS X 10.9.5. Depending on your setup, the screens you encounter may well appear somewhat

different. However, all the same buttons will still be available, and the instructions will work on any OS. You will need QGIS 1.8 or above to use this course.

Let's get started right away!

2.2.1 [[Image:]]Follow along: Prepare a map

  • Open QGIS. You will have a new, blank map. [[Image:]]
  • Look for the Add Vector Layer button:
  • Click on it to open the following dialogueue:


[[Image:]] [[Image:]]

  • Click on the Browse button and navigate to the file exercise_data/streets.shp (in your course directory). With this file selected, click Open. You will see the original dialogueue, but with the file path filled in. Click Open here as well. The data you specified will now load.

Congratulations! You now have a basic map. Now would be a good time to save your work.

  • Click on the Save As button: [[Image:]]
  • Save the map under exercise_data/ and call it basic_map.qgs.

Check your results

2.2.2 In conclusion

You've learned how to add a layer and create a basic map!

2.2.3 What's next?

Now you're familiar with the function of the Add Vector Layer button, but what about all the others? How does this interface work? Before we go on with the more involved stuff, let's first take a good look at the general layout of the QGIS interface. This is the topic of the next lesson.

2.3 Lesson: An Overview of the Interface

We will explore the QGIS user interface so that you are familiar with the menus, toolbars, map canvas and layers list that form the basic structure of the interface.

The goal for this lesson: To understand the basics of the QGIS user interface.

2.3.1 [[Image:]]Try yourself...: The Basics

[[Image:]] [[Image:]]

The elements identified in the figure above are:

1. Layers list

2. Toolbars

3. Map canvas

4. Status bar

[[Image:]]The Layers List

In the Layers list, you can see a list, at any time, of all the layers available to you.

Expanding collapsed items (by clicking the arrow or plus symbol beside them) will provide you with more information on the layer's current appearance.

Right-clicking on a layer will give you a menu with lots of extra options. You will be using some of them before long, so take a look around!

Some versions of QGIS have a separate Control rendering order checkbox just underneath the Layers list. Don't worry if you can't see it. If it is present, ensure that it's checked for now.

Note: A vector layer is a dataset, usually of a specific kind of object, such as roads, trees, etc. A vector layer can consist of either points, lines or polygons.

[[Image:]]Toolbars

Your most oft-used sets of tools can be turned into toolbars for basic access. For example, the File toolbar allows you to save, load, print, and start a new project. You can easily customize the interface to see only the tools you use most often, adding or removing toolbars as necessary via the View - Toolbars menu.

Even if they are not visible in a toolbar, all of your tools will remain accessible via the menus. For example, if you remove the File toolbar (which contains the Save button), you can still save your map by clicking on the File menu and then clicking on Save.

[[Image:]]The Map Canvas

This is where the map itself is displayed.

[[Image:]]The Status Bar

Shows you information about the current map. Also allows you to adjust the map scale and see the mouse cursor's coordinates on the map.

2.3.2 [[Image:]]Try yourself... 1

Try to identify the four elements listed above on your own screen, without referring to the diagram above. See if you can identify their names and functions. You will become more familiar with these elements as you use them in the coming days.

Check your results

2.3.3 [[Image:]]Try yourself... 2

Try to find each of these tools on your screen. What is their purpose?

1. [[Image:]]

2. [[Image:]]

3. [[Image:]]

4. [[Image:]]

5. [[Image:]]

Hint: If any of these tools is not visible on the screen, try enabling some toolbars that are currently hidden. Also keep in mind that if there isn't enough space on the screen, a toolbar may be shortened by hiding some of its tools. You can see the hidden tools by clicking on the double right arrow button in any such collapsed toolbar. You can see a tooltip with the name of any tool by holding your mouse over the tool for a while.

Check your results

2.3.4 What's next?

Now you've seen how the QGIS interface works, you can use the tools available to you and start improving on your map! This is the topic of the next lesson.