[GRASS-dev] Re: [GRASS GIS] #1045: strange behaviour in v.net.path

GRASS GIS trac at osgeo.org
Mon May 3 13:37:30 EDT 2010


#1045: strange behaviour in v.net.path
----------------------+-----------------------------------------------------
  Reporter:  manuele  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  normal   |   Milestone:  6.4.0                    
 Component:  Vector   |     Version:  unspecified              
Resolution:           |    Keywords:  network analysis         
  Platform:  Linux    |         Cpu:  x86-32                   
----------------------+-----------------------------------------------------
Comment (by mlennert):

 I can't reproduce this with the North Carolina demo data set:

 {{{
 v.net streets_wake points=firestations operation=connect thresh=200
 out=streets_firestations
 echo "1 15 64" | v.net.path streets_firestations afcol=FT_COST out=myPath
 echo "1 15 64" > mypaths.txt
 cat mypaths.txt | v.net.path streets_firestations afcol=FT_COST
 out=myPath2

 v.db.select myPath
 cat|id|fcat|tcat|sp|cost|fdist|tdist
 1|1|15|64|0|21.379|0|0

 v.db.select myPath2
 cat|id|fcat|tcat|sp|cost|fdist|tdist
 1|1|15|64|0|21.379|0|0
 }}}

 Your data is not usable as you don't define the projection system it is
 in, nor is the attribute table containing the arc_cost column attached.
 Best would be to either reproduce the bug with the demo dataset, or
 provide your example data as a complete location, including the sqlite
 database, or with a dbf attribute backend.

 Moritz

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1045#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list