You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2021-06-17 15:39:56

Nerdy Anarchist
Member
Registered: 2021-06-16
Posts: 9

Using the same key with multiple values

I'm editing a local library, and they offer multiple means of key:internet_access (wlan, terminal).

Would the proper tagging method be to use them comma separated, or have two instances of the key?

Example:

internet_access:wlan,terminal

vs

internet_access: wlan
internet_access: terminal

Again, thanks in advance for helping a new editor get it right!

Offline

#2 2021-06-17 18:49:21

Nerdy Anarchist
Member
Registered: 2021-06-16
Posts: 9

Re: Using the same key with multiple values

I did some reading on the wiki, etc. Turns out the proper format would be:

internet_access:wlan;terminal

Offline

#3 2021-06-17 18:50:16

Marek-M
Member
From: [PL] Banino
Registered: 2017-01-24
Posts: 308

Re: Using the same key with multiple values

You should use semicolon instead of comma. You can use tag only one time in object, so the second solution will not work. More about multiple values you can read on Wiki: https://wiki.openstreetmap.org/wiki/Multiple_values


Marek-M

Offline

#4 2021-06-18 08:01:43

Kovoschiz
Member
Registered: 2019-10-06
Posts: 128

Re: Using the same key with multiple values

Although semi-colon separated multi-value is more common, there appears to be some using internet_access:wlan:*= sub-key for further details already.

Last edited by Kovoschiz (2021-06-18 08:02:46)

Offline

#5 2021-06-18 22:58:26

maro21
Member
From: Wrocław
Registered: 2018-03-06
Posts: 1,114

Re: Using the same key with multiple values

Nerdy Anarchist wrote:

I did some reading on the wiki, etc. Turns out the proper format would be:

internet_access:wlan;terminal

Should be internet_access=wlan;terminal

Offline

#6 2021-06-19 20:31:34

Nerdy Anarchist
Member
Registered: 2021-06-16
Posts: 9

Re: Using the same key with multiple values

maro21 wrote:
Nerdy Anarchist wrote:

I did some reading on the wiki, etc. Turns out the proper format would be:

internet_access:wlan;terminal

Should be internet_access=wlan;terminal

Good call - JOSM puts that in there, so I never paid attention to whether it was a : or =

Offline

Board footer

Powered by FluxBB