/[projects]/misc/osrm-scripts/start-osrm.sh
ViewVC logotype

Diff of /misc/osrm-scripts/start-osrm.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3167 by torben, Wed Dec 14 14:10:47 2016 UTC revision 3170 by torben, Thu Dec 15 19:19:31 2016 UTC
# Line 2  Line 2 
2    
3  # Note  # Note
4  # 3 GB memory (ram+swap) MUST be available when compiling  # 3 GB memory (ram+swap) MUST be available when compiling
5    # This amount is plenty for working with denmark - but more may be required on larger areas
6    #
7    # DATADIR should have 6 GB free space for denmark
8    
9    
10  TAG="v5.4.0"  TAG="v5.5.0"
11  DATADIR=/mnt/qnap/openstreetmap  DATADIR=/mnt/qnap/openstreetmap
12    
13  if [ ! -d "$DATADIR" ] ; then  if [ ! -d "$DATADIR" ] ; then
# Line 57  if [ ! -f $DATADIR/denmark-latest.osrm ] Line 60  if [ ! -f $DATADIR/denmark-latest.osrm ]
60          osrm-extract $DATADIR/denmark-latest.osm || exit          osrm-extract $DATADIR/denmark-latest.osm || exit
61  fi  fi
62    
63  if [ ! -f $DATADIR/denmark-latest.osrm.edges ] ; then  if [ ! -f $DATADIR/denmark-latest.osrm.hsgr ] ; then
64          osrm-prepare $DATADIR/denmark-latest.osrm || exit          osrm-contract $DATADIR/denmark-latest.osrm || exit
65  fi  fi
66    
67  cd $DATADIR  cd $DATADIR

Legend:
Removed from v.3167  
changed lines
  Added in v.3170

  ViewVC Help
Powered by ViewVC 1.1.20