NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello,

I noticed that some nodes have the name attribute twice (with varying case). For exemple the node 2624350260 has attribute 'name' and attribute 'Name'.

This brings two questions :

  • Are attribute names case sensitive ?
  • Can a node have the same attribute more than once ?

Thanks

asked 13 Sep '16, 10:39

doubret's gravatar image

doubret
31225
accept rate: 0%

edited 13 Sep '16, 10:40


Tags are case-sensitive. This means that name and Name are not the same. Also, each tag can only exist once for each element. So each element can only have a single name tag.

Keys should be kept in lowercase. Thus Name will not be interpreted by any popular tool, i.e. it won't get rendered, it won't be used for searching and so on. As far as I know there is not a single popular key that contains any uppercase latter, except for "FIXME". Most of the tags starting with an uppercase letter are just a mistake, either made by a human being while editing tags by hand or caused by some badly written (import) tool. Yet they might contain valuable information, so only remove/fix them if you really know what you are doing. Ideally try to contact the author.

permanent link

answered 13 Sep '16, 10:51

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 13 Sep '16, 10:53

2

Thank you. I will not remove anything, don't worry. I'll try to contact the authors.

(13 Sep '16, 11:05) doubret

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×92
×22

question asked: 13 Sep '16, 10:39

question was seen: 1,831 times

last updated: 13 Sep '16, 11:05

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum