[OSM-dev] HEADS UP osmosis pgsql schema users Was: psql osmosis simple shema / smallint out of range
Andy Allan
gravitystorm at gmail.com
Mon Nov 3 09:50:30 GMT 2008
On Mon, Nov 3, 2008 at 12:17 AM, Shaun McDonald
<shaun at shaunmcdonald.me.uk> wrote:
>
> 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.
Should we restrict the maximum number of relations|ways|nodes that can
be *direct* members of a relation? I don't mind cascading relations,
but 39000 direct members of a single relation might casue issues too.
Open to discussion.
Cheers,
Andy
More information about the dev
mailing list