[GRASS-dev] v.to.db option=slope
Markus Neteler
neteler at itc.it
Mon Dec 11 15:34:02 EST 2006
On Mon, Dec 11, 2006 at 07:05:01PM +0100, Jachym Cepicky wrote:
> hi Markus,
>
>
> On Mon, Dec 11, 2006 at 06:58:36PM +0100, Markus Neteler wrote:
> > On Mon, Dec 11, 2006 at 06:53:57PM +0100, Jachym Cepicky wrote:
> > > hi,
> > >
> > > since nobody really complained, I commited the patch. v.to.db has new
> > > option "slope" now
> >
> > hi jachym,
> >
> > does it now work for LatLong? I guess I overlooked some email.
> >
> > Markus
> >
>
> yes, I was writing about this:
>
> no, it does not :-( it does not even work with option=length, because of
>
>
> Vect_cidx_get_num_unique_cats_by_index ( &Map,
> Vect_cidx_get_field_index(&Map, options.field ) );
>
> in main.c returns 1634887471 of unique cats by index and v.to.db ends up
> with G_calloc error: could not allocat memory.
>
> I have no clue, how to fix this bug.
Hi Jachym,
I don't think that we should knowingly introduce bugs in
GRASS. It would be good to get that resolved soon.
As Paul said - I also assumed that you would consider the
patch as non-ready, so I didn't further comment.
Best,
Markus
More information about the grass-dev
mailing list