Modify

Opened 5 weeks ago

Closed 5 weeks ago

Last modified 4 weeks ago

#23604 closed defect (fixed)

[Patch] false warning: combination of sport and building:part

Reported by: Fred73000 Owned by: GerdP
Priority: normal Milestone: 24.03
Component: Core validator Version:
Keywords: combination sport building:part Cc:

Description (last modified by skyper)

Note : I don't use JOSM so I cannot create a report for this ticket.

The problem in josm is here :
https://josm.openstreetmap.de/browser/josm/trunk/resources/data/validator/combinations.mapcss#L545

The problem is : [!"building:part"] is missing.

To illustrate, see this building https://www.openstreetmap.org/way/71485515

This sports_hall has 2 building parts = one big area where people can play basketball, volleyball, handball. And a smaller room dedicated to boxing. The tag "sport" is on each "building:part" but osmose (and probably josm) shows a warning "sport without physical feature" while a physical feature is present.

Attachments (1)

23604.patch (1.6 KB ) - added by GerdP 5 weeks ago.

Download all attachments as: .zip

Change History (8)

by GerdP, 5 weeks ago

Attachment: 23604.patch added

comment:1 by GerdP, 5 weeks ago

Milestone: 24.03
Owner: changed from team to GerdP
Status: newassigned
Summary: false warning in osmose because of a problem in JOSM[Patch] false warning in osmose because of a problem in JOSM

Thanks for the suggested fix. If nobody complains I'll commit the patch tomorrow.

comment:2 by GerdP, 5 weeks ago

Resolution: fixed
Status: assignedclosed

In 19035/josm:

fix #23604: false warning in osmose because of a problem in JOSM

  • add tag key building:part as a physical feature for sport=*

comment:3 by skyper, 5 weeks ago

Component: CoreCore validator
Description: modified (diff)
Keywords: combination sport building:part added
Summary: [Patch] false warning in osmose because of a problem in JOSM[Patch] false warning: combination of sport and building:part

I guess it does not matter for the assertNoMatch but building:part on a node is wrong, in general, and way would be a better choice.

comment:4 by aceman, 4 weeks ago

I feel 'sport' without any of the 'leisure' tags is weird. How is that building part used for the sport? Do they do the sport on the walls or roof of the building (like maybe climbing could be done). Otherwise why don't the building parts have at least their own leisure=sports_hall tags, or leisure=pitch on a node inside the building.
See top of https://wiki.openstreetmap.org/wiki/Key:sport .

comment:5 by GerdP, 4 weeks ago

That's a good question. I just added building:part because building was already listed, see #10918.

comment:6 by skyper, 4 weeks ago

I think building:part=* is acceptable thinking about a sports_hall with several rooms inside the building for different types or sports like one common indoor pitch, sport=multi, a room for boxing and a room with equipment for training power and strength.
building=* without leisure=* is likely more problematic if you leave out outdoor sports like climbing and water sports.

Last edited 4 weeks ago by skyper (previous) (diff)

in reply to:  4 comment:7 by Fred73000, 4 weeks ago

Replying to aceman:

I understand what you mean.
But there is only one sports hall, with walls, 2 roofs and several rooms in it (2 places for sports and a cloakroom). To add leisure=sports_hall to each room will mean there are 3 sports halls, it is not the reality.
And leisure=pitch is for the area where people are playing : in the room where baskeball is played, there is the pitch but also bleachers for publics (the sports hall is used for official competitions). And for the boxing room, there is the boxing ring (which could be tagged with pitch) but also equipments for training : all the room is for boxing, the pitch is a small part in it (and I dont know where).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain GerdP.
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.