On 2 Nov 2008, at 10:58, Jochen Topf wrote:
[..]

I think you'll have to do that until the server is changed to forbid
more than x nodes on ways.

Is there a problem with changing the server code to count the nodes and return an error if there are more than x nodes? I haven't looked at the code but that sounds pretty easy to do. If the server doesn't allow new ways with more than x nodes and we have fixed the existing ways manually
we should be done.

I have added this extra check to the api06 code, with a limit of 2000 nodes in a way.
http://trac.openstreetmap.org/changeset/11639

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.

There may be some changes before this code goes live.

Shaun

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to