万本电子书0元读

万本电子书0元读

顶部广告

Mastering Geospatial Development with QGIS 3.x电子书

售       价:¥

4人正在读 | 0人评论 9.8

作       者:Shammunul Islam

出  版  社:Packt Publishing

出版时间:2019-03-28

字       数:40.7万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Go beyond the basics and unleash the full power of QGIS 3.4 and 3.6 with practical, step-by-step examples Key Features * One-stop solution to all of your GIS needs * Master QGIS by learning about database integration, and geoprocessing tools * Learn about the new and updated Processing toolbox and perform spatial analysis Book Description QGIS is an open source solution to GIS and widely used by GIS professionals all over the world. It is the leading alternative to proprietary GIS software. Although QGIS is described as intuitive, it is also, by default, complex. Knowing which tools to use and how to apply them is essential to producing valuable deliverables on time. Starting with a refresher on the QGIS basics and getting you acquainted with the latest QGIS 3.6 updates, this book will take you all the way through to teaching you how to create a spatial database and a GeoPackage. Next, you will learn how to style raster and vector data by choosing and managing different colors. The book will then focus on processing raster and vector data. You will be then taught advanced applications, such as creating and editing vector data. Along with that, you will also learn about the newly updated Processing Toolbox, which will help you develop the advanced data visualizations. The book will then explain to you the graphic modeler, how to create QGIS plugins with PyQGIS, and how to integrate Python analysis scripts with QGIS. By the end of the book, you will understand how to work with all aspects of QGIS and will be ready to use it for any type of GIS work. What you will learn * Create and manage a spatial database * Get to know advanced techniques to style GIS data * Prepare both vector and raster data for processing * Add heat maps, live layer effects, and labels to your maps * Master LAStools and GRASS integration with the Processing Toolbox * Edit and repair topological data errors * Automate workflows with batch processing and the QGIS Graphical Modeler * Integrate Python scripting into your data processing workflows * Develop your own QGIS plugins Who this book is for If you are a GIS professional, a consultant, a student, or perhaps a fast learner who wants to go beyond the basics of QGIS, then this book is for you. It will prepare you to realize the full potential of QGIS.
目录展开

Title Page

Copyright and Credits

Mastering Geospatial Development with QGIS 3.x Third Edition

About Packt

Why subscribe?

Packt.com

Contributors

About the authors

About the reviewers

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Conventions used

Get in touch

Reviews

Section 1: Introduction

A Refreshing Look at QGIS

Release schedules

QGIS downloading and installation

Installing QGIS on Windows

Installing QGIS on macOS

Installing QGIS on Ubuntu Linux

Installing QGIS only

Installing QGIS and other FOSSGIS packages

QGIS on Android

Installing QGIS on a Chromebook

QGIS in a browser

What's new?

A tour of QGIS

Familiarizing yourself with QGIS Desktop

Loading data into QGIS Desktop

Loading vector data

Loading raster data

Loading databases

Loading web services

Working with CRS

Working with tables

Creating table joins

Editing data

Snapping

Styling vector data

Styling raster data

Blending modes

Composing maps

Adding functionality with plugins

Custom QGIS variables

Summary

Section 2: Getting Started

Styling Raster and Vector Data

Choosing and managing colors

Knowing color picker components

Changeable panels in the color picker

Color ramp

Color wheel

Color swatches

Color sampler

Color picker components in the Layers panel

Managing color ramps

Managing the QGIS color ramp collection

Renaming a color ramp

Removing a color ramp

Exporting a color ramp

Importing a color ramp

Adding a color ramp

Adding a gradient color ramp

Adding a random color ramp

Adding a ColorBrewer color ramp

Adding a cpt-city color ramp

Editing a color ramp

Styling singleband rasters

Paletted raster band rendering

Singleband gray raster band rendering

Singleband pseudocolor raster band rendering

Singleband pseudocolor interpolations

Styling multiband rasters

Raster color rendering

Raster resampling

Styling vectors

Single-symbol vector styling

Categorized vector styling

Graduated vector styling

Rule-based vector styling

Point-displacement vector styling

Point cluster vector styling

Inverted polygons vector styling

Heatmap vector styling

