#21285 closed enhancement (fixed)
[Patch] Some more warnings on relations
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 21.10 |
Component: | Core validator | Version: | |
Keywords: | template_report relation | Cc: |
Description (last modified by )
First I thought about warnings for missing primary tags of relations besides type=*
but then I thought that adding warnings about wrong access tags for foot and horse routes like the warnings for bicycle routes is not bad either.
Please, find attached patch which
- adds warnings for
type=destination_sign
withoutdestination=*
andtype=building
withoutbuilding=*
- adds
TRANSPORT_MODE=private
tono
anduse_sidepath
as problematic values for ways member ofroute=bicycle/mtb
- adds
route=hiking/running/walking/fitness_trail
androute=horse
with inappropriatefoot=*
respectivelyhorse=*
to the warning above.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-09-03 03:12:33 +0200 (Fri, 03 Sep 2021) Revision:18193 Build-Date:2021-09-03 01:31:19 URL:https://josm.openstreetmap.de/svn/trunk
Attachments (1)
Change History (10)
by , 3 years ago
Attachment: | josm_21285.patch added |
---|
comment:1 by , 3 years ago
Milestone: | → 21.09 |
---|---|
Summary: | Some more warnings on relations → [Patch] Some more warnings on relations |
follow-up: 4 comment:2 by , 3 years ago
Do you write patches by hand? The file is named relation.mapcss, not relations.mapcss
comment:4 by , 3 years ago
Replying to Don-vip:
Do you write patches by hand? The file is named relation.mapcss, not relations.mapcss
Ups, sorry, typo. I use diffs and replace/rewrite the heading.
comment:6 by , 3 years ago
Description: | modified (diff) |
---|
comment:7 by , 2 years ago
Why did this patch add a warning for type=building
relations without a building=*
tag? As far as I understand the wiki, the building's outline should be tagged with building=*
and not the relation itself.
follow-up: 9 comment:8 by , 2 years ago
Looks like I was too much focused to have more tags than just type=*
for relations. Reading the wiki again, I think, we should remove or downgrade the warning but we need to add some tags to the member definitions in the preset, to get e.g. a warning about missing building=*
on the outline
member.
comment:9 by , 2 years ago
Replying to skyper:
Looks like I was too much focused to have more tags than just
type=*
for relations. Reading the wiki again, I think, we should remove or downgrade the warning but we need to add some tags to the member definitions in the preset, to get e.g. a warning about missingbuilding=*
on theoutline
member.
See #21738.
patch file