Street compasses
Every street in 57 cities, binned by the way it points. Grids grow four sharp petals, old towns bloom round. Read each order score, then name cities from their compass alone.
Which city has this compass?
The numbers
How it works
Each city's street network (every street within 10 km of the centre, from the same maps as shortest path and isochrones) is cut into straight pieces along its real curves. For each piece, the bearing comes from its two ends: project latitude and longitude to metres east (Δx) and north (Δy), then take atan2(Δx, Δy), the compass angle clockwise from north. A street has no direction of its own, so the angle is folded into 0 to 180° and counted twice, once each way. That is why every rose is symmetric.
The pieces are added into 36 bins of 10°, weighted by length, so a long avenue counts more than a stub. Each petal's area is its bin's share of all the street length. The map behind the rose is the drive network for the selected city, loaded only when you open it; point at a petal to light up the streets that run that way.
To turn a rose into one number, take the Shannon entropy H of the 36 shares. If streets point every which way equally, H reaches ln 36. A perfect grid puts everything in four bins (north, east, south, west, or any rotation of a cross), so H = ln 4. Geoff Boeing's order score φ squares where H sits between those two and flips it: 1 for a perfect grid, 0 for no order at all.
Planned grids are spiky: the gridiron of an American or Australian colonial town, a Spanish ensanche, Beijing's ring of north-south streets, Kyoto and Xi'an laid out on the old Chinese capital plan. Medieval towns grew along paths, rivers and hills, so their roses come out round: York, Norwich and Sheffield sit near the bottom. Most big cities are a mix, so their φ stays small; even a gridded centre is drowned by the curving suburbs around it. Compare where these cities sit on the world in the atlas.
The other numbers come from the same graphs: the median length of a street segment between junctions, the share of junctions where four streets meet against dead ends (from how many streets touch each node, ignoring nodes cut off at the map's edge), and circuity, how much longer streets are than straight lines between their ends.
One angle per street, one entropy per city, and the history of how a town was planned (or wasn't) falls out as a flower.