File: create.sh

package info (click to toggle)
routino 3.4.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,196 kB
  • sloc: ansic: 22,554; javascript: 7,897; xml: 5,980; perl: 2,597; cs: 921; makefile: 826; sh: 503; cpp: 382; python: 376
file content (20 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh -x

# This script can download from the GeoFabrik server.


# EDIT THIS to set the names of the files to download from GeoFabrik.
files="europe/great-britain-latest.osm.bz2 europe/ireland-and-northern-ireland-latest.osm.bz2"
server="download.geofabrik.de"


# Download the files

for file in $files; do
   wget -N http://$server/$file
done


# Process the data

../bin/planetsplitter --errorlog *.osm.bz2