Tutorials and Resources for Spatial Analytics in PostGIS SQL and QGIS

This post is a repository of useful tutorials, workshops, demonstrations, and reference for spatial analytics and modeling in the Postgres, PostGIS, and QGIS. Please add links to this post as you discover useful sites (include a brief description of the site).

  1. w3schools – a very useful site on the fundamentals of (non-spatial) SQL queries, including tutorials on joins and SQL functions such as AVG()
  2. boundlessgeo Рan excellent primer on many of the PostGIS spatial functions, great place to get your feet wet with PostGIS spatial analytics/modeling
  3. spatialthoughts – this site provides tutorials in a wide range of techniques in QGIS
  4. linfinity Рthis site provides a number of tutorials clearly illustrating spatial analytic approaches using QGIS
  5. Geospatial Analysis¬†– 4th Edition” by de Smith, Goodchild, Longley – this textbook provides the conceptual and geometric principles of spatial analytics and modeling – an excellent resource.

Worldwide GIS database

A worldwide map containing downloadable geolocated, data-rich shapefiles is now available on the OpenStreetMap site. The information is exported as an .osm file, a type of XML file that can be read and dynamically imported by CityEngine. While the information contained in the geo-database consists of base layers from mapquest (street centerlines, street widths, building footprints and heights, religious centers, hospitals, bike paths, public transportation lines, parks, etc.), it is a useful resource for generating data-rich base models from actual conditions. A tutorial describing how to import this file type (among other file types) and generate city-wide 3D geometry in CityEngine can be found here: