[OSM-dev] Ways with 40k nodes, was: osmosis pgsql schema

SteveC steve at asklater.com
Mon Nov 3 03:16:59 GMT 2008


On 31 Oct 2008, at 04:07, Dave Stubbs wrote:

> On Fri, Oct 31, 2008 at 10:44 AM, Frederik Ramm  
> <frederik at remote.org> wrote:
>> Hi,
>>
>> Florian Lohoff wrote:
>>> Its 2^15 because it signed - and yes - somebody managed to get  
>>> abovE:
>>
>> This definitely has to stop. We need to (a) find all ways with more  
>> than
>> a few thousand nodes and break them down, and (b) educate users that
>> they shouldn't do such evil things. Imagine the poor sod who opens a
>> little rectangle in JOSM just to find he has to wait for ages to
>> download 40k nodes! This slows down so many things.
>>
>> (And what's more, once someone creates a way with 50.001 nodes, no
>> bounding box containing even one node of that way will be  
>> downloadable
>> through the API.)
>>
>> I know that shortcomings in the renderers still make it attractive  
>> for
>> mappers to create giant polygons but we cannot allow this to get  
>> out of
>> hand.
>
>
> I'm all for an API hard limit of 1000 nodes in a way. That wouldn't
> impact any normal stuff, but would put a stop to megaways pretty
> quickly without the need for a re-education programme :-)

I agree, and I think it's awesome we have this problem - better having  
people stretching the API than not using it.

>
>
> Dave
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>

Best

Steve





More information about the dev mailing list