Skip to Content.
Sympa Menu

overpass - Re: [overpass] Overpass API Area Creation in a Custom Server

Subject: Overpass API developpement

List archive

Re: [overpass] Overpass API Area Creation in a Custom Server


Chronological Thread 
  • From: Sameera Bandara <>
  • To:
  • Subject: Re: [overpass] Overpass API Area Creation in a Custom Server
  • Date: Tue, 23 Jul 2019 17:12:37 +0200
  • Authentication-results: postout.lrz.de (amavisd-new); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=tum.de

Hi Yann,

Thank you very much for the reply. I issued an area query and I am getting below error.

{
  • version0.6,
  • generator"Overpass API 0.7.55.7 8b86ff77",
  • osm3s
    {
    • timestamp_osm_base"",
    • copyright"The data included in this document is from www.openstreetmap.org. The data is made available under ODbL."
    },
  • elements: [ ],
  • remark"runtime error: open64: 2 No such file or directory /data/osm/osm-3s_v0.7.55/bin/database_dir/areas.bin File_Blocks::File_Blocks::1"
}

In fact, there is no such directory areas.bin created yet. So I think the rules loop is having some issues :(

kind regards,
Sameera


On Tue, 23 Jul 2019 at 16:10, yann Guillerm <> wrote:
hi !

as far as i have understood, the rules loop process is looping forever BUT after a while all the area are created  (less than 2 hours for French country for example).

On my server, to known when it's ready i make a request using area on multiple point of the map : 
  - if the request is not correct it's means that the area are note yet created.

hope this helps.

Yann.

Hello everyone,

I am trying to host my own OSM Overpass server for my master thesis research.
I downloaded the database with attic data and could successfully complete the
installation up to setting up the Web API. Until this point everything works
fine.

I would also like to setup the areas in the database, so I could query data by
an area. I started the area creation process two days ago, which is still
running. Is it normal to run it for two days (the official documentation says
it would take up to 24 hours).  I included some details I though might
relevant to this case

=================================================================================

These are my installation directories

$DB_DIR = /data/osm/osm-3s_v0.7.55/bin/database_dir
$EXEC_DIR = /data/osm/osm-3s_v0.7.55/

The command I ran for area creation is

nohup /data/osm/osm-3s_v0.7.55/bin/rules_loop.sh /data/osm/osm-3s_v0.7.55/bin/
database_dir &

output of ps -ef | grep rules

sameera   9990  9961  0 Jul21 pts/0    00:01:47 bash /data/osm/osm-3s_v0.7.55/
bin/rules_loop.sh /data/osm/osm-3s_v0.7.55/bin/database_dir
sameera  21333  9961  0 13:38 pts/0    00:00:00 grep --color=auto rules

Any help is appreciated.
Thank you very much

kind regards,
Sameera



Archive powered by MHonArc 2.6.19+.

Top of Page