Opened 7 years ago

Last modified 7 years ago

#15269 closed enhancement

Complain about bare tourism=attraction — at Version 2

Reported by: mkoniecz Owned by: team
Priority: normal Milestone: 17.11
Component: Core validator Version:
Keywords: template_report tourism Cc:

Description (last modified by mkoniecz)

What steps will reproduce the problem?

  1. Create tourism=attraction node
  2. select it
  3. run validator
  4. add name tag to the node
  5. select it
  6. run validator

What is the expected result?

In steps 3 and 6 validator will complain about lack of any tags beyond tourism=attraction and name tags.

What happens instead?

Nothing reported.

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

Such objects are frequently added by MAPS.ME.

http://overpass-turbo.eu/s/ryl detects such mistakes

http://www.openstreetmap.org/node/5043840886 is an example of a problematic object

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-09-04 00:29:05 +0200 (Mon, 04 Sep 2017)
Build-Date:2017-09-03 22:31:22
Revision:12717
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12717 en) Linux Ubuntu 16.04.3 LTS
Memory Usage: 292 MB / 871 MB (61 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080

Plugins:
+ OpeningHoursEditor (33185)
+ buildings_tools (33004)
+ lakewalker (33161)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/AdvertisingStyle&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&zip=1
+ ${HOME}/Documents/install_moje/josm_style_sidewalks/Styles_Sidewalks-style.mapcss

Validator rules:
+ ${HOME}/Documents/install_moje/josm_validator/josm.validator.mapcss

Last errors/warnings:
- W: java.net.SocketTimeoutException: Read timed out
- E: java.net.SocketTimeoutException: Read timed out
- W: org.openstreetmap.josm.tools.bugreport.BugReportSender$BugReportSenderException: java.net.SocketTimeoutException: Read timed out. Cause: java.net.SocketTimeoutException: Read timed out

Change History (2)

comment:1 by mkoniecz, 7 years ago

Summary: Complain about bare tourims=attractionComplain about bare tourism=attraction

comment:2 by mkoniecz, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.