Modify

Opened 6 years ago

Last modified 6 years ago

#14155 new defect

Warning: amenity=place_of_worship inside amenity=place_of_worship

Reported by: pl71 Owned by: team
Priority: trivial Milestone:
Component: Core validator Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Create area and tag it amenity=place_of_worship
  2. Create second area inside the first one and tag it "amenity=place_of_worship"
  3. Crete a node inside the first area and tag it "amenity=place_of_worship"
  4. Run Validator

What is the expected result?

No warnings. See wiki, paragraph "Complicated".

What happens instead?

Warnings appear only for the node (item 3 from the above list) inside area (item 1), but not for areas (item 2) inside area (item 1).

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-11-06 20:18:38 +0100 (Sun, 06 Nov 2016)
Build-Date:2016-11-06 21:45:03
Revision:11223
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11223 bg) Windows 10 64-Bit
Memory Usage: 376 MB / 455 MB (57 MB allocated, but free)
Java version: 1.8.0_111-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1600x900
Maximum Screen Size: 1600x900
Dataset consistency test: No problems found

Plugins:
+ colorscheme (32699)
+ measurement (32936)
+ reverter (32796)
+ scripting (30761)
+ undelete (32699)
+ utilsplugin2 (32815)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Power&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- W: java.net.UnknownHostException: api.openstreetmap.org
- W: Already here java.net.UnknownHostException: api.openstreetmap.org
- E: java.net.UnknownHostException: api.openstreetmap.org
- W: org.openstreetmap.josm.io.OsmTransferException: Неуспешно свързване с OSM сървъра. Моля проверете вашата връзка към интернет.. Причина: java.net.UnknownHostException: api.openstreetmap.org
- W: java.net.UnknownHostException: api.openstreetmap.org
- W: Already here java.net.UnknownHostException: api.openstreetmap.org
- E: java.net.UnknownHostException: api.openstreetmap.org
- W: org.openstreetmap.josm.io.OsmTransferException: Неуспешно свързване с OSM сървъра. Моля проверете вашата връзка към интернет.. Причина: java.net.UnknownHostException: api.openstreetmap.org
- W: Unable to remove primitives from TestError [tester=org.openstreetmap.josm.data.validation.tests.UnconnectedWays$UnconnectedHighways@e1e6f820, code=1301, message=Краят на път е близо до друг път].: java.lang.UnsupportedOperationException
- W: Unable to remove primitives from TestError [tester=MapCSSTagCheckerAndRule [rule=GroupedMapCSSRule [selectors=[node[ParameterFunction~equal(class java.lang.Object ParameterFunction~tag(class org.openstreetmap.josm.gui.mappaint.Environment <amenity>),class java.lang.Object ParameterFunction~parent_tag(class org.openstreetmap.josm.gui.mappaint.Environment <amenity>))] >LinkSelector{conditions=null} *[amenity][amenity'NEQ'parking]], declaration=Declaration [instructions=[throwWarning: ArrayFunction~tr(class java.lang.String <{0} inside {1}>,class java.lang.String ArrayFunction~concat(class java.lang.Object <amenity=>,class java.lang.Object ParameterFunction~tag(class org.openstreetmap.josm.gui.mappaint.Environment <amenity>)),class java.lang.String ArrayFunction~concat(class java.lang.Object <amenity=>,class java.lang.Object ParameterFunction~tag(class org.openstreetmap.josm.gui.mappaint.Environment <amenity>)));, group: ArrayFunction~tr(class java.lang.String <{0} inside {1}>,class java.lang.String <amenity>,class java.lang.String <amenity>);], idx=15]]], code=3000, message=amenity вътре в amenity].: java.lang.UnsupportedOperationException

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Klumbumbus

Can you link a real example?

Last edited 6 years ago by Klumbumbus (previous) (diff)

comment:3 Changed 6 years ago by skyper

Think this is general problem like shops inside shops and landuse within landuse.

comment:4 Changed 6 years ago by pl71

Example: http://osm.org/go/x1wvfPUkZ
This warning appears only for nodes inside areas, not for areas inside areas.
May be there are many additional nodes entered by users without knowing, that the area around was already marked as the same amenity.
And the validator considers areas inside areas as a more precise and correct entry?

@naoliv: Thank you. ​landuse=religious is a good idea. Will use it.


Last edited 6 years ago by pl71 (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
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 pl71
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.