[GRASS-dev] v.to.db option=slope

Paul Kelly paul-grass at stjohnspoint.co.uk
Mon Dec 11 14:01:21 EST 2006


Hello Jachym
Just a little comment below:

On Mon, 11 Dec 2006, Jachym Cepicky wrote:

> 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.
>>
[...]
> 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.

I (maybe others) interpreted this as you admitting that the patch was not 
yet ready/good enough to commit to CVS! So maybe that's why nobody 
complained - Is it true that wrong results will be given in a lat/long 
location with no warning? If so, then something should be changed.
If not, and I've misunderstood, then it's all OK!

Paul




More information about the grass-dev mailing list