Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#6510 closed defect (fixed)

[Patch] validator complains about natural=tree_row being an unclosed way

Reported by: scai Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: Cc: scai

Description

Hi,

JOSM's validator complains about natural=tree_row being an unclosed way although this tag is only applied to ways. Instead, it should complain if applying it to nodes or areas.

Regards,
Alex

Attachments (1)

6510.patch (687 bytes ) - added by simon04 13 years ago.

Download all attachments as: .zip

Change History (5)

by simon04, 13 years ago

Attachment: 6510.patch added

comment:1 by simon04, 13 years ago

The attached patch removes the warning of tree_row being not closed.

For the opposite direction, i.e., a warning when being closed, I could not find a test.

Btw: instead of hard coding of tests in UnclosedWays, one could directly fetch the correct usage of tags on nodes/ways/areas/relations via the presets, right?

comment:2 by simon04, 13 years ago

Summary: validator complains about natural=tree_row being an unclosed way[Patch] validator complains about natural=tree_row being an unclosed way

comment:3 by stoecker, 13 years ago

Resolution: fixed
Status: newclosed

In [4294/josm]:

fix #6510 - patch by simon04 - validator complains about natural=tree_row being an unclosed way

in reply to:  1 comment:4 by stoecker, 13 years ago

Replying to simon04:

Btw: instead of hard coding of tests in UnclosedWays, one could directly fetch the correct usage of tags on nodes/ways/areas/relations via the presets, right?

Validator code has not always been updated to the current state, so there is probably a lot of improvement possible in this part of the software.

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.