[GRASS5] v.report with lines

Hallo!

I'd like to use grass to determine the length of lines of the layer
itter (a rivernetwork) automatically. First I thougth v.report is
the right choice but now I'm wondering whether this is really true:

In the manual page it is explained that v.report calculates the area
of the vector layers. I don't no what the area of a line should be
but at least I know that the results of v.report with type line
(v.report map=itter type=line units=me)
don't calculate the length of the lines.
I checked this by comparing them to results coming from another
source
and by measuring one line bei d.measure. This result (ca. 1120
meter) was much lower
than the result coming from v.report (ca. 2200 meter) and almost
the same as the result coming from the other source (ca. 1130 meter)

Now my question:
Is this a bug in v.report or is v.report the wrong module for my
purpose. If so, is there another module to fulfill my task?

Thanks for help,
        Silke

--
Silke Reimer

Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/

Which version? It was fixed Wed Oct 9 16:02:46 2002
i.e after 5.0.0 release.
Try v.to.db -p for now.

Radim

On Thursday 27 March 2003 03:21 pm, you wrote:

Hallo!

I'd like to use grass to determine the length of lines of the layer
itter (a rivernetwork) automatically. First I thougth v.report is
the right choice but now I'm wondering whether this is really true:

In the manual page it is explained that v.report calculates the area
of the vector layers. I don't no what the area of a line should be
but at least I know that the results of v.report with type line
(v.report map=itter type=line units=me)
don't calculate the length of the lines.
I checked this by comparing them to results coming from another
source
and by measuring one line bei d.measure. This result (ca. 1120
meter) was much lower
than the result coming from v.report (ca. 2200 meter) and almost
the same as the result coming from the other source (ca. 1130 meter)

Now my question:
Is this a bug in v.report or is v.report the wrong module for my
purpose. If so, is there another module to fulfill my task?

Thanks for help,
        Silke

----------------------------------------
Content-Type: application/pgp-signature; charset="us-ascii";
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------

On Thu, Mar 27, 2003 at 03:43:37PM +0100, Radim Blazek wrote:

Which version? It was fixed Wed Oct 9 16:02:46 2002
i.e after 5.0.0 release.

OK. I use 5.0.0pre5. So this is obviously the problem. Is the
problem fixedd for the 5.0.1 release?

Try v.to.db -p for now.

Thank you for the hint. This is even better than v.report since the
layout fits better for my purpose.
  
  Silke

--
Silke Reimer

Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/

On Thu, Mar 27, 2003 at 03:48:35PM +0100, Silke Reimer wrote:

On Thu, Mar 27, 2003 at 03:43:37PM +0100, Radim Blazek wrote:
> Which version? It was fixed Wed Oct 9 16:02:46 2002
> i.e after 5.0.0 release.

OK. I use 5.0.0pre5. So this is obviously the problem. Is the
problem fixedd for the 5.0.1 release?

It was sync'ed into the release branch
2002-10-09 18:02 radim

        * Gmakefile, do_v_stats.c, perimeter.c: length calc fix

so it should be ok for 5.0.1 (released 28. Jan. 2003).

Markus