Problems
Real geospatial problems, graded automatically. Choose a track, a level and what you want to hand in.
- 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