Hi, I made a query that does what I want, http://overpass-turbo.eu/s/e97 but I found no info on how to put in a single to invoke from a script like wget <query>. Any help is welcomed. asked 02 Feb '16, 19:51 davide_ttk aseerel4c26 ♦ |
answered 02 Feb '16, 20:34 RM87 |
You can try to use Overpass API wiki page: [1]: http://wiki.openstreetmap.org/wiki/Overpass_API site page: http://overpass-api.de/ and for a page that explain how to use it from a command line (or in your case from a script) see this page: http://overpass-api.de/command_line.html Please note this two point: 1) the main server has an usage policy (see the wiki page about that) 2) the syntax used by Overpass api may be different from the one used by Overpass Turbo (I am not sure about this, there are two many languages used, I get confused) answered 02 Feb '16, 20:41 AnyFile Thanks AnyFile it was exactly what I needed
(02 Feb '16, 22:20)
davide_ttk
|
Remove comments and newlines. You should get something like this:
Get the encoded string and slap it in wget:
answered 03 Feb '16, 07:09 ivanatora |