Opened 9 years ago

Closed 8 years ago

Last modified 4 years ago

#9598 closed defect (fixed)

Bogus "Areas share segment" warning by validator

Reported by: mkoniecz Owned by: team
Priority: normal Milestone: 14.02
Component: Core validator Version:
Keywords: Cc:


Maybe there are cases where warning like this is useful but for now I encountered it only for buildings where it is correct tagging.

Example - entire old city of Kraków: (see and,_Krak%C3%B3w)

Maybe after excluding building=* this rule will start reporting something useful.

Attachments (1)

9598.osm (4.4 KB) - added by simon04 9 years ago.
A testcase

Download all attachments as: .zip

Change History (15)

comment:1 Changed 9 years ago by Don-vip

Milestone: 14.02

comment:2 Changed 9 years ago by simon04

If areas share a long segment, it might be better to introduce multipolygons. This is the idea of this informational message. Thus, I'd close this as invalid.

comment:3 Changed 9 years ago by Don-vip

Mmmm in that case we're talking about adjacent buildings that share a segment, yes, but converting all of them to multipolygons doesn't bring much. This is a normal way of tagging buildings in urban areas, I agree it should not raise any message, even informational.

Why do we have this check to begin with ?

comment:4 Changed 9 years ago by simon04

Right, we could exclude buildings. In my area, some large forest areas are split at artificial points to make the way polygon smaller in size. Instead, they share a long+complex segment (e.g. way/146342814 + way/146342845). This test identifies such cases.

comment:5 Changed 9 years ago by simon04

We also could change this test to generate a warning only if a way segment consisting of at least 4 nodes is shared.

comment:6 Changed 9 years ago by Don-vip

In France you can easily find buildings with small segments and more than 4 nodes. Think of buildings adjacent to churches for example, like here:

comment:7 Changed 9 years ago by simon04

In 6862/josm:

see #9598 - Validator: report "Overlapping ways" only if at least 3 segments are shared

comment:8 Changed 9 years ago by simon04

Do we want a separate handing for buildings?

comment:9 in reply to:  8 Changed 9 years ago by Don-vip

Replying to simon04:

Do we want a separate handing for buildings?

It is much better right now, but not still perfect in urban areas, there's still too much noise :) So yes I think we can ignore warnings when both areas are buildings.

comment:10 Changed 9 years ago by Don-vip

Or maybe just when one of them is a building. There's plenty of areas drawn alongside a building (parkings, gardens, etc.). We could also ignore barriers (see #9695).

comment:11 Changed 9 years ago by simon04

Resolution: fixed
Status: newclosed

In 6870/josm:

fix #9598 - Validator: do not report "Overlapping ways" for buildings

Changed 9 years ago by simon04

Attachment: 9598.osm added

A testcase

comment:12 Changed 8 years ago by mkoniecz

Resolution: fixed
Status: closedreopened

Is it possible to mention "it might be better to introduce multipolygons" in message? It is not obvious, I wanted to again report this bug because I had no idea what should be fixed.

I know that it would mean additional work for translators.

comment:13 Changed 8 years ago by Don-vip

Resolution: fixed
Status: reopenedclosed

Please don't reopen defects closed long ago to request something else. Please open a new enhancement for this, or simply update the online documentation for this warning.

comment:14 Changed 4 years ago by Don-vip

See #16933 for building:part

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.