[OSM-dev] HEADS UP osmosis pgsql schema users Was: psql osmosis simple shema / smallint out of range
Shaun McDonald
shaun at shaunmcdonald.me.uk
Mon Nov 3 00:17:29 GMT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20081103/b2f101cc/attachment.html>
More information about the dev
mailing list