leveraging open source gis with python: a qgis approach

15
A Quantum GIS Approach

Upload: gerry-james

Post on 24-Jun-2015

1.930 views

Category:

Documents


3 download

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

Page 1: Leveraging Open Source GIS with Python: A QGIS Approach

A Quantum GIS Approach

Page 2: Leveraging Open Source GIS with Python: A QGIS 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

Page 3: Leveraging Open Source GIS with Python: A QGIS Approach

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

Page 4: Leveraging Open Source GIS with Python: A QGIS Approach

What is it? How does it

compare?

What can it do? Why use QGIS?

Page 5: Leveraging Open Source GIS with Python: A QGIS Approach

What is it? How does it

compare?

What can it do? Why use Python?

Page 6: Leveraging Open Source GIS with Python: A QGIS Approach

Off we go to the demo...

Page 7: Leveraging Open Source GIS with Python: A QGIS Approach

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

pyuic4 pyrcc4

Page 8: Leveraging Open Source GIS with Python: A QGIS Approach

Off we go to the demo...

Page 9: Leveraging Open Source GIS with Python: A QGIS Approach

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

Page 10: Leveraging Open Source GIS with Python: A QGIS Approach

Off we go to the demo...

Page 11: Leveraging Open Source GIS with Python: A QGIS Approach

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

Page 12: Leveraging Open Source GIS with Python: A QGIS Approach

Off we go again to the demo...

Page 13: Leveraging Open Source GIS with Python: A QGIS Approach

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

Page 14: Leveraging Open Source GIS with Python: A QGIS Approach

How to get more training.... Contact Carteryx @ [email protected] 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/

Page 15: Leveraging Open Source GIS with Python: A QGIS Approach

Any Questions????