[OSM-dev] Way as Relation

Stefan de Konink skinkie at xs4all.nl
Thu May 29 16:27:30 BST 2008


On Thu, 29 May 2008, Richard Fairhurst wrote:

> Stefan de Konink wrote:
>
> > That sounds optimistic :)
>
> That's about right. :)
>
> I'd very very roughly summarise the argument as I see it:
>
> - pro: "neater" data model; some opportunities for simplifying code
>
> - con: no real need to do so; makes things more abstract and harder to
> understand; whole lot of recoding needed (i.e. every single client)
> with no obvious payback

Since I want to implement it semantically correct. It would mean to have

Nodes
  Node_Tags

Relations
  Member_Relation (references Relations)
  Member_Node (references Node)
  Relation_Tags


A search for ways would then lookup the Relation_Tags table. Indexed that
is :)


Stefan





More information about the dev mailing list