Practical Introduction To QGIS: Fmoh/Hitd
Practical Introduction To QGIS: Fmoh/Hitd
FMoH/HITD
FmoH/HITD May
QGIS
a very capable
and flexible
Desktop GIS
QGIS
Fmoh/hitd Workshop
Practical QGIS
slide 2 of 13
Workshop Schedule
QGIS Workshop
Practical QGIS
slide 3 of 13
Workshop Schedule - Day 1
Overview and Foundations of QGIS
The QGIS project and it’s community
Technical Foundations of QGIS (Libraries GDAL, OGR, PROJ4 )
QGIS Workshop
Practical QGIS
slide 7 of 13
QGIS
QGIS - Desktop GIS
originally a GIS viewing environment QGIS for the Linux desktop but is
available for Solaris, Windows and Mac. Support for many data Formats
QGIS Workshop
Practical QGIS
slide 8 of 13
QGIS
QGIS Facts
QGIS Workshop
Practical QGIS
slide 9 of 13
QGIS
QGIS Highlights
„Intermediate“ Desktop GIS
all basic and intermediate GIS Functionality
support for many input formats
easily extensible and highly customizable
extended comprehensive Analytic capabilities
-> Processing Tools and modeler
automation and custom tool development via
Python scripting (Python bindings and pyQT integration)
Enables plug-in and user interface development
Very active User and Developer Community
rapid development, good community support
QGIS Workshop
Practical QGIS
slide 10 of 13
Why and What
QGIS Workshop
Practical QGIS
slide 11 of 13
The OS Culture
QGIS Workshop
Practical QGIS
slide 12 of 13
List of common FOSS software licenses
QGIS Workshop
Practical QGIS
slide 13 of 13
The „Tribes“ of FOSS4G
QGIS Workshop
Practical QGIS
slide 14 of 13
Some Foundations
QGIS Workshop
Practical QGIS
slide 16 of 13
QGIS – Installation
QGIS Workshop
Practical QGIS
slide 17 of 13
QGIS - Best Practices and Settings
QGIS Workshop
Practical QGIS
slide 18 of 13
QGIS - Best Practices and Settings
Project settings – Data Browser - Favorites
Layer settings
GUI Customization
Using templates or default project to start
How do we get a
list of templates
to show up
QGIS Workshop
Practical QGIS
slide 19 of 13
QGIS - Layer Properties
Lots of settings note 3 that have unusual / interesting options including
Flexible UI Attribute tables
Configurable Display Map Tips
absolutely Custom Actions of a Layer Python console
QGIS Workshop
Practical QGIS
slide 20 of 13
Exercises - Creating Maps
QGIS Workshop
Practical QGIS
slide 21 of 13
QGIS - Managing Raster Data
QGIS Workshop
Practical QGIS
slide 22 of 13
QGIS - Managing Raster Data
Virtual Raster
You can deal with multiple files like they are one file by creating a virtual raster.
This can be done by selecting the Raster > Miscellaneous > Build Virtual Raster
(Catalog) menu option. This creates a mosaic of the images (like a seamless layer
in MapInfo or a mosaic raster layer in ArcGIS).
QGIS Workshop
Practical QGIS
slide 23 of 13
QGIS - Managing Raster Data
Build Overviews (Pyramids in ArcGIS)
You can also create pyramids on multiple datasets in one go by using the
Raster > Miscellaneous > Build Overviews menu option.
This allows for a batch mode. It has more advanced options, and its best to read
this webpage to understand them
QGIS Workshop
Practical QGIS
slide 24 of 13
QGIS – Advanced Topics
QGIS Workshop
Practical QGIS
slide 25 of 13
QGIS - Metadata viewing, editing, exporting, etc
What are our options for documenting database or shape files
with metadata?
QGIS browser allows for viewing metadata, previewing layers, looking at
attributes, etc. Not possible to edit/import/export metadata here, and does not
display existing XML metadata files.
There is an experimental metadata plugin called Metatools
hasn't been updated in over a year , BETA version
Within QGIS, it is possible to edit metadata as follows:
Right click layer, choose Metadata tab
Add Title, abstract, etc. Not clear yet if there is anyway to import XML data.
These entries do not appear to persist outside of the project in which they
were entered
-->UPSHOT: metadata support in QGIS appears to be really weak, and the few
plugin efforts are stalled
QGIS Workshop
Practical QGIS
slide 26 of 13
QGIS - Joining Tables
– tutorial:
http://www.qgistutorials.com/en/docs/performing_table_joins.html
QGIS – Topology
step-by-step tutorial:
http://manual.linfiniti.com/en/create_vector_data/topo_editing.html
QGIS Workshop
Practical QGIS
slide 27 of 13
QGIS – Processing Toolbox
Enabling R Package (Statistical Software)
QGIS Workshop
Practical QGIS
slide 28 of 13
QGIS + R Package (Statistical Software)
Official R webpage and download links
R Studio
Articles AND Scripts - R + Geospatial use
Geospatial data in R and Beyond
R, an Integrated Statistical Programming
Environment and GIS Spatial data and R
QGIS-R-Geostatistics scripts contribution
R scripts and GIS integration
R-scripts in Processing "Spatial data processing framework for
QGIS" Plug-in (formerly Sextante plug-in)
Needs to be enabled in Processing menu / providers:
After R is enabled (and installed on your operating system) you can
run the scripts from the Processing Toolbox – see next page
QGIS Workshop
Practical QGIS
slide 29 of 13
Spatial Data Bases
Extending GIS Capabilities
QGIS Workshop
Karsten Vennemann, Seattle slide 30 of 13
Practical QGIS
Spatialite
QspatiaLite Plugin
Spatialite GUI
http://www.gaia-gis.it/spa
tialite-2.3/
QGIS Workshop
Practical QGIS
slide 31 of 13
PostGIS
QGIS Workshop
Practical QGIS
slide 32 of 13
PostGIS
PostGIS Functions
Spatial SQL
QGIS Workshop
Practical QGIS
slide 33 of 13
PostGIS
QGIS Workshop
Practical QGIS
slide 34 of 13
Example for practical use of the PostGIS Database
Unified data storage and retrieval
GIS functionalities
Find nearest spatial features
Nearest road (reverse geocoding)
Nearest conspecific plant species (Whippet model)
Buffer, locate within another feature, and calculate
distances (modeling)
Model calculations of attributes
(leading to prioritization scores)
Extension of Web GIS capabilities
Data queries for dynamic data display
QGIS Workshop
Practical QGIS
slide 35 of 13
PostGIS
QGIS Workshop
Practical QGIS
slide 36 of 13
QGIS - Python Interface
Three Options
Python console
Processing tools
Plugins
Tools such as
WinPython ( IDE + QT Designer)
QT Designer
Plugin-Builder Plugin
QGIS Workshop
Practical QGIS
slide 37 of 13
Resources
Documents
Creating Maps in QGIS: A Quick Guide
How do I do that in Quantum GIS: illustrating classic GIS tasks
QGIS 2.8 User Guide
QGIS 2.8 QGIS Training Manual
PyQGIS developer cookbook
Building Mapping Applications with QGIS (can be bought at the Packt web site )
Learning QGIS (Second edition) – in class materials
QGIS Workshop
Practical QGIS
slide 38 of 13