[OSM-dev] ROMA servers down - osmosis large way problem

Shaun McDonald shaun at shaunmcdonald.me.uk
Sun Dec 28 20:11:14 GMT 2008


On 28 Dec 2008, at 20:50, Florian Lohoff wrote:

> On Sun, Dec 28, 2008 at 08:25:54PM +0100, Stefan de Konink wrote:
>> So what is the fundamental problem that your tools break on 40k of
>> nodes? Bbox them on the request, and return a partial result that  
>> will
>> work just as good for rendering.
>
> The db schema uses smallint for the node number on the way - so you  
> may
> only address -32768 to +32767 number of nodes on a way - 40k nodes
> is out of scope of a smallint so osmosis breaks on importing the
> changeset.

 From API 0.6 there is a limit of 2,000 nodes in a way.
http://trac.openstreetmap.org/browser/sites/rails_port_branches/api06/app/models/way.rb#L225
and
http://trac.openstreetmap.org/browser/sites/rails_port_branches/api06/config/application.yml#L9

Hopefully someone will fix the way prior to the new api transition.

Shaun





More information about the dev mailing list