[OSM-talk] Drawing only using ways (getting rid of segments)

Raphaël Jacquot sxpert at esitcom.org
Mon Sep 25 11:22:55 BST 2006


Nigel Magnay wrote:
> The last one sounds right. Your editor should notice where you are
> splitting 'super'ways into 'sub'ways, and upload the correct ways
> accordingly.
> 
> E.g : http://wiki.openstreetmap.org/index.php/Example_Simplified_Database
> 

what's the point of this ??

considering that mysql 5.1 is now installed on the db server, why not
use that and read this :

http://www.mysql.org/doc/refman/5.1/en/spatial-extensions.html

the other solution, of course, would be to migrate to postgres and it's
integrated geometry stuff, which has very powerfull operators such as &&
(bounding box somehow overlaps the given box) and @ (thing is entirely
inside the box)

see http://www.navsys.org/cvs/pynavsys/pgsqlstore.py?rev=1.7&view=auto
for an example




More information about the talk mailing list