#!/bin/bash

# get latest planet data from OSM



for country in great_britain    #  germany belgium  france  netherlands denmark
do

mv $country.osm.bz2 $country.old.osm.bz2
url=http://download.geofabrik.de/osm/europe/${country}.osm.bz2
wget $url

done

exit


for country in belgium denmark united_kingdom  france germany netherlands
do

mv $country.osm.bz2 $country.old.osm.bz2
url=http://downloads.cloudmade.com/europe/${country}/${country}.osm.bz2
wget $url

done
