Skip to content

tutorial - Overview

Urban analytics with Autark ​

A short course, not a reference. You start with the data a city publishes and finish with a GPU analysis of a street network — loading, mapping, charting, and computing along the way, entirely in the browser.

The notebooks run on the current version of Autark. Edit a cell and press Run to see the result. Cells share state within a chapter; use Run all above when an example needs earlier cells. Expect to spend 20–30 minutes per chapter.

Original SIBGRAPI tutorial

This tutorial is based on Urban Computing with Autark, presented at SIBGRAPI. The original notebooks are available on Observable, but they are no longer updated and may not work with current versions of Autark. Use the chapters on this site for the updated tutorial.

What you need ​

A recent Chrome, Edge, or Safari. The Map and Compute chapters need WebGPU and a supported GPU adapter. There’s nothing to install, but DuckDB may fetch its spatial extension on first use. Add ?overpass=offline to a chapter URL to use the bundled OpenStreetMap recordings instead of the live service.

Chapters ​

ChapterWhat you build
Urban data formats and sourcesRead GeoJSON, WKT, CSV, GeoTIFF, and OpenStreetMap, and see how each one is shaped.
Urban data managementConfigure a spatial workspace, query data, and compare raw and smoothed heatmaps with autk-db.
Geographical data visualizationProject and frame layers, then explore thematic color, hover, and selection in autk-map.
Abstract data visualizationLink a scatter plot and histogram with brush ranges, selections, and hover in autk-plot.
GPU computingMeasure multipart road geometry with WGSL and estimate sky exposure with autk-compute.

When you finish, try Urbane in Demo Apps: it applies the same ideas to a multi-resolution analysis of Manhattan.

Credits ​

Tutorial authors: João Rulff, Lucas Alexandre, Talisson Souza, Gustavo Moreira, Daniel Oliveira, Harish Doraiswamy, Fabio Miranda, Claudio Silva, and Marcos Lage.

OpenStreetMap data © OpenStreetMap contributors, ODbL 1.0.

Released under the MIT License.