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
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn QGIS

You're reading from   Learn QGIS Your step-by-step guide to the fundamental of QGIS 3.4

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781788997423
Length 272 pages
Edition 4th Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Anita Graser Anita Graser
Author Profile Icon Anita Graser
Anita Graser
Andrew Cutts Andrew Cutts
Author Profile Icon Andrew Cutts
Andrew Cutts
Arrow right icon
View More author details
Toc

Adding functionality using actions

If you need to add custom functionality to QGIS, then actions are the simplest way of achieving this. The different types of actions are listed as follows:

  • Generic actions: These start external processes. For example, you can run command-line applications such as ogr2ogr.
  • Python actions: These execute Python scripts.
  • Open actions: These open a file using your computer's configured default application; for example, your PDF viewing application for .pdf files or your browser for websites.
  • Operating system actions: These work like generic actions, but are restricted to the respective operating system you are running.

Configuring your first Python action

Open QGIS and load in the popp...

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