Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.9 KB

create_maps.md

File metadata and controls

41 lines (26 loc) · 1.9 KB

Way1: Simple start the script

  • You can simple start the script import_maps_paul.sh of directory mapGenerator/
  • Possibly you have to install some tools --> look at the header of script file.

Way2: Step by step

read from source: (graphhopper)

  • Download the raw openstreetmapOpenStreetMap Data Extracts file - to create the routing data
    • Execute ./graphhopper.sh import . This creates the routing data
  • Download a map e.g. berlin.map Mapsforge .map Download Server
  • Copy berlin.map into the created berlin-gh folder
  • Optional Compression Step: Bundle a graphhopper zip file via cd berlin-gh; zip -r berlin.ghz *
  • Now copy the berlin-gh folder from step 4 (or the .ghz file from step 5) to your Android device.
    • /[download-folder]/graphhopper/maps, where the download-folder can e.g. be /mnt/sdcard/download or /storage/sdcard/Download/ - e.g. use SSHDroid: scp -P 2222 berlin.ghz root@$URL:/mnt/sdcard/download/graphhopper/maps/

for the current version please use graphhoper 0.9.0 with 'car, foot and bike' to generate maps

add this line to your graphhoper/config.properties to enable 'car, foot and bike':

 graph.flagEncoders=car,foot,bike

Way 3: Download maps

Maps sources

  • This server has data extracts from the OpenStreetMap project which are normally updated every day.