Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8801 closed defect (worksforme)

Validator does not detect when highways intersect same space as buildings

Reported by: skorasaurus Owned by: team
Priority: normal Milestone:
Component: Core validator Version: latest
Keywords: Cc:

Description

Highways and buildings that share the same space are not detected by validator. This should be flagged as a warning or error by validator.

An example of what I'm reporting - http://i.imgur.com/GISMN9x.png

If there's an instance where highway is underneath a building, then an additional tag should be needed, for instance, tunnel=building_passage

http://wiki.openstreetmap.org/wiki/Tunnel

To reproduce:

  • create new layer
  • create a building=yes polygon
  • create a highway that goes through the same space the building=yes polygon
  • run validator

I'm using JOSM, v5997 on ubuntu 12.04

thanks !

Attachments (2)

testing6008.osm (1.3 KB ) - added by skorasaurus 11 years ago.
test case file. With this file, the validator does not detect any errors or warnings.
validator_ok.png (84.0 KB ) - added by Don-vip 11 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by skorasaurus, 11 years ago

I can confirm this also exists in the newest tested as of this writing, v6008.

comment:2 by AlfonZ, 11 years ago

On my v6008 it shows warning Crossing buildings for them.
I was able to get rid of the warning by adding layer=1 to highway.
Attaching your osm file would be helpful.

by skorasaurus, 11 years ago

Attachment: testing6008.osm added

test case file. With this file, the validator does not detect any errors or warnings.

by Don-vip, 11 years ago

Attachment: validator_ok.png added

comment:3 by Don-vip, 11 years ago

Resolution: worksforme
Status: newclosed

Validator works as expected.
Make sure the corresponding tests are enabled in your personal preferences.


comment:4 by skorasaurus, 11 years ago

I figured out the problem: I had assumed that checkmarked boxes would mean that the validator would check for the occurrence of the corresponding behavior.

I gently suggest to change this behavior as normal western thought assumes that a specific thing with a checkbox would mean that the designated behavior applies.

No checkbox would mean that the corresponding line would be ignored.

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.