R: [GRASS-user] v.net.path through gis manager (GRASS6.2)

Michael Barton michael.barton at asu.edu
Wed Feb 21 11:21:38 EST 2007


This could probably be done even easier than the profiler, more like the way
r.color.rules works. It just needs a wrapper script with the appropriate GUI
parser prompts to provide a place to type in coordinates and pass them to
the GRASS module. 

If we wanted to do it interactively via mouse, then profile.tcl is a good
model from which to use code. It uses the mouse to grab screen coordinates,
convert them to geographic coordinates, and feed them to r.profile.

Michael


On 2/21/07 1:05 AM, "Hamish" <hamish_nospam at yahoo.com> wrote:

> Aldo:
>>>>> I'm trying to use v.net.path through gis manager (GRASS6.2)
>>>> to define the shortest path between two points of given
>>>> coordinates,
> ..
>>> I'm not able to specify the start/end points in the panel. In which
>>> section they can be introduced?
> 
> Moritz Lennert wrote:
>> They can't: http://intevation.de/rt/webrt?serial_num=4908
>> 
>> For this module (in its current state) a GUI panel probably does not
>> really make sense as it only works through piping the coordinates.
> ..
>> It shouldn't be too difficult to add the capacity to read from file,
>> or to pass coordinates as a parameter, but apparently noone amongst
>> those capable has felt enough need up to now to do that...
> 
> Yes it should be possible to do, this is exactly how the GUI profile
> tool works -- by collecting and passing coordines to the r.profile
> module and plotting the result.
> 
> 
> Does anyone have a simple d.path example using spearfish's roads vector?
> please add to
>   http://grass.gdf-hannover.de/wiki/Vector_network_analysis
> 
> 
> 
> Hamish

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-user mailing list