WxGUI Vector Network Analysis Tool: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(Video tutorial manual)
mNo edit summary
Line 18: Line 18:
== Video tutorial ==
== Video tutorial ==


If you want to follow the tutorial on your computer download <tt>GRASS 6.x: SPEARFISH data set</tt> (available [http://grass.fbk.eu/download/data6.php there]) and copy folder <tt>spearfish60<\tt> into your GIS Data Directory. After launch of GRASS choose location <tt>spearfish60<\tt> and mapset <tt>PERMANENT<\tt>.  
If you want to follow the tutorial on your computer download <tt>GRASS 6.x: SPEARFISH data set</tt> (available [http://grass.fbk.eu/download/data6.php there]) and copy folder <tt>spearfish60</tt> into your GIS Data Directory. After launch of GRASS choose location <tt>spearfish60</tt> and mapset <tt>PERMANENT</tt>.  


Before you start work with Vector Network Analysis Tool you have to apply these commands in order you will be able to flow tutorial video:
Before you start work with Vector Network Analysis Tool you have to apply these commands in order you will be able to flow tutorial video:
Line 28: Line 28:
  v.to.db myroads layer=3 qlayer=1 opt=query qcolumn=label columns=label
  v.to.db myroads layer=3 qlayer=1 opt=query qcolumn=label columns=label


Now you have created same myroads vector map as is used in the video tutorial.
Now you have created same <tt>myroads</tt> vector map as is used in the video tutorial.

Revision as of 16:31, 19 August 2012

Note: This wxGUI extension is available only for GRASS 7.

This tool has been developed within Google Summer of Code 2012, see related wiki page for details.

Installation

1. Install wx.vnet extension via g.extension

g.extension -s extension=wx.vnet

2. Go to Map Display Window and choose 'Vector network analysis' from 'Analyze' menu

Launch 'Vector network analysis' tool from Map Display Window toolbar

Video tutorial

If you want to follow the tutorial on your computer download GRASS 6.x: SPEARFISH data set (available there) and copy folder spearfish60 into your GIS Data Directory. After launch of GRASS choose location spearfish60 and mapset PERMANENT.

Before you start work with Vector Network Analysis Tool you have to apply these commands in order you will be able to flow tutorial video:

v.category in=roads out=myroads opt=add cat=1 layer=3 type=line
v.db.addtable myroads layer=3 col="cat integer,label varchar(43)"
v.to.db myroads layer=3 qlayer=1 opt=query qcolumn=label columns=label

Now you have created same myroads vector map as is used in the video tutorial.