[OSM-dev] OSMJS - parse argv

Jochen Topf jochen at remote.org
Wed Nov 30 16:16:36 GMT 2011


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".

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298




More information about the dev mailing list