[OSM-dev] [OSM-newbies] 412 precondition failed deleting nodes

Tom Hughes tom at compton.nu
Sat Sep 29 10:26:59 BST 2007

In message <427adff80709281953o732351f8i1b4f4d11f4e9e0a6 at mail.gmail.com>
          "Robert Hart" <bathterror at gmail.com> wrote:

> On 28/09/2007, Ted Mielczarek <ted at mielczarek.org> wrote:
> > On 9/28/07, Robert Hart <bathterror at gmail.com> wrote:
> > > Try clearing out JOSM (e.g. restart) and then download again. You'll
> > > probably find something has changed in that area, and at least one of
> > > those nodes has in fact been deleted already.
> >
> > I've tried that with no success, same results.  Any other ideas?
> It's only one of the nodes that's causing the problem. This kind of
> thing does sometimes happen and the only way is for somebody with the
> appropriate access to go into the database and delete it. Tom/SteveC
> can you help?
> This happened to me a few times with really old ways that had a
> history that disagreed with the current version. That doesn't seem to
> be the case this time.
> <osm version="0.4" generator="OpenStreetMap server">
> <node id="59745274" lat="40.6994632" lon="-75.4788465" user="Ted
> Mielczarek" visible="true" timestamp="2007-09-25T14:35:06+01:00"/>
> <node id="59745274" lat="40.6994632" lon="-75.4788465" user="Rob"
> visible="true" timestamp="2007-09-29T03:44:43+01:00">
> <tag k="note" v="DELETE"/>
> </node>
> </osm>

That node is still in use by segment 57038992 which is why you can't
delete it.

That segment won't be returned by a map call however as it's other
endpoint (node 59745275) has somehow been deleted - in fact it was
deleted by Ted a few days ago.

Ted - do you have any idea if that delete will have been done with
Potlatch or with Josm? Only you shouldn't have been able to delete
it while it was still in use so it looks like we have a bug somewhere.

I've deleted both the bogus segment and the troublesome node now


Tom Hughes (tom at compton.nu)

More information about the dev mailing list