Problems
Real geospatial problems, graded automatically. Choose a track, a level and what you want to hand in.
- Not started, Docks and bikes per borough, in one querySpatial analysisSQLPostGIS / SQLbeginnerDifficulty: beginner150 XP~25 min4 checksPostGIS / SQLbeginnerDifficulty: beginner
A point-in-polygon join with GROUP BY — and the outer join that keeps the boroughs with nothing to count.
You hand in a spatial SQL query.
Datasets
- London boroughs · Polygon · 33 features · EPSG:4326
- Santander Cycles docking stations (live snapshot) · Point · 799 features · EPSG:4326
What you’ll do
- Join stations to boroughs with a spatial predicate
- Aggregate per borough
- Keep every borough, including the ones outside the scheme
ST_ContainsGROUP BYouter jointransportLondonAlso trains Spatial AnalysisOpen problem - Not started, Urban share of each state, in SQLSpatial analysisSQLPostGIS / SQLadvancedDifficulty: advanced
ST_Intersection for the pieces and ST_Area on geography for the metres — the overlay-and-measure pattern inside the database.
You hand in a spatial SQL query.
Datasets
- United States states · Polygon · 51 features · EPSG:4326
- Urban areas · Polygon · 2,143 features · EPSG:4326
What you’ll do
- Overlay polygons with ST_Intersection
- Measure the pieces on geography rather than in degrees
- Aggregate per state, keeping the states with nothing
ST_IntersectiongeographyoverlayGROUP BYland useAlso trains Spatial AnalysisOpen problem