#4827 closed defect (fixed)
Tags longer than 255 are not prohibit
Reported by: | h4ck3rm1k3 | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | tag length | Cc: |
Description
Please extend the validator to check for tags longer than 255 chars.
The validator option to merge nodes at the same position produced results that I could not use, then it is hard to even select those again.
Attachments (0)
Change History (11)
follow-up: 5 comment:1 by , 15 years ago
Keywords: | tag length added |
---|---|
Priority: | minor → major |
comment:2 by , 15 years ago
Summary: | Tags longer than 255 are not checked → Tags longer than 255 are not prohibit |
---|---|
Type: | enhancement → defect |
comment:3 by , 15 years ago
Component: | Core validator → Core |
---|
comment:5 by , 15 years ago
Replying to skyper:
I think JOSM should not allow to add more than 255 chars at all. You could have a check with validator, but I think this is not needed as there are no longer tags on the server and if JOSM does not allow to add more than 255 chars, you would not get any warnings.
We need both. Prohibit it from adding and the validator check, because there can be merged layers which were not edited with josm, but you upload with josm and this will not work.
comment:8 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I don't like to prohibit longer tags at all, as JOSM can be used for other purposes as well. We aren't that tightly tied to the OSM database.
comment:9 by , 15 years ago
Then we need at least a validator check, and have JOSM refuse to upload to OSM if a tag is longer then 255 chars.
I noticed this quite some time ago, but I did not try to upload a tag with this length. see #4662 which is also not nice.
I think JOSM should not allow to add more than 255 chars at all. You could have a check with validator, but I think this is not needed as there are no longer tags on the server and if JOSM does not allow to add more than 255 chars, you would not get any warnings.