Country Data Processing: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
No edit summary
Line 46: Line 46:
* click Download Data button
* click Download Data button
* another page will be shown, mark checkboxes
* another page will be shown, mark checkboxes
  * Populated Places (Polygon)
** Populated Places (Polygon)
  * Roads (Line)
** Roads (Line)
  * Rail Roads (Line)
** Rail Roads (Line)
* click Continue
* click Continue
* on new page click Compute Data
* on new page click Compute Data
Line 56: Line 56:


   where <NUMBER> is your filename with data exported by DCW
   where <NUMBER> is your filename with data exported by DCW
* do not hesistate to download data and put it to to ~/grass/indata/uk
* do not hesistate to download data and put it to to ~/grass/indata/uk directory
  directory

Revision as of 11:34, 7 July 2007

This tutorial describes how to

  • find free data of country on Internet
  • create new GRASS location
  • import found data into GRASS
  • create new vector layers from existing data
  • create labels
  • display map of a country

GRASS Installation

Required elements

Create directory structure required for this tutorial

  • dataset directory
  $ mkdir ~/grass
  • input data directory
  $ mkdir ~/grass/indata

Create GRASS location using SPEARFISH data to be able create new locations

  $ cd ~/grass
  $ tar zxf spearfish_grass60data-0.3.tar.gz

Start GRASS

  $ grass -text spearfish60/PERMANENT

Obtaining Data

We assume that one wants to create UK map. Following steps can be easily applied to other countries' data.

Country related GIS data can be obtained from Digital Chart of the World.

First create country related input directory

  $ mkdir ~/grass/indata/uk

Let's download UK data

  • go to Digital Chart of the World
  • click Europe link
  • choose United Kingdom in select box on the right and click Continue
  • page _Digital Chart of the World Layer Interface for United Kingdom_ will be displayed
  • click Download Data button
  • another page will be shown, mark checkboxes
    • Populated Places (Polygon)
    • Roads (Line)
    • Rail Roads (Line)
  • click Continue
  • on new page click Compute Data
  • on new page you will be able to obtain set of data, i.e.
  <NUMBER>.tar.Z
 where <NUMBER> is your filename with data exported by DCW
  • do not hesistate to download data and put it to to ~/grass/indata/uk directory