A non-obvious task of downloading data from OSM has unexpected, highly programmable solutions.
Have you ever dreamed about creating your own interactive maps like the Google Maps? I did. Here's how to achieve it.
Formulas and notes on the Web Mercator projection.