<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 2 Nov 2008, at 10:58, Jochen Topf wrote:</div><blockquote type="cite"><div><blockquote type="cite"><font class="Apple-style-span" color="#000000">[..]</font></blockquote><br>I think you'll have to do that until the server is changed to forbid<br>more than x nodes on ways.<br><br>Is there a problem with changing the server code to count the nodes and<br>return an error if there are more than x nodes? I haven't looked at the<br>code but that sounds pretty easy to do. If the server doesn't allow new<br>ways with more than x nodes and we have fixed the existing ways manually<br>we should be done.</div></blockquote><div><br></div><div>I have added this extra check to the api06 code, with a limit of 2000 nodes in a way.</div><div><a href="http://trac.openstreetmap.org/changeset/11639">http://trac.openstreetmap.org/changeset/11639</a></div><div><br></div><div>Editors can use the capabilities api call to get the maximum number of nodes that can be put in a way, so that they can prevent the creation of any such ways prior to upload.</div><div><br></div><div>There may be some changes before this code goes live.</div><div><br></div><div>Shaun</div><div><br></div></div></body></html>