Skip to content

Instantly share code, notes, and snippets.

@ingenieroariel
Forked from anonymous/notes.txt
Last active October 13, 2015 05:44
Show Gist options
  • Save ingenieroariel/4a29ee467414362e4c38 to your computer and use it in GitHub Desktop.
Save ingenieroariel/4a29ee467414362e4c38 to your computer and use it in GitHub Desktop.
Geodash training notes
  1. Open terminal: Look for terminal in the menu

  2. Check the date

date
  1. Create a folder called 'code'
mkdir code
ls
  1. Go into the folder and check that it is empty
cd code
ls
  1. Check that make is installed
make
  1. Create a new makefile
gedit Makefile
  1. Put a sample task in the makefile
tellmethedate:
       date
  1. Download data from OpenStreetMap for Bangladesh
bangladesh.pbf:
    curl -o $@ 'http://download.geofabrik.de/asia/bangladesh-latest.osm.pbf'
  1. Install QGIS in order to open the file
sudo apt-get install qgis
  1. This file is too big, we have to make it smaller first before being able to open it in QGIS
sudo apt-get install openjdk-7-jre
wget http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.zip
  1. Unzip osmosis
mkdir osmosis
cd osmosis
unzip ../osmosis-latest.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment