Subject: Overpass API developpement
List archive
- From: Sameera Bandara <>
- To: Roland Olbricht <>
- Cc:
- Subject: Re: [overpass] Overpass API Area Creation in a Custom Server
- Date: Thu, 25 Jul 2019 08:12:13 +0200
- Authentication-results: postout.lrz.de (amavisd-new); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=tum.de
/data/osm/osm-3s_v0.7.55/bin/rules_loop.sh: line 40: /data/osm/osm-3s_v0.7.55/bin//data/osm/osm-3s_v0.7.55/bin/database_dir/rules_loop.log: No such file or directory
/data/osm/osm-3s_v0.7.55/bin/rules_loop.sh: line 41: /data/osm/osm-3s_v0.7.55/bin//data/osm/osm-3s_v0.7.55/bin/database_dir/rules/areas.osm3s: No such file or directory
/data/osm/osm-3s_v0.7.55/bin/rules_loop.sh: line 42: /data/osm/osm-3s_v0.7.55/bin//data/osm/osm-3s_v0.7.55/bin/database_dir/rules_loop.log: No such file or directory
Now the areas are populated and I can issue queries for areas and get results, however the log says the query was timed-out. And it ran exactly 24 hours.
After 23h59m3s: in "make-area", part 0, on line 257. Stack: 0 of 0 8442756 of 0
After 23h59m18s: in "recurse", part 0, on line 255. Stack: 0 of 0 8445531 of 0 0 of 0
After 23h59m33s: in "recurse", part 0, on line 255. Stack: 0 of 0 8447843 of 0 0 of 0
After 23h59m48s: in "make-area", part 0, on line 257. Stack: 0 of 0 8450335 of 0
After 24h0m1s: in "make-area", part 0, on line 257. Stack: 0 of 0 8452832 of 0
</osm>
runtime error: Query timed out in "make-area" at line 257 after 86401 seconds.
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="Overpass API 0.7.55.7 8b86ff77">
<note>The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.</note>
<meta osm_base=""/>
Hi Sameera,
could you please check what the file nohup.out contains. There should be error messages there.
As a blind guess, please try the following:
- Stop the rules_loop.sh process, e.g. by "kill 9990".
- Edit the file /data/osm/osm-3s_v0.7.55/bin/rules_loop.sh:
replace there the line
DB_DIR="`pwd`/$1"
with
DB_DIR="$1"
- Restart the process, i.e. run the command again please.
I coincidentally ran on the Russian instance into the problem that the script fails if its argument is an absolute path because of that line.
Kind regards,
Roland
- [overpass] Overpass API Area Creation in a Custom Server, sameera.palage, 07/23/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, yann Guillerm, 07/23/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, Sameera Bandara, 07/23/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, Roland Olbricht, 07/24/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, Sameera Bandara, 07/25/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, yann Guillerm, 07/25/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, Sameera Bandara, 07/25/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, yann Guillerm, 07/25/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, Sameera Bandara, 07/25/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, Roland Olbricht, 07/24/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, Sameera Bandara, 07/23/2019
- Re: [overpass] Overpass API Area Creation in a Custom Server, yann Guillerm, 07/23/2019
Archive powered by MHonArc 2.6.19+.