2.5 D vector styling

Vector layer rendering

Layer transparency

Layer blending mode

Feature blending mode

Control feature rendering order

Using diagrams to display thematic data

Parameters that are common to all diagram types

Diagram size parameters

Diagram placement parameters

Adding attributes to diagrams

Creating a pie chart diagram

Creating a text diagram

Creating a histogram chart diagram

Saving, loading, and setting default styles

Saving a style

Loading a style

Setting and restoring a default style

Adding and renaming styles in the current QGIS project

Summary

Creating Spatial Databases

Fundamental database concepts

Describing database tables

Knowing about table relationships

Reviewing the basics of the structured query language

Creating a spatial database

Connecting to a GeoPackage

Importing data into a GeoPackage

Importing a vector file

Importing a layer from map canvas

Working with tables

Creating a new table within an existing GeoPackage

Renaming a table

Editing an existing table field/column

Deleting a GeoPackage table

Exporting tables out of a GeoPackage

Creating queries and views

Using select statements

Creating a spatial view

Dropping a spatial view

Summary

Preparing Vector Data for Processing

Merging vectors

Converting vector geometries

Creating polygon centroids

Converting lines into polygons

Converting polygons into lines

Creating polygons surrounding individual points

Voronoi polygons

Delaunay triangulation

Extracting nodes (vertices)

Simplifying and densifying features

Converting between multipart and singleparts features

Adding geometry columns to an attribute table

Using basic vector Geoprocessing Tools

Spatial overlay tools

Using the Clip and Difference tools

Using the Intersect and Symmetrical Difference tools

Overlaying polygon layers with Union

Creating buffers

Generating convex hulls

Dissolving features

Defining coordinate reference systems

Understanding the PROJ.4 definition format

Defining a new custom coordinate reference system

Setting Definitions

Viewing a statistical summary of vector layers

Advanced field calculations

Exploring the field calculator interface

Writing advanced field calculations

Calculating and formatting current date

Calculating with geometry

Operators

Conditions

Conditionals

Summary

Preparing Raster Data for Processing

Merging rasters

About converting raster files

Translating

Exporting to a raster

Exporting a raster to a GeoPackage

Clipping a raster

Converting rasters into vectors

Converting from vector to raster (rasterize)

Reclassifying rasters

Summary

Section 3: Diving Deeper

Advanced Data Creation and Editing

What's new in editing?

CAD-style digitizing tools

Adding a circle

Adding a circle from two points

Adding a circle from three points

Adding a rectangle

Adding a rectangle from Extent

Adding a rectangle from its center point

Adding a rectangle from three points

Adding a regular polygon

Adding a regular polygon from the center and from a corner

Adding a regular polygon from two points

Vertex tool

Creating points from coordinate data

Mapping well-known text representations of geometry

Geocoding address-based data

How address Geocoding works

The first example – Geocoding using web services

The second example – Geocoding using local street network data

Georeferencing imagery

Understanding ground control points

Using the Georeferencer GDAL plugin

The first example – Georeferencing using a second dataset

Getting started

Entering ground control points

Transformation settings

Completing the operation

The second example – Georeferencing using a point file

Checking the topology of vector data

Installing the topology checker

Topological rules

Rules for point features

Rules for line features

Rules for polygon features

Using the topology checker

Repairing topological errors via topological editing

Example 1 – Resolving duplicate geometries

Example 2 – Repairing overlaps

Setting the editing parameters

Repairing an overlap between polygons

Example 3 – Repairing a gap between polygons

Summary

Advanced Data Visualization

Using live layer effects

Creating beautiful effects with inverted polygon shapeburst fills

Creating coastal vignettes

Studying area mask

Using the 2.5D renderer

Creating 3D views

Creating an Atlas

Basic Atlas configuration

Dynamic titles

Dynamic legends

Highlighting the coverage feature

The power of geometry generators

Working with the Data Plotly plugin

Summary

Section 4: Becoming a Master

The Processing Toolbox

Introducing the Processing Toolbox

What's new in the Processing Toolbox?

Configuring the Processing Toolbox

Viewing the Processing Toolbox

Running algorithms in the Processing Toolbox

Using the Processing Toolbox

