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 Gowtham
showing 5 of 7
show 2 more comments
|
The source code for Overpass API can be found at GitHub, is this what you are looking for?
@scai no not this, i need the code behind those exe's to which am sending the query.
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.
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.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.
@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 !!
For high level introduction I recommend to take a look at the following Wiki page: http://wiki.openstreetmap.org/wiki/Overpass_API/Technical_details