<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://grasswiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=%E2%9A%A0%EF%B8%8FMartii</id>
	<title>GRASS-Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://grasswiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=%E2%9A%A0%EF%B8%8FMartii"/>
	<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/wiki/Special:Contributions/%E2%9A%A0%EF%B8%8FMartii"/>
	<updated>2026-05-25T21:19:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Country_Data_Processing&amp;diff=4404</id>
		<title>Country Data Processing</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Country_Data_Processing&amp;diff=4404"/>
		<updated>2007-07-07T12:10:58Z</updated>

		<summary type="html">&lt;p&gt;⚠️Martii: /* Creating New Location */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial describes how to&lt;br /&gt;
* find free data of country on Internet&lt;br /&gt;
* create new GRASS location&lt;br /&gt;
* import found data into GRASS&lt;br /&gt;
* create new vector layers from existing data&lt;br /&gt;
* create labels&lt;br /&gt;
* display map of a country&lt;br /&gt;
&lt;br /&gt;
= GRASS Installation =&lt;br /&gt;
Required elements&lt;br /&gt;
* GRASS GIS system installed&lt;br /&gt;
* download SPEARFISH data http://grass.itc.it/sampledata/spearfish_grass60data-0.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
Create directory structure required for this tutorial&lt;br /&gt;
* dataset directory&lt;br /&gt;
   $ mkdir ~/grass&lt;br /&gt;
* input data directory&lt;br /&gt;
   $ mkdir ~/grass/indata&lt;br /&gt;
&lt;br /&gt;
Create GRASS location using SPEARFISH data to be able create new locations&lt;br /&gt;
   &lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ tar zxf spearfish_grass60data-0.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
Start GRASS&lt;br /&gt;
&lt;br /&gt;
   $ grass -text spearfish60/PERMANENT&lt;br /&gt;
