special characters in tags

Maarten Deen mdeen at xs4all.nl
Thu Jun 23 20:12:01 UTC 2022


The API documentation should describe the allowed characters to use, and it does: https://wiki.openstreetmap.org/wiki/API_v0.6#Tags
"A tag is a Key-Value pair of Unicode strings of up to 255 full unicode characters (not bytes) each."

No exemption of characters is made so that would imply that a "+" is allowed.
Having the JOSM validator flag them could be problematic in a way that people could take that as the rule and start removing all those characters just because JOSM says so.

Regards,
Maarten

> Op 23-06-2022 19:12 schreef Martin Koppenhoefer <dieterdreist at gmail.com>:
> 
>  
> Hi devs,
> 
> in the German forum the question arose whether the “+” is an allowed char in tags:
> 
> https://forum.openstreetmap.org/viewtopic.php?pid=865766#p865766
> 
> Maybe the validator is overzealous here, or is generally agreed that some characters should not be used?
> 
> Cheers Martin 
> 
> 
> 
> sent from a phone



More information about the josm-dev mailing list