Leveraging Open Source GIS with Python: A QGIS Approach

Post on 24-Jun-2015

1.930 views 3 download

Tags:

description

The accompanying slide presentation to a webinar I gave back in may showing the power of Python with open source tools like Quantum GIS (QGIS) and PostGIS.

Transcript of Leveraging Open Source GIS with Python: A QGIS Approach

A Quantum GIS Approach

The power of any GIS lies in the customization Many embedded objects and processes

available A variety of programming and scripting

languages Plug-in, add-on, extension... Stand alone using API and ActiveX

An Introduction to Quantum GIS (QGIS) An Introduction to Python An Introduction to Qt An Overview of Python Bindings Using the Python Shell in QGIS Writing your first QGIS plugin

What is it? How does it

compare?

What can it do? Why use QGIS?

What is it? How does it

compare?

What can it do? Why use Python?

Off we go to the demo...

What is it? What can it do? Why use Qt? What else?

pyuic4 pyrcc4

Off we go to the demo...

What are QGIS Python Bindings Python libraries that are accessible to QGIS Python Core/GUI (Version 2.5) and PyQt4 (main

bindings) How do they work?

Calls to the libraries in the code... from PyQt4.QtCore import * from qgis.core import *

What are they used for? Access to Python functions within QGIS

Math String Logic

Regular expressions Loops

Off we go to the demo...

What are they? Extend the functionality of QGIS Python or C++ Made up of GUI (Qt) and Python Code

Do I have to make all of my own? Plenty available on the internet

Where can I get them? Plugins Fetch Python Plugins

How do I install them? Above method...installs for you Place entire directory in your Python Plugin directory

~.qgis/python/plugins How do I manage them?

Plugins Manage Plugins

Off we go again to the demo...

Why QGIS? Open source and free Extensable development environment Many geoprocessing functions and objects

Why Python? Integrated very well with QGIS Well established programming language Works very well with Qt for forms etc

Python Bindings gives the power of programming to QGIS

QGIS Plugins the real power of QGIS lots of QGIS and third party plugins available

How to get more training.... Contact Carteryx @ info@carteryx.com or 778.668.5025 More training classes to come (watch

http://www.carteryx.com) Pre-defined and Personalized training....

Links http://www.qgis.org http://forum.qgis.org http://blog.qgis.org/ http://wiki.qgis.org/qgiswiki http://www.python.org http://www.diveintopython.org/

Any Questions????