售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