Performing raster analysis with GRASS

Calculating shaded relief

Calculating least-cost path

Calculating slope using r.slope

Reclassifying the new slope raster and the land use raster

Combining reclassified slope and land use layers

Calculating the cumulative cost raster using r.cost

Calculating the cost path using LCP

Evaluating a viewshed

Clipping elevation to the boundary of the park using GDAL

Calculating viewsheds for towers using r.viewshed

Combining viewsheds using r.mapcalc.simple

Performing analysis using SAGA

Evaluating a habitat

Calculating elevation ranges using the SAGA Raster calculator

Clipping land use to the park boundary using Clip grid with polygon

Querying land use for only surface water using the SAGA Raster calculator

Finding proximity to surface water using GDAL Proximity

Querying the proximity for 1,000 meters of water using the GDAL Raster calculator

Reclassifying land use using the Reclassify grid values tool

Combining raster layers using the SAGA Raster calculator

Exploring hydrologic analysis with SAGA

Removing pits from the DEM

Deriving streams

Selecting the streams

Delineating the streams

Calculating the upstream area above Fort Klamath

Summary

Automating Workflows with the Graphical Modeler

Introducing the graphical modeler

Opening the graphical modeler

Configuring the modeler and naming a model

Working with your model

Adding data inputs to your model

Adding algorithms to your model

Running a model

Editing a model

Documenting a model

Saving, loading, and exporting models

Executing model algorithms iteratively

Nesting models

Using batch processing with models

Converting a model into a Python script

Summary

Creating QGIS Plugins with PyQGIS and Problem Solving

Webography - where to get API information and PyQGIS help

PyQGIS cookbook

API documentation

The QGIS community, mailing lists, and IRC channel

Mailing lists

IRC channel

The Stack Exchange community

Sharing your knowledge and reporting issues

The Python Console

Getting sample data

My first PyQGIS code snippet

My second PyQGIS code snippet - looping the layer features

Exploring iface and QGis

Exploring a QGIS API in the Python Console

Creating a plugin structure with Plugin Builder

Installing Plugin Builder

Locating plugins

Creating my first Python plugin - plugin_first

Setting mandatory plugin parameters

Setting optional plugin parameters

Generating the plugin code

Compiling the icon resource

Plugin file structure - where and what to customize

Exploring main plugin files

Plugin Builder-generated files

A simple plugin example

Adding basic logic to TestPlugin

Modifying the layout with Qt Designer

Adding two pull-down menus

Modifying GUI logic

Modifying plugin logic

Classifying layers

Populating the combo box

Understanding self

Showing and running the dialog

Some improvements

More detail of the code

Setting up a debugging environment

What is a debugger?

Installing Aptana

Setting up PYTHONPATH

Starting the Pydevd server

Connecting QGIS to the Pydevd server

Connecting using the Remote Debug QGIS plugin

Debugging session example

Creating a PyDev project for TestPlugin

Adding breakpoints

Debugging in action

Summary

PyQGIS Scripting

Where to learn Python basics

Tabs or spaces – make your choice!

How to load layers

How to manage rasters

Exploring QgsRasterLayer

Visualizing the layer

Managing vector files

Managing database vectors

Vector structure

The basic vector methods

Describing the vector structure

Describing the header

Describing the rows

Exploring QgsGeometry

Iterating over features

Describing iterators

Editing features

Updating the canvas and symbology

Editing through QgsVectorDataProvider

Changing a feature's geometry

Changing a feature's attributes

Deleting a feature

Adding a feature

Editing using QgsVectorLayer

Discovering the QgsVectorLayerEditBuffer class

Changing a feature's geometry

Changing a feature's attributes

Adding and removing a feature

Running Processing Toolbox algorithms

Listing all available algorithms

Getting algorithm information

Running algorithms from the console

Running your own processing script

Creating a test Processing Toolbox script

Running the script

Interacting with the map canvas

Getting the map canvas

Explaining Map Tools

Setting the current Map Tool

Getting point-click values

Getting the current Map Tool

Creating a new Map Tool

Creating a map canvas event handler

Creating a Map Tool event handler

Setting up the new Map Tool

Using point-click values

Exploring the QgsRubberBand class

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部