Modify

Opened 8 years ago

Closed 4 years ago

#13183 closed defect (duplicate)

building_tools do not remove address points from relation when merging with building

Reported by: wiktorn Owned by: Upliner
Priority: normal Milestone:
Component: Plugin buildings_tools Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Load attached *osm.file
  2. select all buildings and address nodes
  3. Data / merge address points

What is the expected result?

Merged addresses with buildings

What happens instead?

address points are left, exception is thrown

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-07-11 23:04:49 +0200 (Mon, 11 Jul 2016)
Build-Date:2016-07-12 01:31:48
Revision:10526
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10526 en) Windows 10 64-Bit
Memory Usage: 282 MB / 3068 MB (108 MB allocated, but free)
Java version: 9-ea+105-2016-02-11-003336.javare.4433.nc, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.manager, -Djnlp.application.href=https://josm.openstreetmap.de/do<user.name>nload/josm.jnlp, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.vmargs=LURqbmx<user.name>LmF<user.name>cGxpY2F0aW9uLmhyZWY9aHR0cHM6Ly9qb3NtLm9<user.name>ZW5zdHJlZXRtYXAuZGUvZG93bmxvYWQvam9zbS5qbmx<user.name>AC1EamF2YS51dGlsLkFycmF5cy51c2VMZWdhY3lNZXJnZVNvcnQ9dHJ1ZQA, -Djnlpx.jvm=<java.home>\bin\java<user.name>.exe, -Djnlpx.home=<java.home>\bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=%UserProfile%\AppData\Local\Temp\session1290206782200910538, -Djnlpx.heapsize=NULL,NULL, -Djava.security.policy=file:<java.home>\conf\security\java<user.name>s.policy, -DtrustProxy=true, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLo<user.name>\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-450d746e]

Dataset consistency test:
[DELETED REFERENCED] {Relation id=-68 version=0 MVT [way -55, node -35, way -43, node -39]} refers to deleted primitive {Node id=-35 version=0 MVDT lat=52.06602316751,lon=17.99268853243}


Plugins:
- Mapillary (32639)
- apache-commons (32584)
- apache-http (32584)
- buildings_tools (32639)
- ejml (32639)
- jts (32539)
- log4j (32309)
- mbtiles (v2.0-4-g1006305)
- photo_geotagging (32392)
- utilsplugin2 (32584)

Map paint styles:
- https://github.com/bastik/mapcss-tools/ra<user.name>/osm/mapnik2mapcss/osm-results/mapnik.zip

Validator rules:
- https://ra<user.name>.githubusercontent.com/zibik/adresy_<user.name>alidator/master/polskie_adresy.mapcss

Last errors/warnings:
- W: Cannot start IPv6 remotecontrol https server on port 8112: Keystore <user.name>as tampered <user.name>ith, or pass<user.name>ord <user.name>as incorrect
- W: Unable to delete file <josm.cache>\tiles\TMS.key
- W: Unable to delete file <josm.cache>\tiles\TMS.data
- W: Unable to delete file <josm.cache>\tiles\TMS_BLOCK.key
- W: Unable to delete file <josm.cache>\tiles\TMS_BLOCK.data
- W: Unable to delete file <josm.cache>\tiles\TMS_INDEX.key
- W: Unable to delete file <josm.cache>\tiles\TMS_INDEX.data
- W: Unable to delete file <josm.cache>\tiles\TMS_INDEX_v2.key
- W: Unable to delete file <josm.cache>\tiles\TMS_INDEX_v2.data
- E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=-68 version=0 MVT [<user.name>ay -55, node -35, <user.name>ay -43, node -39]}

org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=-68 version=0 MVT [way -55, node -35, way -43, node -39]}
	at org.openstreetmap.josm.data.osm.Relation.checkMembers(Relation.java:509)
	at org.openstreetmap.josm.data.osm.Relation.fireMembersChanged(Relation.java:516)
	at org.openstreetmap.josm.data.osm.Relation.setMembers(Relation.java:63)
	at org.openstreetmap.josm.data.osm.Relation.cloneFrom(Relation.java:231)
	at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:66)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:54)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:52)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:85)
	at buildings_tools.MergeAddrPointsAction.actionPerformed(MergeAddrPointsAction.java:147)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:261)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:369)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:957)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1001)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.awt.Component.processMouseEvent(Component.java:6602)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3323)
	at java.awt.Component.processEvent(Component.java:6367)
	at java.awt.Container.processEvent(Container.java:2259)
	at java.awt.Component.dispatchEventImpl(Component.java:4986)
	at java.awt.Container.dispatchEventImpl(Container.java:2317)
	at java.awt.Component.dispatchEvent(Component.java:4818)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4896)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4474)
	at java.awt.Container.dispatchEventImpl(Container.java:2303)
	at java.awt.Window.dispatchEventImpl(Window.java:2755)
	at java.awt.Component.dispatchEvent(Component.java:4818)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:712)
	at java.awt.EventQueue$3.run(EventQueue.java:706)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:734)
	at java.awt.EventQueue$4.run(EventQueue.java:732)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:731)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)

Attachments (1)

bt_bug.osm (3.6 KB ) - added by wiktorn 8 years ago.

Download all attachments as: .zip

Change History (4)

by wiktorn, 8 years ago

Attachment: bt_bug.osm added

comment:1 by Klumbumbus, 8 years ago

Ticket #14146 has been marked as a duplicate of this ticket.

comment:2 by skyper, 7 years ago

Probably core bug: #7621.

comment:3 by GerdP, 4 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #19864.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Upliner.
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.