All pastes #1521674 Raw Edit

getosm.pl

public text v1 · immutable
#1521674 ·published 2009-08-08 08:38 UTC
rendered paste body
# launcher for splitter for kosovo
# runs wget and the post processor
# copyright 2009 James Michael DuPont h4ck3rm1k3@flossk.org
# license agpl 3.0

my $url =shift @ARGV;
my $out = shift @ARGV;
my $id = $out;
print "url is $url ";
system "wget $url -O parts/part_${id}.osm";

# commented out the post processing for now.
# system "perl mergenames.pl parts/part_${id}.osm";