Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering QGIS

You're reading from   Mastering QGIS Go beyond the basics and unleash the full power of QGIS with practical, step-by-step examples

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784398682
Length 420 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. A Refreshing Look at QGIS FREE CHAPTER 2. Creating Spatial Databases 3. Styling Raster and Vector Data 4. Preparing Vector Data for Processing 5. Preparing Raster Data for Processing 6. Advanced Data Creation and Editing 7. The Processing Toolbox 8. Automating Workflows with the Graphical Modeler 9. Creating QGIS Plugins with PyQGIS and Problem Solving 10. PyQGIS Scripting Index

Adding inputs


To begin a model, you will need to define the inputs. The graphical modeler will accept the following:

  • Boolean

  • Extent

  • File

  • Number

  • Raster layer

  • String

  • Table

  • Table field

  • Vector layer

To add an input, either double-click on the appropriate category from the Inputs tab or drag the input onto the modeler canvas. The Parameter definition dialog will open. Give the parameter a name and fill in any other details, which change depending on the input that is chosen. When an input parameter is defined and added to the model, it is essentially a conceptual parameter. It will not actually be connected to a GIS data layer until you are ready to run the model.

For this example, we will add a vector layer. We will specify the geometry of the vector data and classify it as a required parameter:

Once you click on OK, the input object is added to the modeler canvas. All the objects in the modeler canvas can be selected with a mouse click and dragged to reposition. Clicking on the pencil icon of an input...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image