I am using overpass api in my local machine,and the source folder contains only executable files(Especially cgi-bin/interpreter.exe and bin/osm3s_query.exe), All i want to know is how these exe's work in querying my request.

Summary of what i want to know : the code in those exe's,how it's able to query in the $DB_DIR :)

asked 12 Jan '16, 11:38

Arun%20Gowtham's gravatar image

Arun Gowtham
accept rate: 0%

The source code for Overpass API can be found at GitHub, is this what you are looking for?

(12 Jan '16, 11:46) scai ♦

@scai no not this, i need the code behind those exe's to which am sending the query.

(12 Jan '16, 11:48) Arun Gowtham

These binaries are build using the code I mentioned above. osm3s_query.exe is build from osm3s_query.cc. However I couldn't the source for interpreter.exe probably due to some Makefile magic.

(12 Jan '16, 12:16) scai ♦

The interpreter binary is being built based on the following Makefile.am snippet: https://github.com/drolbr/Overpass-API/blob/master/src/Makefile.am#L137-L138 - apart from that there's really very little information available about the inner workings. It's all about: use the force, read the source and ask some questions on the Overpass Dev list if you're stuck.

(12 Jan '16, 15:05) mmd

One thing I forgot: maybe should mention what kind of issue you're trying to solve in the first place. That could save you some days or even weeks of digging through the sources.

(12 Jan '16, 15:11) mmd

@mmd am not facing any issue,i just wanted to know how interpreter is processing my input i.e how is my query executed on a directory($DB_DIR) rather than a database !!

(13 Jan '16, 03:57) Arun Gowtham

For high level introduction I recommend to take a look at the following Wiki page: http://wiki.openstreetmap.org/wiki/Overpass_API/Technical_details

(13 Jan '16, 14:40) mmd
showing 5 of 7 show 2 more comments
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 12 Jan '16, 11:38

question was seen: 2,276 times

last updated: 13 Jan '16, 14:40

powered by OSQA