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

