[OSM-dev] OSM without segments - prototype

Steve Coast steve at asklater.com
Thu Aug 16 20:21:37 BST 2007


On 16 Aug 2007, at 20:04, Steve Coast wrote:
>> BTW, is there any reason node tags are stored as a single string?
>> That way,
>> things like "amenity"="restaurant;name=Gasthaus zur Post" lead to
>> unexpected
>> results.

Yeah - in the original ruby port (after the java version of the  
server...) I split out the nodes and their history. Normalising the  
tags out seemed like a lot of work and I couldn't be bothered, I  
figured I'd do it if OSM ever really had many users.

But, having them all in there reduces the complexity of SQL. I can  
see a point in keeping them that way but with more intelligent  
seperators, or you could go and normalise them properly.

have fun,

SteveC | steve at asklater.com | http://www.asklater.com/steve/






More information about the dev mailing list