Road Orientations Map
Road Orientations Map The topic for day 8 of the #30DayMapChallenge is Urban . For this challenge I decided to go old-school and convert Vladimir Agafonkin's original Road Orientations from Mapbox to Maplibre. The original code analyzes street orientations and visualizes them as a polar histogram. I've just adapted Vladimir’s approach to work with MapLibre GL JS. What the Map Shows The map combines two layers of information: Street network : Using open vector tiles from OpenMapTiles via OpenFreeMap, we render major and minor streets. Polar histogram: A circular chart overlay in the bottom-left corner summarizes the orientation of roads around the current map center. Each segment of the polar histogram corresponds to a directional bin. The longer the segment, the more road length in that orientation. Colors follow a rainbow-like sinebow palette, making dominant street orientations immediately visible. How It Works The histogram is calculated entirely in the browser: Query...









