Open Source GIScience

Joseph Holler's Open Source GIScience Resources at Middlebury College

Querying OpenStreetMap

Sep-30 : In this lesson, we will design research of urban resilience using OpenStreetMap and PostGIS.

Preparation for class

Develop a Spatial Urban Resilience Question and Investigate Data Sources

Please develop spatial questions about resilience and vulnerability in Dar es Salaam into spatial analysis with data from Ramani Huria, available through OpenStreetMap and Resilience Academy. Implement a solution to your question(s) in PostGIS and thoroughly document your analysis, at first using Notepad ++ for drafting and commenting queries. The final product will be a practical lesson plan / tutorial for students learning how to apply geospatial analysis to urban hazards management.

Considering data error and accuracy, can you get some insight into the data you’re using by querying osm_user, osm_uid, osm_version and/or osm_timestamp? These metadata, associated with every feature, are explained here

You may work individually or in pairs on the analysis in this lab assignment, but please post the final product to both GitHub accounts so that you each have your own copy. Please try your queries on small samples of data first, by using the LIMIT clause or using a WHERE clause to apply a condition to select a small sample of features. Remember to add indices to accelerate time-consuming queries.

Possible Questions

Your research question may include any of these proposed topics, or something new:

OpenStreetMap and Ramani Huria / Resilience Academy

Know your data sources.

Question: What do you want to know about this data before you start using it for analysis? Start taking notes for / writing up a review of data sources for an analytical report on flood risk in Dar es Salaam… What data is available, and how was that data created? How are the features we want to use for analysis tagged in OpenStreetMap, and how were they created?

For Lab

Main Page