v.report line measurement fix

Ronald E. Thomas ront at niwot.CFNR.ColoState.EDU
Mon Jan 11 11:13:13 EST 1993


GRASSuser's
Here is the fix that I received from Ron Glenn, developer of v.report, that
corrects the way the program looks for vector distances.  **NOTE**: this
fix DISABLES the perimeter function of v.report.

In <grass.code.directory>/src.contrib/SCS/vector/v.report/cmd, look for
file "perimeter.c".  On line 17, change

	if (i==((np-1)-1))  	to		if (i==(np-1)) 

You will then need to recompile v.report, & run MAKE.LINKS.

This effectively changes the function from "measure from here to there and
back" to "measure from here to there".

Is anyone working on improving these SCS/vector tools, or is a new 'batch'
of vector tools going to be included with release 4.1?

^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^
   Ronald Thomas                         ^  ront at meeker.cfnr.colostate.edu
    Natural Resource Spec. (GIS)         ^  
     Resource Management Division        ^   Phone: 303-586-3565  x285
      Rocky Mountain National Park       ^          700-323-7285  (FTS)
       Estes Park, CO  80517             ^ 
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^



More information about the grass-user mailing list