Overpass API developpement

Text archives Help


[overpass] way not found after download_clone


Chronological Thread 
  • From: marc marc < >
  • To: " " < >
  • Subject: [overpass] way not found after download_clone
  • Date: Sat, 23 Sep 2017 11:29:45 +0000
  • Accept-language: fr-BE, en-US
  • Authentication-results: listes.openstreetmap.fr; dkim=none (message not signed) header.d=none;listes.openstreetmap.fr; dmarc=none action=none header.from=hotmail.com;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hello,

I have run download_clone to create a attic db
It run without any error (starting 22/9 ~16h30 UTC finished 23/9 ~7h30).
I then launched diff process with a change in fetch_osc_and_apply.sh
to update by reduced number of diff and to add minor log improvement
< while [[ ( -s "$TEMP_SOURCE_DIR/$TARGET_FILE.state.txt" ) && (
$(($START + 1440)) -ge $(($TARGET)) ) && ( `du -m "$TEMP_TARGET_DIR" |
awk '{ print $1; }'` -le 64 ) ]];
> while [[ ( -s "$TEMP_SOURCE_DIR/$TARGET_FILE.state.txt" ) && (
$(($START + 10)) -ge $(($TARGET)) ) && ( `du -m "$TEMP_TARGET_DIR" | awk
'{ print $1; }'` -le 5 ) ]];

1st update was ok
2017-09-23 09:33:13: current replicate_id is 2632939
2017-09-23 09:33:15: diff found and downloaded. updating to replicate_id
2632950
2017-09-23 09:35:08: update complete 2632950

2nd not
2017-09-23 09:35:08: current replicate_id is 2632950
2017-09-23 09:35:10: diff found and downloaded. updating to replicate_id
2632961
Reading XML file ... finished reading nodes. Flushing to database ......
done.
Reading XML file ... finished reading ways. Flushing to database ......
done.
Reading XML file ... finished reading relations. Way 526615193 used in
relation 2537567 not found.
Way 526615192 used in relation 2537567 not found.
This way was create on 22/9 1h29, before I run clone_update
so it seems to be a bug in download_clone (missing objects or
replicate_id inconsistent with the data sent)

a few updates later, fatal error
terminate called after throwing an instance of 'std::logic_error'
what(): Bad geometry for way 458303501

I have the full log if needed.

Regards,
Marc



Archive powered by MHonArc 2.6.19+.

Top of page