[OSM-talk] I've added some amenity values to "Map Features" based on tag usage

Dave Stubbs osm.list at randomjunk.co.uk
Sun Dec 21 14:46:07 GMT 2008


2008/12/20 Simon Ward <simon at bleah.co.uk>:
> On Sat, Dec 20, 2008 at 10:42:01PM +0200, Nic Roets wrote:
>> On Wed, Oct 29, 2008 at 9:35 AM, Erik Johansson <erjohan at gmail.com> wrote:
>> > Why do people use "_" instead of " ", seems very cumbersome really.
>>
>> Because
>> * it's been an OSM convention (standard) since 2006. No one voted and
>> the wiki wasn't locked.
>> * many of us are programmers
>> * it's easier to spot mistakes like "__" than "  "
>
> That just calls for better highlighting of possible mistakes in editors
> and viewers and lint‐checkers.  Of course, my patches are absolutely
> ready to be committed… ☺
>
> Same goes for trying to encode hierarchy into keys and values really.
> It's quite cumbersome.  We're using XML, it's good for structuring data
> (eye of the beholder thing there), and instead of trying to encode
> structure in values that's where it should be.  Of course, my complete
> overhaul of OpenStreetMap tools/API to do all this is just around the
> corner too.  I jest.
>

Well XML is just the transport format.
The actual database is stored in a relational database, and they
really aren't very good at hierarchies at all.

Anyway, if you want hierarchies you can always use relations :-)

Dave


More information about the talk mailing list