Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#14449 closed defect (invalid)

Possible validator false positive for building:min_level=-1

Reported by: nyurik Owned by: team
Priority: normal Milestone:
Component: Internal preset Version:
Keywords: building level Cc:

Description

relation 2638288 validatior generates this. I don't know if this is an error, but there are almost a thousand of these in taginfo.

Misspelled property value - Value '-1' for key 'building:min_level' looks like '1'. (1)
from
TestError [tester=org.openstreetmap.josm.data.validation.tests.TagChecker@c593f635, code=1212, message=Misspelled property value]

Attachments (0)

Change History (2)

comment:1 by Don-vip, 8 years ago

Component: CoreInternal preset
Keywords: building level added
Resolution: invalid
Status: newclosed

It doesn't make sense. According to osmwiki:Key:building:min_level :

http://wiki.openstreetmap.org/w/images/thumb/1/1f/Minlevel.svg/260px-Minlevel.svg.png

If a building part does not start at the ground level, building:levels=* should include the number of skipped levels below the building part (i.e the number of levels that would exist if the space between the ground and the bottom of the building part were filled with levels of the typical height for this building). These skipped levels themselves should be tagged as building:min_level=*.

If we look at osmwiki:Key:building:levels :

http://wiki.openstreetmap.org/w/images/thumb/4/47/Building-levels.png/400px-Building-levels.png

B + C + D counts as building:levels=3
E counts as building:levels:underground=1

So if the majority of buildings have two levels underground, but this one has only one, the correct usage is to tag building:levels:underground=1 instead of building:min_level=-1.

Last edited 8 years ago by Don-vip (previous) (diff)

comment:2 by openstreetmap.org-user-d1g, 8 years ago

... another problem is that with -1 you never know if person counted from 0 or from 1 without additional tag/clarification.

Reason is that natural languages differ how to count levels "from the ground".

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.