Hi all, thanks for the responses. I'm actually using bash on my mac here (should've said that originally), so working with curl (should i be?)
I'm definitely communicating with overpass - thanks for the http://overpass-api.de/api/interpreter - but can't seem to send a script succesfully. Even the simple sample taken directly from the tutorial page curl --request GET "http://overpass-api.de/api/interpreter?data=node[name=\ "Gielgen\"];out;" yields: curl: (3) [globbing] error: bad range specification after pos 50 but i'm acutally more interested in sending a file then storing the output (as your examples through wget do) Andrew On Fri, May 17, 2013 at 1:50 PM, Jo <[email protected]> wrote: > wget -O "PT.osm" --post-file="PT.overpass" " > http://overpass-api.de/api/interpreter" > > should do the trick. I used it on Windows, so maybe the parameters for > wget are different on Linux, not sure. > > > Jo > > 2013/5/17 Andrew Salzberg <[email protected]> > >> Hi, >> >> just trying out the overpass API - very happily able to build scripts >> here in overpass turbo that run great (http://overpass-turbo.eu/) but >> wanted to take the next step and a) write a script in text file and b) send >> a request via bash so that ultimately I can write a script to loop this for >> a few cases. >> >> I'm basically an API newb (not just an OSM API newb) so I'm able to do >> things like write a GET request but I'm not sure what the actual address I >> should be putting in my request to overpass is? Try as I might I can't find >> it in here: http://wiki.openstreetmap.org/wiki/Overpass_API I have >> working .txt file with an <osm_script> in it that I'd like to send via bash >> to overpass... if that makes sense. >> >> any help much appreciated. >> >> Andrew >> >> _______________________________________________ >> newbies mailing list >> [email protected] >> http://lists.openstreetmap.org/listinfo/newbies >> >> > > _______________________________________________ > newbies mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/newbies > >
_______________________________________________ newbies mailing list [email protected] http://lists.openstreetmap.org/listinfo/newbies

