Combine .img OpenStreetMap files to use in a Garmin GPS

Email this to someoneShare on Google+Share on FacebookTweet about this on TwitterShare on LinkedIn

Problem

You would like to create your own map that includes different tiles and upload it into your Garmin’s SD card.

Solution

  • Make sure that your SD card is formatted with the FAT32 file system and not with the default exFAT that comes as standard in some > 32GB SD cards. There is no limit in the size that your Garmin can read provided is FAT32.
  • In your SD card create a directory called Garmin if it does not exist.
  • Download the latest version of the program mkgmap from here
  • Put all your .img tile files in a directory called my_tiles for example.
  • Go to the directory that you downloaded the mkgmap zip file and extract the files
  • Run the following to combine them all toghether:
  • Rename the resulting image file and upload it to your Garmin SD card inside the Garmin folder

Password protect a pdf file in linux using pdftk

Email this to someoneShare on Google+Share on FacebookTweet about this on TwitterShare on LinkedIn

Problem

You have a pdf file with sensitive information and you want to protect it with a password.

Solution

Install the pdftk if you haven’t already in your system:

And then run the following to prompt for a password before opening the file: