Skip to content

Instantly share code, notes, and snippets.

@danbjoseph
Created August 14, 2017 14:38
Show Gist options
  • Save danbjoseph/ba2484712eb083a6d9bfa4053b342164 to your computer and use it in GitHub Desktop.
Save danbjoseph/ba2484712eb083a6d9bfa4053b342164 to your computer and use it in GitHub Desktop.
Loading OSM data to a POSM when the POSM doesn't have a direct connection to the internet
  1. Connect to the internet and download area from export.posm.io
  • For Select Export Formats: choose OSMAnd OBF and OSM PBF
  • File will be name-of-bundle.tar.gz
  1. Place file on desktop
  2. Connect to POSM wifi
  3. In terminal:
  • Navigate to desktop directory in terminal
  • Command to use: scp name-of-bundle.tar.gz root@posm.io:/opt//posm-www
  • Password is posm
  • If you get this error: WARNING: REMOTE HOST IDENTIFACTION HAS CHANGED!
    • You have to delete the POSM lines in your known_hosts file from your computer
    • Easiest way is from Finder select Go, go to folder, and type: ~/.ssh
    • There will be a known_host file, open with a text editor and delete lines mentioning posm
  1. Go to posm.io
  2. For deployments, use the URL: http://posm.io/name-of-bundle.tar.gz and click Activate
  3. Make field papers for your area (triggers MBTiles)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment