Skip to Content.
Sympa Menu

overpass - Re: [overpass] error after history import

Subject: Overpass API developpement

List archive

Re: [overpass] error after history import


Chronological Thread 
  • From: michael spreng <>
  • To:
  • Subject: Re: [overpass] error after history import
  • Date: Wed, 4 Nov 2015 21:26:44 +0100

On 04/11/15 07:43, Roland Olbricht wrote:
> Hi
>
> > I havn't seen an error during import. So before I blindly rerun the
> > import, what could have caused this error or is it fixable?
>
> The answer from mmd is essentially right. However, for smaller
> extracts there might be a workaround:
>
> You can edit the script that does the call to update_database and add
> --flush-size=0
I tried it with this parameter. Now I get the following error during
initial import

terminate called after throwing an instance of 'std::logic_error'
what(): Bad geometry for way 3847631

I guess something is missing from the history dump?

Michael

p.s.: further details

command line used: osmconvert switzerland-padded-softcut.osh.pbf
--out-osc | sudo -u overpass update_database --db-dir=overpass.osm.ch/db
--meta --keep-attic --flush-size=0

There are lots of warnings printed of the form
Version 3 has a later or equal timestamp (2014-05-25T18:17:32Z) than
version 3 (2014-05-24T07:44:17Z) of Node 2757540816





Archive powered by MHonArc 2.6.18.

Top of Page