[Imports] (Estonia) Maa-amet building geometry update

Fghj753 fghj753 at hot.ee
Tue Jun 1 19:20:15 UTC 2021


I had tried looking up ways sharing a node using overpass, but it was slower than using local OSM API. (FYI, editing API has feature to look up ways referencing a node.) Potential alternative is to set up two connections to two APIs - one to public api for writing and other to local instance for reading. Later needs to be as up to date version as possible to prevent editing conflicts.

Rural area is just where I started. Focus of the import is the largest city in country and its suburbs.

1. juuni 2021 21:09 kirjutas kuupäeval Mike N <niceman at att.net>:
>
> On 6/1/2021 1:48 PM, fghj753 wrote:
> > I’ve ran the script in few short batches updating live data and modified 
> > about 180 first buildings. 
> > https://www.openstreetmap.org/user/fghj753_import/history 
> > <https://www.openstreetmap.org/user/fghj753_import/history>
> > 
> > There were however some worrying log lines 'Remote end closed connection 
> > without response' which i believe were caused by too frequent NodeWays 
> > API requests (in order to prevent editing unrelated ways). I think 
> > setting 0.1 sec delay before every node query might help to mitigate the 
> > error. This would make whole script run time 5-6h longer.
>
>    Since there are so many nodes involved and this is a rural area, it 
> may be faster to fetch all data in a bounding box and work from that to 
> prevent triggering an Overpass rate limiter.
>
> _______________________________________________
> Imports mailing list
> Imports at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/imports


More information about the Imports mailing list