Building Height Squared
Square the height of every OpenStreetMap building on the GPU and color the 3D buildings by the result.
Live Playground
OpenStreetMap data
This spec reads a pre-downloaded OpenStreetMap extract through pbfFileUrl, so it loads in seconds. Remove pbfFileUrl to query the Overpass API live instead, which can take several minutes because Overpass is rate-limited.
Highlights
- compute output written to
outputColumnName - diverging colormap on 3D buildings
This example comes from the autk-grammar repository.