&lt;br /&gt;
= Obtaining Data =&lt;br /&gt;
&lt;br /&gt;
We assume that one wants to create UK map. Following steps can be easily&lt;br /&gt;
applied to other countries' data.&lt;br /&gt;
&lt;br /&gt;
Country related GIS data can be obtained from&lt;br /&gt;
[http://www.maproom.psu.edu/dcw/ Digital Chart of the World].&lt;br /&gt;
&lt;br /&gt;
First create country related input directory&lt;br /&gt;
&lt;br /&gt;
   $ mkdir ~/grass/indata/uk&lt;br /&gt;
&lt;br /&gt;
Let's download UK data&lt;br /&gt;
* go to [http://www.maproom.psu.edu/dcw/ Digital Chart of the World]&lt;br /&gt;
* click Europe link&lt;br /&gt;
* choose United Kingdom in select box on the right and click Continue&lt;br /&gt;
* page _Digital Chart of the World Layer Interface for United Kingdom_ will be displayed&lt;br /&gt;
* click Download Data button&lt;br /&gt;
* another page will be shown, mark checkboxes&lt;br /&gt;
** Populated Places (Polygon)&lt;br /&gt;
** Roads (Line)&lt;br /&gt;
** Rail Roads (Line)&lt;br /&gt;
* click Continue&lt;br /&gt;
* on new page click Compute Data&lt;br /&gt;
* on new page you will be able to obtain set of data (&amp;lt;NUMBER&amp;gt; is part of filename with data exported by DCW)&lt;br /&gt;
   &amp;lt;NUMBER&amp;gt;.tar.Z&lt;br /&gt;
* do not hesistate to download data into ~/grass/indata/uk directory&lt;br /&gt;
&lt;br /&gt;
= Importing Data =&lt;br /&gt;
Importing data into GRASS is two fold step&lt;br /&gt;
* create new location with one piece of data&lt;br /&gt;
* import remaining data&lt;br /&gt;
&lt;br /&gt;
== Creating New Location ==&lt;br /&gt;
One can create new location using another location. We will use SPEARFISH location&lt;br /&gt;
to create UK location.&lt;br /&gt;
&lt;br /&gt;
Start GRASS&lt;br /&gt;
&lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ grass62 -text spearfish60/PERMANENT (you need grass 6.2.x for this to work)&lt;br /&gt;
&lt;br /&gt;
Enter UK input data directory and unpack downloaded data from DCW&lt;br /&gt;
&lt;br /&gt;
   $ cd indata/uk&lt;br /&gt;
   $ tar zxf &amp;lt;NUMBER&amp;gt;.tar.Z&lt;br /&gt;
&lt;br /&gt;
You will have several files&lt;br /&gt;
;ponet.e00:  country borders&lt;br /&gt;
;pppoly.e00: populated places&lt;br /&gt;
;rdline.e00: road network&lt;br /&gt;
;rrline.e00: rail road network&lt;br /&gt;
&lt;br /&gt;
We will create UK GRASS location using country borders. In SPEARFISH GRASS session&lt;br /&gt;
use following commands to create location uk and layer borders&lt;br /&gt;
&lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ v.in.ogr dsn=indata/uk/ponet.e00 layer=ARC output=borders location=uk&lt;br /&gt;
&lt;br /&gt;
New location is created. Exit SPEARFISH GRASS session and start GRASS UK session&lt;br /&gt;
&lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ grass62 -text uk/PERMANENT&lt;br /&gt;
&lt;br /&gt;
You can display UK borders&lt;br /&gt;
&lt;br /&gt;
   $ g.region vect=borders    # set region to display&lt;br /&gt;
   $ d.mon x0                 # create GRASS monitor&lt;br /&gt;
   $ d.vect map=borders       # display borders&lt;br /&gt;
&lt;br /&gt;
== Importing Rest of the Data ==&lt;br /&gt;
&lt;br /&gt;
Having GRASS UK location we can import rest of the data (population places,&lt;br /&gt;
road and rail networks)&lt;br /&gt;
&lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ grass -text uk/PERMANENT&lt;br /&gt;
   $ v.in.ogr dsn=indata/uk/pppoly.e00 layer=ARC output=pcities&lt;br /&gt;
   $ v.in.ogr dsn=indata/uk/rdline.e00 layer=ARC output=roads&lt;br /&gt;
   $ v.in.ogr dsn=indata/uk/rrline.e00 layer=ARC output=rails&lt;br /&gt;
&lt;br /&gt;
Display data&lt;br /&gt;
&lt;br /&gt;
   $ d.mon x0&lt;br /&gt;
   $ g.region vect=borders&lt;br /&gt;
   $ d.vect map=borders color=black width=1.2&lt;br /&gt;
   $ d.vect map=roads   color=grey           &lt;br /&gt;
   $ d.vect map=pcities color=brown&lt;/div&gt;</summary>
		<author><name>⚠️Martii</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Country_Data_Processing&amp;diff=4398</id>
		<title>Country Data Processing</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Country_Data_Processing&amp;diff=4398"/>
		<updated>2007-07-07T11:51:41Z</updated>

		<summary type="html">&lt;p&gt;⚠️Martii: /* Creating New Location */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial describes how to&lt;br /&gt;
* find free data of country on Internet&lt;br /&gt;
* create new GRASS location&lt;br /&gt;
* import found data into GRASS&lt;br /&gt;
* create new vector layers from existing data&lt;br /&gt;
* create labels&lt;br /&gt;
* display map of a country&lt;br /&gt;
&lt;br /&gt;
= GRASS Installation =&lt;br /&gt;
Required elements&lt;br /&gt;
* GRASS GIS system installed&lt;br /&gt;
* download SPEARFISH data http://grass.itc.it/sampledata/spearfish_grass60data-0.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
Create directory structure required for this tutorial&lt;br /&gt;
* dataset directory&lt;br /&gt;
   $ mkdir ~/grass&lt;br /&gt;
* input data directory&lt;br /&gt;
   $ mkdir ~/grass/indata&lt;br /&gt;
&lt;br /&gt;
Create GRASS location using SPEARFISH data to be able create new locations&lt;br /&gt;
   &lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ tar zxf spearfish_grass60data-0.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
Start GRASS&lt;br /&gt;
&lt;br /&gt;
   $ grass -text spearfish60/PERMANENT&lt;br /&gt;
&lt;br /&gt;
= Obtaining Data =&lt;br /&gt;
&lt;br /&gt;
We assume that one wants to create UK map. Following steps can be easily&lt;br /&gt;
applied to other countries' data.&lt;br /&gt;
&lt;br /&gt;
Country related GIS data can be obtained from&lt;br /&gt;
[http://www.maproom.psu.edu/dcw/ Digital Chart of the World].&lt;br /&gt;
&lt;br /&gt;
First create country related input directory&lt;br /&gt;
&lt;br /&gt;
   $ mkdir ~/grass/indata/uk&lt;br /&gt;
&lt;br /&gt;
Let's download UK data&lt;br /&gt;
* go to [http://www.maproom.psu.edu/dcw/ Digital Chart of the World]&lt;br /&gt;
* click Europe link&lt;br /&gt;
* choose United Kingdom in select box on the right and click Continue&lt;br /&gt;
* page _Digital Chart of the World Layer Interface for United Kingdom_ will be displayed&lt;br /&gt;
* click Download Data button&lt;br /&gt;
* another page will be shown, mark checkboxes&lt;br /&gt;
** Populated Places (Polygon)&lt;br /&gt;
** Roads (Line)&lt;br /&gt;
** Rail Roads (Line)&lt;br /&gt;
* click Continue&lt;br /&gt;
* on new page click Compute Data&lt;br /&gt;
* on new page you will be able to obtain set of data (&amp;lt;NUMBER&amp;gt; is part of filename with data exported by DCW)&lt;br /&gt;
   &amp;lt;NUMBER&amp;gt;.tar.Z&lt;br /&gt;
* do not hesistate to download data into ~/grass/indata/uk directory&lt;br /&gt;
&lt;br /&gt;
== Importing Data ==&lt;br /&gt;
Importing data into GRASS is two fold step&lt;br /&gt;
* create new location with one piece of data&lt;br /&gt;
* import remaining data&lt;br /&gt;
&lt;br /&gt;
=== Creating New Location ===&lt;br /&gt;
One can create new location using another location. We will use SPEARFISH location&lt;br /&gt;
to create UK location.&lt;br /&gt;
&lt;br /&gt;
Start GRASS&lt;br /&gt;
&lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ grass -text spearfish60/PERMANENT&lt;br /&gt;
&lt;br /&gt;
Enter UK input data directory and unpack downloaded data from DCW&lt;br /&gt;
&lt;br /&gt;
   $ cd indata/uk&lt;br /&gt;
   $ tar zxf &amp;lt;NUMBER&amp;gt;.tar.Z&lt;br /&gt;
&lt;br /&gt;
You will have several files&lt;br /&gt;
;ponet.e00:  country borders&lt;br /&gt;
;pppoly.e00: populated places&lt;br /&gt;
;rdline.e00: road network&lt;br /&gt;
;rrline.e00: rail road network&lt;br /&gt;
&lt;br /&gt;
We will create UK GRASS location using country borders. In SPEARFISH GRASS session&lt;br /&gt;
use following commands to create location uk and layer borders&lt;br /&gt;
&lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ v.in.ogr dsn=indata/uk/ponet.e00 layer=ARC output=borders location=uk&lt;br /&gt;
&lt;br /&gt;
New location is created. Exit SPEARFISH GRASS session and start GRASS UK session&lt;br /&gt;
&lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ grass uk/PERMANENT&lt;/div&gt;</summary>
		<author><name>⚠️Martii</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Country_Data_Processing&amp;diff=4389</id>
		<title>Country Data Processing</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Country_Data_Processing&amp;diff=4389"/>
		<updated>2007-07-07T11:20:10Z</updated>

		<summary type="html">&lt;p&gt;⚠️Martii: /* GRASS Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial describes how to&lt;br /&gt;
* find free data of country on Internet&lt;br /&gt;
* create new GRASS location&lt;br /&gt;
* import found data into GRASS&lt;br /&gt;
* create new vector layers from existing data&lt;br /&gt;
* create labels&lt;br /&gt;
* display map of a country&lt;br /&gt;
&lt;br /&gt;
= GRASS Installation =&lt;br /&gt;
Required elements&lt;br /&gt;
* GRASS GIS system installed&lt;br /&gt;
* download SPEARFISH data http://grass.itc.it/sampledata/spearfish_grass60data-0.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
Create directory structure required for this tutorial&lt;br /&gt;
* dataset directory&lt;br /&gt;
   $ mkdir ~/grass&lt;br /&gt;
* input data directory&lt;br /&gt;
   $ mkdir ~/grass/indata&lt;br /&gt;
&lt;br /&gt;
Create GRASS location using SPEARFISH data to be able create new locations&lt;br /&gt;
   &lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ tar zxf spearfish_grass60data-0.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
Start GRASS&lt;br /&gt;
&lt;br /&gt;
   $ grass -text spearfish60/PERMANENT&lt;br /&gt;
&lt;br /&gt;
= Obtaining Data =&lt;br /&gt;
&lt;br /&gt;
http://www.gis.psu.edu/&lt;/div&gt;</summary>
		<author><name>⚠️Martii</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Country_Data_Processing&amp;diff=4388</id>
		<title>Country Data Processing</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Country_Data_Processing&amp;diff=4388"/>
		<updated>2007-07-07T11:19:46Z</updated>

		<summary type="html">&lt;p&gt;⚠️Martii: /* GRASS Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial describes how to&lt;br /&gt;
* find free data of country on Internet&lt;br /&gt;
* create new GRASS location&lt;br /&gt;
* import found data into GRASS&lt;br /&gt;
* create new vector layers from existing data&lt;br /&gt;
* create labels&lt;br /&gt;
* display map of a country&lt;br /&gt;
&lt;br /&gt;
= GRASS Installation =&lt;br /&gt;
Required elements&lt;br /&gt;
* GRASS GIS system installed&lt;br /&gt;
* download SPEARFISH data http://grass.itc.it/sampledata/spearfish_grass60data-0.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
Create directory structure required for this tutorial&lt;br /&gt;
* dataset directory&lt;br /&gt;
   $ mkdir ~/grass&lt;br /&gt;
* input data directory&lt;br /&gt;
   $ mkdir ~/grass/indata&lt;br /&gt;
&lt;br /&gt;
Create GRASS location using SPEARFISH data to be able create new locations&lt;br /&gt;
   &lt;br /&gt;
   $ cd ~/grass&lt;br /&gt;
   $ tar zxf spearfish_grass60data-0.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
Start GRASS&lt;br /&gt;
&lt;br /&gt;
   $ grass62 -text spearfish60/PERMANENT&lt;br /&gt;
&lt;br /&gt;
= Obtaining Data =&lt;br /&gt;
&lt;br /&gt;
http://www.gis.psu.edu/&lt;/div&gt;</summary>
		<author><name>⚠️Martii</name></author>
	</entry>
</feed>