Modify

Opened 10 years ago

Closed 7 years ago

Last modified 7 years ago

#12929 closed defect (fixed)

No warning about strange relation with triplicated outer way

Reported by: naoliv Owned by: team
Priority: normal Milestone: 16.12
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 10 years ago.

Download all attachments as: .zip

Change History (4)

by naoliv, 10 years ago

Attachment: example.osm added

comment:1 by Don-vip, 8 years ago

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

comment:2 by GerdP, 7 years ago

Resolution: fixed
Status: newclosed

Current version of JOSM shows error message "Multipolygon member(s) repeated with same role". Not sure when this was fixed, probably with r11157

comment:3 by Don-vip, 7 years ago

Milestone: 16.12

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.