[GRASS-user] grass

hi,
  while doing shortest path in grass i get the below error:
echo "1 1 2" | v.net.path mydgn_net afcol=forward abcol=backward out=myp
Building graph:
Registering arcs ... 100%
Flattening the graph ... done.
Graph was built.
WARNING: 8032 points without category (nfield: 2).
WARNING: No point with category 1
WARNING: No point with category 2
Attributes:
  cat - path unique category assigned by module
  id - path id (read from input)
  fcat - from point category
  tcat - to point category
  sp - result status:
       0 - OK, path found
       1 - node is not reachable
       2 - point of given category does not exist
  cost - travelling costs (on the network, not to/from network)
  fdist - the distance from first point to the network
  tdist - the distance from the network to second point
WARNING: 2 points of given category missing
Building topology ...
0 primitives registered
0 areas built
0 isles built
Attaching islands:
Attaching centroids: Topology was built.
Number of nodes : 0
Number of primitives: 0
Number of points : 0
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0

Kindly, assisty me with this

Hi,
that is not an error - you just did not calculate anything, because of

"WARNING: 2 points of given category missing"

are you sure, there are points with categories 1 and 2 in your input
file?

j

ec.jkd@tpcsed.com píše v Po 10. 12. 2007 v 15:15 +0530:

hi,
  while doing shortest path in grass i get the below error:
echo "1 1 2" | v.net.path mydgn_net afcol=forward abcol=backward out=myp
Building graph:
Registering arcs ... 100%
Flattening the graph ... done.
Graph was built.
WARNING: 8032 points without category (nfield: 2).
WARNING: No point with category 1
WARNING: No point with category 2
Attributes:
  cat - path unique category assigned by module
  id - path id (read from input)
  fcat - from point category
  tcat - to point category
  sp - result status:
       0 - OK, path found
       1 - node is not reachable
       2 - point of given category does not exist
  cost - travelling costs (on the network, not to/from network)
  fdist - the distance from first point to the network
  tdist - the distance from the network to second point
WARNING: 2 points of given category missing
Building topology ...
0 primitives registered
0 areas built
0 isles built
Attaching islands:
Attaching centroids: Topology was built.
Number of nodes : 0
Number of primitives: 0
Number of points : 0
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0

Kindly, assisty me with this
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Jachym Cepicky
e-mail: jachym.cepicky@gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub