bash script to get all the nodes ref-ed in one way. https://www.openstreetmap.org/user/h4ck3rm1k3/diary/7304