[GRASS-dev] non-interactive d.path is go

Hi,

as just mentioned on the -user list I've added a coor= option to d.path,
making it (optionally) non-interactive. Hopefully the GUI gods and real-
time Gpsd coders can do something neat with it now.

one lingering question is what to set the maximum search distance to. It
tries to lock onto a node in the vector map (eg road intersection or
v.lrs street address node). Currently maxdist is set to be the same size
as the start/end icons, ie the distance covered by 10 display pixels.
v.net.path uses a default of 1000 map units, but perhaps the 10 pixel
way is better as it will give a reasonable default for lat/lon locations.
?

Hamish

If I don't get to this in TclTk, these updates will make it doable in
wxPython too.

Michael

On 3/20/07 3:35 AM, "Hamish" <hamish_nospam@yahoo.com> wrote:

Hi,

as just mentioned on the -user list I've added a coor= option to d.path,
making it (optionally) non-interactive. Hopefully the GUI gods and real-
time Gpsd coders can do something neat with it now.

one lingering question is what to set the maximum search distance to. It
tries to lock onto a node in the vector map (eg road intersection or
v.lrs street address node). Currently maxdist is set to be the same size
as the start/end icons, ie the distance covered by 10 display pixels.
v.net.path uses a default of 1000 map units, but perhaps the 10 pixel
way is better as it will give a reasonable default for lat/lon locations.
?

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