Opened 3 months ago

Last modified 3 months ago

#20393 new enhancement

Duplicate message for closed way with area=yes

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


What steps will reproduce the problem?

  1. Have a closed way with just one tag area=yes
  2. Run validator

What is the expected result?

One warning

What happens instead?

Two messages, one from mapcss tests, the other from java test UntaggedWays

  • Untagged ways (commented) (1)
  • missing tag - incomplete object: only area (1)

Please provide any additional information below. Attach a screenshot if possible.

Do we need the java test UntaggedWays?

Build-Date:2021-01-15 16:39:45

Identification: JOSM/1.5 (17462 SVN en) Windows 10 64-Bit
OS Build number: Windows 10 Home 2004 (19041)
Memory Usage: 916 MB / 1820 MB (141 MB allocated, but free)
Java version: 1.8.0_272-b10, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Look and Feel:
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
VM arguments: [-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:49887, -ea, -Djosm.homexxx=c:\temp\josmxxx, -javaagent:D:\eclipse-java-2020-09\eclipse\configuration\org.eclipse.osgi\215\0\.cp\lib\javaagent-shaded.jar, -Dfile.encoding=UTF-8]
Dataset consistency test: No problems found

+ ColumbusCSV (35640)
+ OpeningHoursEditor (35640)
+ apache-commons (35524)
+ buildings_tools (35669)
+ ejml (35458)
+ geotools (35458)
+ jaxb (35543)
+ jts (35458)
+ o5m (35640)
+ opendata (35640)
+ pbf (35650)
+ poly (35640)
+ reverter (35640)
+ turnlanes (35640)
+ undelete (35640)
+ utilsplugin2 (35682)

Validator rules:
+ c:\josm\core\resources\data\validator\combinations.mapcss
+ c:\josm\core\resources\data\validator\geometry.mapcss

Attachments (0)

Change History (1)

comment:1 Changed 3 months ago by skyper

Nice example of collision with the area=*. Remove area=* and add note=* or description=* and UntaggedWays is needed. Do not know if we can change it to MapCSS with the dependency to certain memberships.

I just went one step further and got three warnings for an open way with only area=yes:

  • missing tag - incomplete object: only area
  • Unclosed way - area
  • Untagged ways (commented)

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to GerdP
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.