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

Jason Reid osm at bowvalleytechnologies.com
Sun Dec 28 23:38:32 GMT 2008


Shaun McDonald wrote:
> 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
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>   
There are actually a number of ways that are excessively too large 
currently, many of the largest are geopolitical boundaries from the 
Geobase import (the import was 162,000 nodes in around 500 ways). We've 
been discussing how to reduce them into more manageable chunks over on 
talk-ca. So they will all be under the limit by the time the transition 
happens.

-Jason Reid




More information about the dev mailing list