更新时间:2021-07-16 11:13:24
coverpage
QGIS 2 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Conventions
Reader feedback
Customer support
Chapter 1. Data Input and Output
Introduction
Finding geospatial data on your computer
Describing data sources
Importing data from text files
Importing KML/KMZ files
Importing DXF/DWG files
Opening a NetCDF file
Saving a vector layer
Saving a raster layer
Reprojecting a layer
Batch format conversion
Batch reprojection
Loading vector layers into SpatiaLite
Loading vector layers into PostGIS
Chapter 2. Data Management
Joining layer data
Cleaning up the attribute table
Configuring relations
Joining tables in databases
Creating views in SpatiaLite
Creating views in PostGIS
Creating spatial indexes
Georeferencing rasters
Georeferencing vector layers
Creating raster overviews (pyramids)
Building virtual rasters (catalogs)
Chapter 3. Common Data Preprocessing Steps
Converting points to lines to polygons and back – QGIS
Converting points to lines to polygons and back – SpatiaLite
Converting points to lines to polygons and back – PostGIS
Cropping rasters
Clipping vectors
Extracting vectors
Converting rasters to vectors
Converting vectors to rasters
Building DateTime strings
Geotagging photos
Chapter 4. Data Exploration
Listing unique values in a column
Exploring numeric value distribution in a column
Exploring spatiotemporal vector data using Time Manager
Creating animations using Time Manager
Designing time-dependent styles
Loading BaseMaps with the QuickMapServices plugin
Loading BaseMaps with the OpenLayers plugin
Viewing geotagged photos
Chapter 5. Classic Vector Analysis
Selecting optimum sites
Dasymetric mapping
Calculating regional statistics
Estimating density heatmaps
Estimating values based on samples
Chapter 6. Network Analysis
Creating a simple routing network
Calculating the shortest paths using the Road graph plugin
Routing with one-way streets in the Road graph plugin
Calculating the shortest paths with the QGIS network analysis library
Routing point sequences
Automating multiple route computation using batch processing
Matching points to the nearest line
Creating a routing network for pgRouting
Visualizing the pgRouting results in QGIS
Using the pgRoutingLayer plugin for convenience
Getting network data from the OSM
Chapter 7. Raster Analysis I
Using the raster calculator
Preparing elevation data
Calculating a slope
Calculating a hillshade layer
Analyzing hydrology
Calculating a topographic index
Automating analysis tasks using the graphical modeler
Chapter 8. Raster Analysis II
Calculating NDVI
Handling null values
Setting extents with masks
Sampling a raster layer