<br><div><span class="gmail_quote">On 19/03/07, <b class="gmail_sendername">Frederik Ramm</b> <<a href="mailto:frederik@remote.org">frederik@remote.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br> > I've just run into a problem with duplicate data on an area I'm<br>working on.<br> > I just noticed when I tried to move a node in JOSM which revealed a way<br> > including nodes an segments underneath those that were moved. I'm
<br>guessing<br> > that maybe this has come about following a failed upload from within<br>JOSM,<br> > it's happened once or twice when the connection to the server as<br>dropped. My<br> > question is... Is there any way to easily find this duplicate information
<br> > and preferably clean it up too? By easily I mean without having to<br>manually<br> > go through an OSM dump or try moving hundreds nodes to see if anything<br> > appears underneath them in JOSM...<br><br>Download the area in question, and run maplint on it (see
<br><a href="http://wiki.openstreetmap.org/index.php/Maplint">http://wiki.openstreetmap.org/index.php/Maplint</a>). This will light up<br>problems like duplicate nodes or ways.<br><br>Then manually correct the problems in JOSM. There is one cool feature in
<br>JOSM which I haven'T fully understood yet. If you select, using the<br>rectangle selection tool, a number of nodes/segments that are part of a<br>way, and then hit the delete button, JOSM will *not* delete the selected
<br>items, but only those that are duplicates. (Try for yourself, create<br>three nodes at the same spot, connect one node to something else,<br>rectangle-select them, click delete - only the unconnected ones are<br>deleted.) It is probably not really meant to be a feature but a side
<br>effect, but it works pretty well for such situations. If, however, your<br>selection contains a full way with all its nodes and segments,<br>everything is deleted. (Use Undo then.)<br><br>I know you had hoped for something easier but that's the best I can come
<br>up with.</blockquote><div><br>Well, thanks for that, I've run maplint and it's showing me that 30 nodes are duplicated, which isn't so bad to deal with manually, and has shown me where they are... So, I'm fixing that now...
<br><br>Thanks!<br><br>D<br></div><br></div>