Modify

Opened 3 years ago

Last modified 15 months ago

#12929 new defect

No warning about strange relation with triplicated outer way

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: multipolygon Cc:

Description

Open the attached example file and validate. Nothing is displayed.
But open the relation and note how we have the same way 3 times as outer, together with JOSM saying that the multipolygon is closed:

https://i.imgur.com/OHXErRi.png

I see two problems:

  • JOSM should issue a warning for cases like this (I guess it will happens when the number is odd (ie, the same way is inserted 3, 5, 7, etc times); maybe even offer to repair it
  • JOSM should not display the multipolygon as closed

JOSM

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-06 23:43:32 +0200 (Mon, 06 Jun 2016)
Build-Date:2016-06-07 01:32:04
Revision:10331
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10331 pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 979 MB / 10206 MB (350 MB allocated, but free)
Java version: 1.8.0_91-8u91-b14-2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Plugins:
- Create_grid_of_ways (32158)
- DxfImport (1006)
- OpeningHoursEditor (32158)
- PicLayer (32158)
- RoadSigns (32177)
- SimplifyArea (32158)
- apache-commons (32158)
- buildings_tools (32158)
- conflation (0.2.0)
- contourmerge (1014)
- download_along (32158)
- editgpx (32158)
- ejml (32158)
- geotools (31895)
- imagery_offset_db (32158)
- importvec (32158)
- indoorhelper (32158)
- jts (31906)
- log4j (32158)
- measurement (32158)
- merge-overlap (32158)
- opendata (32158)
- pbf (32158)
- pdfimport (32158)
- poly (32158)
- reverter (32158)
- scripting (30722)
- todo (29154)
- turnrestrictions (32158)
- undelete (32158)
- utilsplugin2 (32158)

Attachments (1)

example.osm (600.5 KB) - added by naoliv 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by naoliv

Attachment: example.osm added

comment:1 Changed 15 months ago by Don-vip

Keywords: multipolygon added
Summary: Not warning about strange relation with triplicated outer wayNo warning about strange relation with triplicated outer way

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 naoliv
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.