Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

QGIS By Example
QGIS By Example
QGIS By Example
Ebook554 pages3 hours

QGIS By Example

Rating: 3 out of 5 stars

3/5

()

Read preview

About this ebook

About This Book
  • Load and visualize spatial data, create astonishing maps and publish them online, and effectively automate your work with the help of QGIS processing framework
  • Learn about different GIS analysis through detailed real-world examples
  • An example-based guide to solve most common mapping and analysis tasks using real-world datasets
Who This Book Is For

If you are a beginner or an intermediate GIS user, this book is for you. It is ideal for practitioners, data analysts, and application developers who have very little or no familiarity with geospatial data and software.

LanguageEnglish
Release dateJun 29, 2015
ISBN9781782175131
QGIS By Example

Related to QGIS By Example

Related ebooks

Applications & Software For You

View More

Related articles

Reviews for QGIS By Example

Rating: 3 out of 5 stars
3/5

2 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    QGIS By Example - Alexander Bruy

    www.packtpub.com/authors.

    Customer support

    Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

    Downloading the example code

    You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

    Downloading the color images of this book

    We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from https://www.packtpub.com/sites/default/files/downloads/4677OS_ColoredImages.pdf.

    Errata

    Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

    To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

    Piracy

    Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

    Please contact us at <copyright@packtpub.com> with a link to the suspected pirated material.

    We appreciate your help in protecting our authors and our ability to bring you valuable content.

    Questions

    If you have a problem with any aspect of this book, you can contact us at <questions@packtpub.com>, and we will do our best to address the problem.

    Chapter 1. Handling Your Data

    In this introductory chapter, we will prepare all the necessary tools and data for the visual exploration of spatial phenomena, mapping, and analysis. After getting to know some basics about QGIS as a desktop GIS, you will learn how to install and configure it. Then, we will go through the most common spatial data sources and, in the end, aggregate them into a single spatial database that will be used for styling, mapping, and analysis in the following chapters.

    In this chapter, we will go through the following topics:

    QGIS installation

    Graphical user interface (GUI), its elements, and its customization

    Loading various types of spatial data from common sources

    Projection's basics

    Assembling data into a single spatial database

    Installing QGIS

    QGIS is a free and open source desktop GIS on which development began in 2002. Since 2007, the project has been developing under the umbrella of the Open Source Geospatial Foundation (OSGeo). A relatively young project, QGIS is gaining more and more popularity among individual users, private companies, and organizations all over the world due to the following reasons:

    Distribution under the GNU General Public License (GPL), which guarantees users the freedom to use, study, share, and modify the software

    Cross-platform support, which means that QGIS can run on Linux, Unix, Mac OS, Windows, and Android operating systems

    Multiple vector and raster data format support, as well as database formats and functionalities

    Permanent improvement of the core functionality, which encompasses data creation, editing, manipulation, analysis, storage, and visual representation

    Permanent growth of the external functionality available from the so-called plugins supported by the international community of developers

    Note

    You can find more information about QGIS from its official website at http://qgis.org/ and its documentation chapter available at http://documentation.qgis.org/.

    According to the release schedule of the QGIS project, a new version of QGIS is available every 4 months. Starting from QGIS 2.8, every third release has been a long-term release (LTR). It is maintained for a year, and then the next LTR occurs. Throughout this book, an LTR of QGIS 2.8 called Wein is used.

    Installers for the current QGIS version are available for different operating systems from the download page of the official website at http://download.qgis.org. The 32-bit and 64-bit installation files for MS Windows are distributed as follows:

    QGIS Standalone Installers: QGIS installation using these has no differences from the conventional software installation procedure under Windows

    OSGeo4W Network Installer: Compared to standalone installers, this provides the following advantages:

    Aside from QGIS, it allows us to install a large number of other packages to work with spatial data (command-line utilities, libraries, and desktop and server applications)

    It ensures installation of the most up-to-date software versions being directly linked to constantly updating repositories

    Once defined, the OSGeo4W working environment is convenient to use for automatic and timely updates, package addition, or package deletion

    Let's go through the installation procedure of QGIS and its components with the OSGeo4W installer in the example of the latest 32-bit version. Since the installation (especially primary) requires downloading a large number of files, it is desirable to have a high-speed Internet connection. The installation procedure is as follows:

    Download the latest version of the OSGeo4W 32-bit Network Installer, and double-click on osgeo4w-setup-x86.exe to run the installation.

    In the installer window, select Advanced Install, as shown in the following screenshot. From now on, just read carefully and follow the instructions.

    Choose Install from the Internet with the option to keep the downloaded files for future reuse.

    Choose the directory for the OSGeo4W software suite installation. C:\OSGeo4W is a usual and convenient choice. If you want to use another directory, give it a proper name with a short path, excluding spaces and special symbols.

    Then, choose a directory to save the downloaded packages. You can create a new directory, C:\OSGeo4W\Downloads, by typing in its name manually. Keep in mind that the volume of files to be downloaded is about 200 MB and you will need enough space to keep them all.

    Configure your Internet connection parameters, if any, and click on the Next button to proceed. After hitting the Next button, the list of all packages is downloaded and you enter the mode of package selection, as shown in the following screenshot. The available packages are grouped into the following categories: Commandline_Utilities, Desktop, Libs, and Web.

    To install a package, click on the + sign to expand the category, and choose an application by clicking on the rounded arrow beside it (the word Skip will be replaced by the latest available version number).

    To install the latest QGIS version, choose qgis: QGIS Desktop, and grass: GRASS GIS stable release. GRASS is a standalone GIS application that is closely integrated into QGIS and provides advanced geoprocessing functions.

    After you've clicked on the Next button, the installer automatically detects the necessary dependencies and proceeds to download the packages and installation, as shown in the following screenshot:

    Tip

    You can also install qgis-dev: QGIS nightly build of the master. Being under constant development, this version is considered unstable and is updated nightly. It is not recommended for workaday use, but is useful if you want to have a try at some new features and give feedback to

    Enjoying the preview?
    Page 1 of 1