[OSM-talk] Are OSM tags case sensitive?

Ed Loach ed at loach.me.uk
Tue Feb 7 21:09:45 GMT 2012


I would say generally, yes. I notice locally a bot following around
a mapper who uses denomination=Anglican converting it to
denomination=anglican (and auto-correct made that difficult to type
with a lower case in this email). 

 

See also:

http://wiki.openstreetmap.org/wiki/Beginners_Guide_1.4.1

“All tags are lower-case, except for names.”

 

(I’d add FIXME=* as an exception to the all tags are lower-case
rule; I’m sure other people might come up with other exceptions; see
for example:

http://taginfo.openstreetmap.org/keys sort by Key ascending and go
forward a few pages to get past those beginning with a digit – AND
prefixed keys for example are quite numerous).

 

Ed

 

From: Matthew Deabreu [mailto:matthew.deabreu at safe.com] 
Sent: 07 February 2012 20:51
To: talk at openstreetmap.org
Subject: [OSM-talk] Are OSM tags case sensitive?

 

Hello All,

 

Just a quick question, are OSM tags case sensitive?

 

I have seen quite a bit of discussion about the topic however I have
not seen a definitive answer. I am wondering because I work at Safe
Software Inc. and the product we are working on currently treats
them as case sensitive. Should we make our product (FME) treat OSM
tags as case insensitive and convert attributes to all lower case?

 

Thank you for any help!


 

-- 
Matthew DeAbreu | Development Intern

Safe Software Inc.
Suite 2017, 7445 - 132nd Street, Surrey, BC Canada V3W 1J8
T 604.501.9985 x 225  | F 604.501.9965
Matthew.DeAbreu at safe.com | www.safe.com

FME 2012 World Tour | Spring | 30+ Cities Worldwide & Online
Join us at an FME User Meeting near you. See FME 2012 in action,
discover new tips and tricks and connect with fellow FME users.

 

Register today at  <http://www.safe.com/wt2012> www.safe.com/wt2012

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20120207/27a0f2ea/attachment.html>


More information about the talk mailing list