From 74bd3f2c0503614c0d87f7101668caf8b247098f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 14 Feb 2017 13:38:30 +0100 Subject: parallel und diverse Bezeichnungen neu --- convert | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/convert b/convert index d2bcc39..70a73b3 100755 --- a/convert +++ b/convert @@ -19,6 +19,11 @@ countries=( slovakia slovenia ) +numJobs="$[$(/usr/bin/getconf _NPROCESSORS_ONLN)-2]" +if [ ${numJobs} -lt 1 ] +then + numJobs=1 +fi [ -f "sea.zip" ] || \ wget -nd 'http://osm2.pleiades.uni-wuppertal.de/sea/latest/sea.zip' @@ -64,4 +69,7 @@ done --precomp-sea=sea.zip \ --index \ --gmapsupp \ + --family-name="OpenStreetmap mkgmap" \ + --area-name="parts of europe" \ + --max-jobs="${numJobs}" \ *-latest_dir/6324????.osm.pbf -- cgit v1.2.3-70-g09d2