Hi Russell,
On 23 May 2007, at 15:05, Russell Phillips wrote:

> I'm having trouble uploading some data from JOSM. Every time I try to
> upload, it gets to segment new (0), then stops with a 500 error  
> from the
> server.
>
> If I make more modifications so that other things are in the queue  
> to be
> uploaded first, they get uploaded OK, then it stops at that segment.
>
> I'd like to remove the offending segment from the .osm file, but I  
> can't
> work out how. I've put the file here:
> http://www.phillipsuk.org/tmp/data.osm
>
> If someone could tell me how to remove the segment, or do it for me  
> then
> e-mail me the modified file, I'd be very grateful.

All nodes/segments/ways that are going to be uploaded have action='<?? 
 >', where <??> is modify, create or delete. (not sure if create and  
delete are the names that actually get used).

All you do is remove the specific tag from the XML.
For example, if
"
<node id='26681450' action='modify' timestamp='2007-03-22 13:48:22'  
user='avantman42' visible='true' lat='53.046814115739096'  
lon='-2.19194930144571'>
     <tag k='created_by' v='JOSM' />
   </node>
"
is causing the problem, you would remove everything that is inside  
the quotes (excluding the quotes).

You do this in a standard plain text editor.

If you start JOSM through the command line it will tell you the node  
id that is causing the problem in the std output. Maybe we should  
have a console for that, so that you don't need to start JOSM  
manually, or JOSM could tell you the specific id of the item that has  
the problem.

Shaun


_______________________________________________
Talk-GB mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk-gb

Reply via email to