O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning QGIS Second Edition

Book Description

Use QGIS to create great maps and perform all the geoprocessing tasks you need

In Detail

The popularity of open source geographic information systems, and QGIS in particular, has been growing rapidly over the last years. Highly configurable programmable environments are often preferable for those who need to be able to precisely reproduce and distribute their work. QGIS is the best and most user friendly GIS tool in the free and open source software (FOSS) community. Learning QGIS Second Edition helps you ensure that your project is a success. It ensures that the first impression of your project is a great impression! QGIS is the most preferred open source GIS and a viable alternative to proprietary software, ArcGIS. It runs on Linux, Unix, Mac OSX, Windows and Android, and supports numerous vector, raster, and database formats and functionalities.

This book will introduce you to QGIS 2.6 geospatial data analysis and you'll learn how to build geospatial apps. It allows you to understand, question, interpret, and visualize data in ways that reveal relationships, patterns, and trends in the form of maps. The book starts with installing and configuring QGIS. You will learn to load and visualize existing spatial data and perform common geoprocessing and spatial analysis tasks to automate them. You will then acquire the skills you need to achieve great cartographic output and print maps. Finally, you will extend QGIS by creating your own plugin using Python.

What You Will Learn

  • Install QGIS and get familiar with the user interface
  • Load vector and raster data from files, databases, and web services
  • Create, visualize, and edit spatial data
  • Perform geoprocessing tasks and automate them
  • Create advanced cartographic outputs
  • Design great print maps
  • Expand QGIS using Python

Table of Contents

  1. Learning QGIS Second Edition
    1. Table of Contents
    2. Learning QGIS Second Edition
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. Who this book is for
      3. Conventions
      4. Reader feedback
      5. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Getting Started with QGIS
      1. Installing QGIS
        1. Installing QGIS on Windows
        2. Installing QGIS on Ubuntu
      2. Running QGIS for the first time
      3. Introducing the QGIS user interface
      4. Summary
    9. 2. Viewing Spatial Data
      1. Loading vector data from files
      2. Dealing with coordinate reference systems
      3. Loading raster files
        1. Georeferencing raster maps
      4. Loading data from databases
      5. Loading data from OGC Web Services
      6. Styling raster layers
      7. Styling vector layers
        1. Creating point styles – an example of an airport style
        2. Creating line styles – an example of river or road styles
        3. Creating polygon styles – an example of a landmass style
      8. Loading background maps
      9. Summary
    10. 3. Data Creation and Editing
      1. Creating new vector layers
      2. Working with feature selection tools
      3. Editing vector geometries
      4. Using the measuring tools
      5. Editing attributes
        1. Editing attributes in the attribute table
        2. Editing attributes in the feature form
        3. Calculating new attribute values
      6. Reprojecting and converting vector and raster data
      7. Joining tabular data
      8. Summary
    11. 4. Spatial Analysis
      1. Clipping rasters
      2. Analyzing elevation / terrain data
      3. Raster calculator
      4. Converting between rasters and vectors
      5. Accessing the raster and vector layer statistics
      6. Creating a heatmap from points
      7. Vector geoprocessing using Processing
        1. Identifying features in the proximity of others
        2. Raster sampling at point locations
        3. Mapping density with hexagonal grids
        4. Calculating area shares within a region
      8. Automated geoprocessing with the graphical modeler
      9. Leveraging the power of spatial databases
      10. Summary
    12. 5. Creating Great Maps
      1. Advanced vector styling
        1. Creating a graduated style with size scaling
        2. Using categorized styles
        3. Creating a rule-based style for road layers
        4. Creating data-defined symbology
      2. Labeling
      3. Designing print maps
        1. Creating a basic map
        2. Adding advanced map items
        3. Creating map series using the Atlas feature
      4. Summary
    13. 6. Extending QGIS with Python
      1. Getting to know the Python console
        1. Loading and exploring datasets
        2. Styling layers
        3. Filtering data
        4. Creating a memory layer
        5. Exporting map images
      2. Creating custom geoprocessing scripts using Python
        1. Writing our first processing script
        2. Writing a script with vector layer output
        3. Visualizing the script progress
      3. Developing your first plugin
        1. Creating the plugin template with Plugin Builder
        2. Customizing the plugin GUI
        3. Implementing the plugin functionality
        4. Creating a custom map tool
      4. Summary
    14. Index