[GRASSLIST:2620] v.net.path

Hello dear list,
I have some problems in 5.7, I wish you help me…

  1. Sometimes that I use of d.what.vect, it shows me:
    Buttons
    Left: what’s here
    Middle: toggle flash color
    Right: quit
    But when I click left key of the mouse on the map
    nothing happens and if I do it again it shows:
    Broken pipe
    and quit from d.what.vect

  2. When I am successful on use of d.what.vect, I have
    these values on my street map:

    Type: Point
    field: 1
    category: 6



Type: Point
field: 1
category: 160

Now I want to find the best path between two
points
so I use:
v.net.path input=Teh_Vect output=t2 type=line
afield=1 nfield=1
It shows:
Vector ‘t2’ already exists and will be
overwritten.
Building graph:
Registering arcs … 100%
Flattening the graph … done.
Graph was built.

Now I write :
6 160 (Is it correct?)
But nothing happens.


I changed my command like this:

v.net.path input=Teh_Vect output=t4 afield=1 nfield=2

Now it shows:

Building graph:
Registering arcs … 100%
Flattening the graph … done.
Graph was built.
WARNING: 61 points without category.
6 160
WARNING: No point with category 6
WARNING: No point with category 160

Would you please tell me my wrong and explain me more
about v.net.path?

Thanks a lot

Maliheh


Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online

What 'nothing happens' does mean? Empty vector? You should close
stdin by Ctrl-D, and it shoud do something.

BTW, I would recommend to use different field for points, so that you can later link
arcs (lines) and nodes (points) to different tables with different structures.

Radim

On Sunday 15 February 2004 09:47, you wrote:

Hello dear list,
I have some problems in 5.7, I wish you help me...

1. Sometimes that I use of d.what.vect, it shows me:
     Buttons
     Left: what's here
     Middle: toggle flash color
     Right: quit
   But when I click left key of the mouse on the map
   nothing happens and if I do it again it shows:
     Broken pipe
   and quit from d.what.vect

2. When I am successful on use of d.what.vect, I have
   these values on my street map:
     ...
     Type: Point
     field: 1
     category: 6
     ...
     -----------------------
     ...
     Type: Point
     field: 1
     category: 160
     ...

    Now I want to find the best path between two
points
    so I use:
      v.net.path input=Teh_Vect output=t2 type=line
afield=1 nfield=1
    It shows:
      Vector 't2' already exists and will be
overwritten.
      Building graph:
      Registering arcs ... 100%
      Flattening the graph ... done.
      Graph was built.

    Now I write :
      6 160 (Is it correct?)
    But nothing happens.
------------------------------------------------------

I changed my command like this:

v.net.path input=Teh_Vect output=t4 afield=1 nfield=2

Now it shows:

Building graph:
Registering arcs ... 100%
Flattening the graph ... done.
Graph was built.
WARNING: 61 points without category.
6 160
WARNING: No point with category 6
WARNING: No point with category 160

Would you please tell me my wrong and explain me more
about v.net.path?

Thanks a lot

Maliheh

---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online