[OSM-talk] Relation 412 errors

2008-03-20 Thread Ben Laenen
Hi all,

I keep having 412 errors when trying to modify a certain route relation 
(id=3964, runs from Antwerp to the Netherlands in Belgium). It's quite 
a long route relation so I don't immediately see where the problem is, 
just the 412 error on the terminal (which JOSM doesn't detect btw, it 
thinks it uploaded successfully).

Point is, since I can't modify the relation, I can't modify a highway 
intersection where this route relation passes (because one can't delete 
ways belonging to a relation, which also gives a 412 error when you try 
to do that), and now have this quite broken intersection as a result.

Therefore this question: is there some way to get more info from the 
server about the specific nature of this problem?

Some weeks ago, I had a similar issue btw, I was trying to add a way to 
a relation which would always give a 412 error from the server. In the 
end I deleted that way and replaced it with a new way and added that 
one, which worked (still no idea what was wrong with that way though, 
it looked good), but then I at least knew what specific way gave this 
problem, I can't possible check each specific way in a route which runs 
for 100km.

Greetings
Ben

PS: is there any work being done into finally properly supporting route 
relations in the editors? It still randomly happens now and then that 
routes get broken because an editor lets a user split or join roads 
with relations on them.

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Relation 412 errors

2008-03-20 Thread Frederik Ramm
Hi,

 I keep having 412 errors when trying to modify a certain route  
 relation
 (id=3964, runs from Antwerp to the Netherlands in Belgium).

Possibly an object referenced by that relation got deleted somehow  
and now you can't upload changes as that would refer to a deleted  
object. Shouldn't happen, I'll investigate later today.

 Therefore this question: is there some way to get more info from the
 server about the specific nature of this problem?

Not currently.

 PS: is there any work being done into finally properly supporting  
 route
 relations in the editors? It still randomly happens now and then that
 routes get broken because an editor lets a user split or join roads
 with relations on them.

I have ideas how to handle this in JOSM but haven't done anything  
about them yet. For Potlatch, I think I read that there's a pending  
0.8 release that works with (certain types of) relations.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail [EMAIL PROTECTED]  ##  N49°00'09 E008°23'33




___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Relation 412 errors

2008-03-20 Thread Richard Fairhurst
Frederik Ramm wrote:

 PS: is there any work being done into finally properly supporting
 route
 relations in the editors? It still randomly happens now and then that
 routes get broken because an editor lets a user split or join roads
 with relations on them.

 I have ideas how to handle this in JOSM but haven't done anything
 about them yet. For Potlatch, I think I read that there's a pending
 0.8 release that works with (certain types of) relations.

Yep, Potlatch 0.8 has good relations support (thanks to Dave Stubbs)  
and should be available as soon as TomH returns and can deploy it.

It's worth pointing out that Potlatch will never _forbid_ you from  
joining or splitting a way because of any properties of that way.  
Popping up an alert saying You can't do that due to some weird data- 
model magic that you probably don't understand is bad UI. The design  
philosophy is, rather, to make it clear what you've done.

cheers
Richard

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Relation 412 errors

2008-03-20 Thread Frederik Ramm
Hi,

 Popping up an alert saying You can't do that due to some weird data- 
 model magic that you probably don't understand is bad UI. The design  
 philosophy is, rather, to make it clear what you've done.

... and THEN pop up an alert saying ouch, look what you've DONE! ;-)

Bye
Frederik

-- 
Frederik Ramm  ##  eMail [EMAIL PROTECTED]  ##  N49°00'09 E008°23'33


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk