[OSM-talk] Segments, Ways, and the data model

Nick Whitelegg nick at hogweed.org
Mon Sep 25 12:35:58 BST 2006


On Monday 25 Sep 2006 11:32, David Sheldon wrote:
> On Mon, Sep 25, 2006 at 11:25:01AM +0100, Andrew Findlay wrote:
> > While talking about the data model, is this also the time to start
> > thinking about a layered system?
>
> It may also help scaling, as different layers could be stored on
> different databases, with a front-end that will merge API requests.
>
> David

Though this may be difficult if areas were stored as ways, it makes sense to 
have areas in their own layer. This is because in a typical countryside map, 
one would need to draw things in this order:

1. Areas
2. Contours
3. Roads, paths etc

for the map to look good. Since contours would probably be in their own layer, 
areas would have to be in their own layer too.

Nick




More information about the talk mailing list