Modify

Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#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 skyper)

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 without destination=* and type=building without building=*
  • adds TRANSPORT_MODE=private to no and use_sidepath as problematic values for ways member of route=bicycle/mtb
  • adds route=hiking/running/walking/fitness_trail and route=horse with inappropriate foot=* respectively horse=* 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)

josm_21285.patch (2.6 KB ) - added by skyper 3 years ago.
patch file

Download all attachments as: .zip

Change History (10)

by skyper, 3 years ago

Attachment: josm_21285.patch added

patch file

comment:1 by skyper, 3 years ago

Milestone: 21.09
Summary: Some more warnings on relations[Patch] Some more warnings on relations

comment:2 by Don-vip, 3 years ago

Do you write patches by hand? The file is named relation.mapcss, not relations.mapcss

comment:3 by Don-vip, 3 years ago

Resolution: fixed
Status: newclosed

In 18199/josm:

fix #21285 - Some more warnings on relations (patch by skyper):

  • adds warnings for type=destination_sign without destination=* and type=building without building=*
  • adds TRANSPORT_MODE=private to no and use_side as problematic values for ways member of route=bicycle/mtb
  • adds route=hiking/running/walking/fitness_trail and route=horse with inappropriate foot=* respectively horse=* to the warning above.

in reply to:  2 comment:4 by skyper, 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:5 by Don-vip, 3 years ago

Milestone: 21.0921.10

Milestone renamed

comment:6 by skyper, 3 years ago

Description: modified (diff)

comment:7 by anonymous, 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.

comment:8 by skyper, 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.

in reply to:  8 comment:9 by skyper, 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 missing building=* on the outline member.

See #21738.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.