[OSM-dev] OSMJS - parse argv
Martijn van Exel
m at rtijn.org
Wed Nov 30 16:29:34 GMT 2011
On Wed, Nov 30, 2011 at 9:16 AM, Jochen Topf <jochen at remote.org> wrote:
> Hi!
>
> On Wed, Nov 30, 2011 at 09:03:45AM -0700, Martijn van Exel wrote:
>> Against my better judgement I am wondering whether osmjs can pass
>> argvals to the JS script. I need to process a number of OSM data files
>> and I want the output files generated by OSMJS to have unique names
>> based on the input file.
>
> All extra arguments from the command line are available in the global
> Javascript array named "argv".
>
Thanks, you just saved me some boring work.
Martijn
--
martijn van exel
geospatial omnivore
1109 1st ave #2
salt lake city, ut 84103
801-550-5815
http://oegeo.wordpress.com
More information about the dev
mailing list