-
Book Overview & Buying
-
Table Of Contents
Building Mapping Applications with QGIS
By :
QGIS is a popular, free, and open source Geographic Information System (GIS), which runs on all major operating systems. People often use QGIS to view, edit, and analyze geospatial data. For our purposes, however, QGIS is more than just a GIS system; it is also a geospatial programming environment, which we can use to build our own geospatial applications using Python.
QGIS has a comprehensive website (http://qgis.org), which makes it easy to download, install, and use.
Before reading further, you should spend 15 minutes looking through the website and getting familiar with the application and the documentation available online. In particular, you should check out the Documentation page, where three important manuals are available: QGIS User guide/Manual, QGIS Training manual, and PyQGIS cookbook.
QGIS User guide/Manual provides in-depth user documentation, which you might find useful. QGIS Training manual is a detailed introduction to GIS systems and concepts based on QGIS; you might find it useful to work through this course if you aren't already familiar with geospatial data and techniques. Finally, PyQGIS cookbook will be an essential reference to use as you develop your own mapping applications built on top of QGIS.
If you haven't already installed QGIS, click on the Download Now button on the main QGIS web page to download the QGIS software. What you do next depends on which operating system you are running on your computer:
Once you have installed the QGIS system, you can run it just like any other application on your computer, for example, by double-clicking on the QGIS icon in your Applications folder.
If everything goes well, the QGIS application will start up and you will be greeted with the following window:

The exact appearance of the window might vary depending on your operating system. Don't worry, as long as a window appears, which looks something like the one shown in the previous screenshot, you are running QGIS.
You don't need to worry too much about the QGIS user interface right now; the QGIS User Guide describes the interface and various options in great detail. Rather than duplicating this information, let's take a look under the hood to see how QGIS works.
To understand QGIS, you will have to become familiar with the following basic terms and concepts:
These concepts are related in the following manner:

Note that the data sources are outside QGIS. While the map layer refers to a data source, the data itself is stored somewhere else, for example, in a file on a disk or within a database.
Whenever you are working with QGIS, you are always working within the current project. You can save projects and reload them later, or start a new project to reset QGIS back to its original state.
Change the font size
Change margin width
Change background colour