Book Image

Learning QGIS 2.0

By : Anita Graser
Book Image

Learning QGIS 2.0

By: Anita Graser

Overview of this book

QGIS is a user friendly open source geographic information system (GIS) that runs on Linux, Unix, Mac OSX, and Windows. The popularity of open source geographic information systems and QGIS in particular has been growing rapidly over the last few years. More and more companies and institutions are adopting QGIS and even switching to QGIS as their main GIS. Learning QGIS 2.0 is a practical, hands-on guide that provides you with clear, step-by-step exercises that will help you to apply your GIS knowledge to QGIS. Containing a number of clear, practical exercises, this book will introduce you to working with QGIS, quickly and painlessly. If you want to take advantage of the wide range of functionalities that QGIS offers, then this is the book for you. This book takes you from installing and configuring QGIS, through handling spatial data to creating great maps. You will learn how to load and visualize existing spatial data and how to create data from scratch. You will perform common geoprocessing and spatial analysis tasks and automate them. We will cover how to achieve great cartographic output and print maps. You will learn everything you need to know to handle spatial data management, processing, and visualization tasks in QGIS.
Table of Contents (12 chapters)

Loading vector data from files


In this section, we will talk about loading vector data from GIS formats such as Shapefiles as well as from text files.

We can load vector files using the menu entry by going to Layer | Add vector layer and also by using the Add vector layer toolbar button. If you like shortcuts, use Ctrl + Shift + V. In the Add vector layer dialog, we find a drop-down list that allows us to specify the encoding of the input file. This option is important if we are dealing with files that contain special characters, such as German umlauts or letters from alphabets other than the default Latin one. The following screenshot shows the Add vector layer dialog:

What we are most interested in now is the Browse button, which opens the file-opening dialog. Note the file type filter drop-down list on the bottom-right corner of the dialog. We can open it to see a list of the supported vector file types. This filter is useful to find specific files faster by hiding all files of a different...