[OSM-dev] 412 Precondition failed and how to recover from it
D Tucny
d at tucny.com
Wed Jul 25 05:04:08 BST 2007
On 25/07/07, Dermot McNally <dermotm at gmail.com> wrote:
>
> The background:
>
> A long and messy edit session involving complex and messy data. I
> thought I managed to clean it up fairly well, but this may prove not
> to be the case. Anyway, on uploading, I get the dreaded 412 error.
>
> The editing is taking place in JOSM (latest, with layers), and I don't
> think Potlatch was in use in the surrounding area. While it's not
> virgin territory, all that was there was unwayed segments. Some I may
> have deleted before the upload, but I can't be sure about this.
>
> I do have a .osm file of my edits, and as I say, the map area where
> this needs to go can easily be cleaned up if that's the cost of
> getting the new stuff into place. My understanding of the message is
> that the data in my .osm file is assuming something about the data on
> server that proves not to be true. I'm happy to prune the offending
> piece away in order to get the rest live, but can anyone offer tips as
> to how I can work out which piece that might be? I suppose I could
> just keep taking half my upload set until I find it, but that could
> take a while...
What console output are you getting from JOSM? It should show which object
it was trying to upload when it got the error which should help you track it
down...
d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070725/dd0797ca/attachment.html>
More information about the dev
mailing list