[OSM-dev] Objects with the same key multiple times?

Shaun McDonald shaun at shaunmcdonald.me.uk
Thu Oct 4 22:52:24 BST 2007


On 29 Sep 2007, at 00:10, Tom Hughes wrote:

> In message <1191019129.5050.195.camel at localhost.localdomain>
>           Jon Burgess <jburgess777 at googlemail.com> wrote:
>
>> This object really does have two tags with amenity= in the database:
>>
>> mysql> select tags from current_nodes where id=44210213;
>> +-------------------------------------------------------------------- 
>> --------------------+
>> |  
>> tags                                                                  
>>                   |
>> +-------------------------------------------------------------------- 
>> --------------------+
>> |  
>> AND_nodes=520152;AND_nosr_p=10015820;amenity=parking;amenity=fuel;nam 
>> e=N322;source=AND |
>> +-------------------------------------------------------------------- 
>> --------------------+
>>
>> Do we want to officially support objects with the same key multiple
>> times or do we want to prevent it?
>
> As far as I am aware it is, and has always been, supported. The only
> reason you don't see it often is that most, if not all, of the editors
> don't allow you to do it.

Personally I would have though that there would have been a separate  
table to store the key=value pairs.

Shaun

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2433 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20071004/f8962c0b/attachment.bin>


More information about the dev mailing list