QGIS Python programming cookbook : master over 170 recipes to help you turn QGIS from a desktop GIS tool into a powerful automated geospatial framework / Joel Lawhead.
Master over 170 recipes that will help you turn QGIS from a desktop GIS tool into a powerful automated geospatial framework About This Book Delve into the undocumented features of the QGIS API Get a set of user-friendly recipes that can automate entire geospatial workflows by connecting Python GIS b...
Saved in:
Online Access: |
Full Text (via O'Reilly/Safari) |
---|---|
Main Author: | |
Other title: | Quantum geographic information systems Python programming cookbook |
Format: | eBook |
Language: | English |
Published: |
Birmingham, UK :
Packt Publishing,
2017.
|
Edition: | Second edition. |
Subjects: |
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | b10303513 | ||
006 | m o d | ||
007 | cr ||||||||||| | ||
008 | 170420t20172017enka o 000 0 eng d | ||
005 | 20240829145506.1 | ||
020 | |a 9781787121102 |q (electronic bk.) | ||
020 | |a 1787121100 | ||
020 | |z 9781787124837 | ||
029 | 1 | |a GBVCP |b 1004864086 | |
035 | |a (OCoLC)safo983204812 | ||
035 | |a (OCoLC)983204812 | ||
037 | |a safo9781787124837 | ||
040 | |a UMI |b eng |e rda |e pn |c UMI |d STF |d TOH |d VT2 |d CUS |d OCLCF |d UOK |d CEF |d KSU |d DEBBG |d UAB |d N$T |d OCLCO |d OCL |d OCLCQ |d OCLCO |d OCLCL |d OCLCQ |d DXU | ||
049 | |a GWRE | ||
050 | 4 | |a G70.212 | |
100 | 1 | |a Lawhead, Joel, |e author. | |
245 | 1 | 0 | |a QGIS Python programming cookbook : |b master over 170 recipes to help you turn QGIS from a desktop GIS tool into a powerful automated geospatial framework / |c Joel Lawhead. |
246 | 3 | |a Quantum geographic information systems Python programming cookbook | |
250 | |a Second edition. | ||
264 | 1 | |a Birmingham, UK : |b Packt Publishing, |c 2017. | |
264 | 4 | |c ©2017 | |
300 | |a 1 online resource : |b illustrations | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a volume |b nc |2 rdacarrier | ||
588 | |a Description based on online resource; title from cover (Safari, viewed April 19, 2017). | ||
500 | |a Previous edition published: 2015. | ||
588 | 0 | |a Print version record. | |
505 | 0 | |a Cover -- Copyright -- Credits -- About the Author -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Automating QGIS -- Introduction -- Installing QGIS 2.18 for development -- Getting ready -- How to do it... -- Installing PyQGIS using the Debian package manager -- Installing PyQGIS using the RPM package manager -- Setting the environment variables -- Setting the environment variables on Windows -- Setting environment variables on Linux -- How it works... -- There's more... -- Finding the PyQGIS path on Windows -- Finding the location of the QGIS Python installation on other platforms -- Using the QGIS Python console for interactive control -- How to do it... -- How it works... -- Automatically starting the Python console -- Getting ready -- How to do it... -- How it works... -- Using the Python's Script Runner plugin -- Getting ready -- How to do it... -- How it works... -- There's more... -- Setting up your QGIS IDE -- Getting ready -- How to do it... -- Adding the Python interpreter to Windows -- Adding the PyQGIS module paths to the interpreter -- Adding the PyQGIS API to the IDE -- Adding environment variables -- How it works... -- Debugging QGIS Python scripts -- How to do it... -- Configuring QGIS -- Configuring Eclipse -- Testing the debugger -- How it works... -- Navigating the PyQGIS API -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating a traditional QGIS plugin -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating a Processing Toolbox plugin -- Getting ready -- How to do it... -- How it works... -- There's more... -- Distributing a plugin -- Getting ready -- How to do it... -- How it works... -- Building a standalone application -- Getting ready -- How to do it... -- How it works... -- There's more. | |
505 | 8 | |a Storing and reading global preferences -- Getting ready -- How to do it... -- How it works... -- There's more... -- Storing and reading project preferences -- Getting ready -- How to do it... -- How it works... -- There's more... -- Accessing the script path from within your script -- Getting ready -- How to do it... -- How it works... -- There's more... -- Chapter 2: Querying Vector Data -- Introduction -- Loading a vector layer from a file sample -- Getting ready -- How to do it... -- How it works... -- Loading a vector layer from a geodatabase -- Getting ready -- How to do it... -- How it works... -- Examining vector layer features -- Getting ready -- How to do it... -- How it works... -- Examining vector layer attributes -- Getting ready -- How to do it... -- How it works... -- There's more... -- Filtering a layer by geometry -- Getting ready -- How to do it... -- How it works... -- Filtering a layer by attributes -- Getting ready -- How to do it... -- How it works... -- Buffering a feature -- Getting ready -- How to do it... -- How it works... -- Measuring the distance between two points -- Getting ready -- How to do it... -- How it works... -- Measuring distance along a line -- Getting ready -- How to do it... -- How it works... -- Calculating the area of a polygon -- Getting ready -- How to do it... -- How it works... -- Creating a spatial index -- Getting ready -- How to do it... -- How it works... -- Calculating the bearing of a line -- Getting ready -- How to do it... -- How it works... -- Loading data from a spreadsheet -- Getting ready -- How to do it... -- How it works... -- There's more... -- Accessing layer metadata -- Getting ready -- How to do it... -- How it works... -- Chapter 3: Editing Vector Data -- Introduction -- Creating a vector layer in memory -- Getting ready -- How to do it... -- How it works. | |
505 | 8 | |a Adding a point feature to a vector layer -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding a line feature to a vector layer -- Getting ready -- How to do it... -- How it works... -- Adding a polygon feature to a vector layer -- Getting ready -- How to do it... -- How it works... -- Adding a set of attributes to a vector layer -- Getting ready... -- How to do it... -- How it works... -- Adding a field to a vector layer -- Getting ready -- How to do it... -- How it works... -- Joining a shapefile attribute table to a CSV file -- Getting ready -- How to do it... -- How it works... -- There's more... -- Changing vector layer geometry -- Getting ready -- How to do it... -- How it works... -- Changing a vector layer feature's attribute -- Getting ready -- How to do it... -- How it works... -- Removing data from a vector layer -- Getting ready -- How to do it.... -- How it works... -- Deleting a vector layer feature's attribute -- Getting ready -- How to do it... -- How it works... -- Reprojecting a vector layer -- Getting ready -- How to do it... -- How it works... -- Converting a shapefile to KML or GeoJSON -- Getting ready -- How to do it... -- How it works... -- There's more... -- Merging shapefiles -- Getting ready -- How to do it... -- How it works... -- There's more... -- Splitting a shapefile -- Getting ready -- How to do it... -- How it works... -- Generalizing a vector layer -- Getting ready -- How to do it... -- How it works... -- Dissolving vector features -- Getting ready -- How to do it... -- How it works... -- Performing a union on vector shapes -- Getting ready -- How to do it... -- How it works... -- Rasterizing a vector layer -- Getting ready -- How to do it... -- How it works... -- Exporting a layer to the GeoPackage format -- Getting ready -- How to do it... -- How it works. | |
505 | 8 | |a Chapter 4: Using Raster Data -- Introduction -- Loading a raster layer -- Getting ready -- How to do it... -- How it works... -- Loading a NetCDF file -- Getting ready -- How to do it... -- How it works... -- Getting the cell size of a raster layer -- Getting ready -- How to do it... -- How it works... -- Obtaining the width and height of a raster -- Getting ready -- How to do it... -- How it works... -- Counting raster bands -- Getting ready -- How to do it... -- How it works... -- Swapping raster bands -- Getting ready -- How to do it... -- How it works... -- There's more... -- Querying the value of a raster at a specified point -- Getting ready -- How to do it... -- How it works... -- Reprojecting a raster -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating an elevation hillshade -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating vector contours from elevation data -- Getting ready -- How to do it... -- How it works... -- Sampling a raster dataset using a regular grid -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding elevation data to a line vertices using a digital elevation model -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating a common extent for rasters -- Getting ready -- How to do it... -- How it works... -- Resampling raster resolution -- Getting ready -- How to do it... -- How it works... -- Counting the unique values in a raster -- Getting ready -- How to do it... -- How it works... -- Mosaicing rasters -- Getting ready -- How to do it... -- How it works... -- Converting a TIFF image to a JPEG image -- Getting ready -- How to do it... -- How it works... -- Creating pyramids for a raster -- Getting ready -- How to do it... -- How it works... -- Converting a pixel location to a map coordinate. | |
505 | 8 | |a Getting ready -- How to do it... -- How it works... -- Converting a map coordinate to a pixel location -- Getting ready -- How to do it... -- How it works... -- Creating a KML image overlay for a raster -- Getting ready -- How to do it... -- How it works... -- There's more... -- Classifying a raster -- Getting ready -- How to do it... -- How it works... -- Converting a raster to a vector -- Getting ready -- How to do it... -- How it works... -- Georeferencing a raster from control points -- Getting ready -- How to do it... -- How it works... -- Clipping a raster using a shapefile -- Getting ready -- How to do it... -- How it works... -- Chapter 5: Creating Dynamic Maps -- Introduction -- Accessing the map canvas -- Getting ready -- How to do it... -- How it works... -- Changing the map units -- Getting ready -- How to do it... -- How it works... -- Iterating over layers -- Getting ready -- How to do it... -- How it works... -- Symbolizing a vector layer -- Getting ready -- How to do it... -- How it works... -- Setting a transparent layer fill -- Getting ready -- How to do it... -- How it works... -- Using a filled marker symbol -- Getting ready -- How to do it... -- Rendering a single band raster using a color ramp algorithm -- Getting ready -- How to do it... -- How it works... -- Setting a feature's color using a column in a CSV file -- Getting ready -- How to do it... -- How it works... -- Creating a complex vector layer symbol -- Getting ready -- How to do it... -- How it works... -- Using icons as vector layer symbols -- Getting ready -- How to do it... -- How it works... -- Using an outline for font markers -- Getting ready -- How to do it... -- How it works... -- Using arrow symbols -- Getting ready -- How to do it... -- How it works... -- Creating a graduated vector layer symbol renderer -- Getting ready -- How to do it... -- How it works. | |
520 | |a Master over 170 recipes that will help you turn QGIS from a desktop GIS tool into a powerful automated geospatial framework About This Book Delve into the undocumented features of the QGIS API Get a set of user-friendly recipes that can automate entire geospatial workflows by connecting Python GIS building blocks into comprehensive processes This book has a complete code upgrade to QGIS 2.18 and 30 new, valuable recipes Who This Book Is For This book is for geospatial analysts who want to learn more about automating everyday GIS tasks as well as programmers responsible for building GIS applications. The short, reusable recipes make concepts easy to understand and combine so you can build larger applications that are easy to maintain. What You Will Learn Use Python and QGIS to produce captivating GIS visualizations and build complex map layouts Find out how to effectively use the poorly-documented and undocumented features of the QGIS Python API Automate entire geospatial workflows by connecting Python GIS building blocks into comprehensive processes Create, import, and edit geospatial data on disk or in-memory Change QGIS settings programmatically to control default behavior Automatically generate PDF map books Build dynamic forms for field input In Detail QGIS is a desktop geographic information system that facilitates data viewing, editing, and analysis. Paired with the most efficient scripting language - Python, we can write effective scripts that extend the core functionality of QGIS. Based on version QGIS 2.18, this book will teach you how to write Python code that works with spatial data to automate geoprocessing tasks in QGIS. It will cover topics such as querying and editing vector data and using raster data. You will also learn to create, edit, and optimize a vector layer for faster queries, reproject a vector layer, reduce the number of vertices in a vector layer without losing critical data, and convert a raster to a vector. Following this, you will work through recipes that will help you compose static maps, create heavily customized maps, and add specialized labels and annotations. As well as this, we'll also share a few tips and tricks based on different aspects of QGIS. Style and approach This book follows a recipe-based problem-solution approach to address and dispel challenges faced when implementing and using QGIS on a regular basis. | ||
650 | 0 | |a Geographic information systems |x Computer programs. | |
650 | 0 | |a Geodatabases |x Computer programs. | |
650 | 0 | |a Cartography |x Computer programs. | |
650 | 0 | |a Geospatial data |x Computer processing. | |
650 | 0 | |a Python (Computer program language) | |
650 | 7 | |a Geospatial data |x Computer processing |2 fast | |
650 | 7 | |a Cartography |x Computer programs |2 fast | |
650 | 7 | |a Geographic information systems |x Computer programs |2 fast | |
650 | 7 | |a Python (Computer program language) |2 fast | |
758 | |i has work: |a QGIS Python programming cookbook (Text) |1 https://id.oclc.org/worldcat/entity/E39PCGvWtxqMmtdT94tKx6RvXm |4 https://id.oclc.org/worldcat/ontology/hasWork | ||
856 | 4 | 0 | |u https://go.oreilly.com/UniOfColoradoBoulder/library/view/~/9781787124837/?ar |z Full Text (via O'Reilly/Safari) |
915 | |a - | ||
956 | |a O'Reilly-Safari eBooks | ||
956 | |b O'Reilly Online Learning: Academic/Public Library Edition | ||
994 | |a 92 |b COD | ||
998 | |b Subsequent record output | ||
999 | f | f | |i 5121f469-bd92-5e5d-9fd1-c8b8606ff9b4 |s 3551dafe-5467-5103-a429-1d6b92873534 |
952 | f | f | |p Can circulate |a University of Colorado Boulder |b Online |c Online |d Online |e G70.212 |h Library of Congress classification |i web |n 1 |