District Tour
Maps for the district tours
The 11 walks, in district order
0Walks
0.00 kmDistance
0h 00mWalking time
| walk | date | km | duration |
|---|
No rows
Read the walks
Show code
-- The statistics are ordinary note properties; no Python or external service.
local root="blog/writing/District Tour"
local pages=nb.get_children(root)
table.sort(pages,function(a,b)
return (tonumber(a.title:match("Prague (%d+)")) or 0)<(tonumber(b.title:match("Prague (%d+)")) or 0)
end)
local rows,links,total_km,total_minutes={},{},0,0
for _,page in ipairs(pages) do
local blocks=nb.query({page=page.title,include_linked=true,limit=100})
for _,block in ipairs(blocks) do
local p=(block.metadata or {}).properties or {}
if tonumber(p.distance) and type(p.duration)=="string" then
local hours,minutes=p.duration:match("^(%d+):(%d%d)$")
rows[#rows+1]={walk=page.title:match("([^/]+)$"),date=p.date or "",km=p.distance,duration=p.duration}
total_km=total_km+p.distance
total_minutes=total_minutes+(tonumber(hours) or 0)*60+(tonumber(minutes) or 0)
links[#links+1]=ui.page_link(page.title,page.title:match("([^/]+)$"))
break
end
end
end
ui.column({
ui.row({ui.stat("Walks",tostring(#rows)),ui.stat("Distance",string.format("%.2f km",total_km)),ui.stat("Walking time",string.format("%dh %02dm",math.floor(total_minutes/60),total_minutes%60))},{appearance={gap=2}}),
ui.table(rows,{columns={"walk","date","km","duration"}}),
ui.collapsible("Read the walks",{open=true,children=ui.column(links,{appearance={gap=1}})}),
},{appearance={gap=2}})
Tour of every Prague Municipal Authority
In September 2019 I embarked on a quest to sequentially visit every Prague Municipal Authority (Urad Mestske Casti, UMC) building from 1 to 22 as a way to visit every Prague district at least once. I would always start at a UMC and walk to the next one and take a selfie. I took year long breaks between the walks but never forgot the mission.
The lengths varied from 3km to 36km and I learned the UMC are built in a spiral which means the later ones are across the entire city.
Sub-pages
- Prague 21 222026-10-26
- Prague 19 202026-10-26
- Prague 17 182026-10-26
- Prague 162026-10-26
- Prague 11 122026-10-26
- Prague 142026-10-26
- Prague 132026-10-26
- Prague 152026-10-26
- Prague 6 7 8 9 102026-10-26
- Prague 4 52026-10-26
- Prague 1 2 32026-10-26