<p>I though about adding parent objects and consider it a bad idea, regardless of simplicity and speed compared to just adding types and IDs. Because that brings us the problem of recursion: imagine a node that is contained in a way that is contained in a relation that is... and so on. The query would become very slow for such trees. So no, I'm still for adding types and ids.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/768#issuecomment-46882212">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxOTE2Njg1MywiZGF0YSI6eyJpZCI6MzUyNjYxMzF9fQ==--069fe13e5d9cb8a154c7c269e17a369c1ec08897.gif" width="1" /></p>