[GRASS5] [bug #2664] (grass) r.contour writes negative elevations to category

Radim Blazek blazek at itc.it
Mon Oct 18 09:54:53 EDT 2004


On Thursday 14 October 2004 19:06, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2664
> -------------------------------------------------------------------------
>
> Subject: r.contour writes negative elevations to category
>
> Platform: Mac OSX
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.7cvs20041009
>
> r.contour puts the contour elevations in the category.  A minor drawback is
> that this rounds any fractional elevation values to integers, so is useless
> for fine detail contouring.  The big problem is that it will write negative
> categories, which I'm told is wrong.
>
> r.contour should write elevations to a table.  It does put the elevations
> in the z (height) of the vector, but there doesn't seem to be a height
> option to v.to.db (just length and area).  That would be the other solution
> - maybe easier to do.

Now it writes a table with levels.

WARNING: cats are not level values any more!

Radim




More information about the grass-dev mailing list