[OSM-talk] Re: Data types; indexes etc.

Raphaël Jacquot sxpert at esitcom.org
Thu Apr 27 16:24:29 BST 2006


dblasby at openplans.org wrote:

> As I asked before - why are you storing each point in the database?  Why
> dont you store edges (homogeneous lines)?  It seems this would make
> your database much more efficient if you did this.  But, I dont really
> know what your datamodel is.

the idea is that the user changes the nodes, and the segments are a link 
between 2 nodes.
furthermore, multiple segment can use one node (when multiple roads 
meet, for example). so, when the user changes the node, we'd have to 
look for each segment.

> 
> dave
> 
> 
> ----------------------------------------------------------
> This mail sent through IMP: https://webmail.limegroup.com/
> 
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> 





More information about the talk mailing list