[GRASS5] v.report

Hi!

Would it be a total waste of time to bring v.report back? I really would like it's functionality.. I did see that v.info should have that functionality, but I was unable to see such a report in it... So now I'm considering to brin the code from v.report, GRASS 4 to GRASS 6. Or would this be a waste of time?

--W

--

<:3 )---- Wolf Bergenheim ----( 8:>

On Mon, Oct 24, 2005 at 06:14:29PM +0300, Wolf Bergenheim wrote:

Hi!

Would it be a total waste of time to bring v.report back? I really would
like it's functionality.. I did see that v.info should have that
functionality, but I was unable to see such a report in it... So now I'm
considering to brin the code from v.report, GRASS 4 to GRASS 6. Or would
this be a waste of time?

It is already there (as script in 6.1):

GRASS 6.1.cvs (latlong):~ > v.report help

Description:
Reports geometry statistics for vectors

Usage:
v.report map=name [layer=value] option=name [units=name]

Parameters:
     map Input vector map
   layer Layer number
           default: 1
  option Value to calculate
           options: area,length,coor
   units mi(les),f(eet),me(ters),k(ilometers),a(cres),h(ectares)
           options: mi,miles,f,feet,me,meters,k,kilometers,a,acres,h,hectares

Does this help?

Markus

Markus Neteler wrote:

On Mon, Oct 24, 2005 at 06:14:29PM +0300, Wolf Bergenheim wrote:

Hi!

Would it be a total waste of time to bring v.report back? I really would like it's functionality.. I did see that v.info should have that functionality, but I was unable to see such a report in it... So now I'm considering to brin the code from v.report, GRASS 4 to GRASS 6. Or would this be a waste of time?

It is already there (as script in 6.1):

GRASS 6.1.cvs (latlong):~ > v.report help

Strange I did a cvs checkout on the MAIN branch, and I don't have it.

Mapset <uppg1> in Location <ro5>
GRASS 6.0.1 > v.report help
v.report: Command not found.

Where is the source for that script?

--Wolf

--

<:3 )---- Wolf Bergenheim ----( 8:>

Wolf Bergenheim wrote:

Where is the source for that script?

Neve mind. I found it. I was also using by mistake the 6.0 version that comes with debian. Sorry for the mess. I'm still a bit new with the grass code...

--W

--

<:3 )---- Wolf Bergenheim ----( 8:>