[GRASS-dev] Re: v.to.db type=area: bug or typo?

Radim Blazek radim.blazek at gmail.com
Sun Sep 24 13:25:45 EDT 2006


On 9/21/06, Maciej Sieczka <tutey at o2.pl> wrote:
> Radim,
>
> While updating the v.to.db manual I noticed that 'type=area' is
> mentioned twice in the 'Examples':
>
> v.to.db map=soils type=area option=cat
>
> v.to.db map=soils type=area option=area col=area_size unit=h
>
>
>
> But v.to.db says:
>
> Error: value <area> out of range for parameter <type>
>        Legal range: point,line,boundary,centroid
>
>
> It was reported on Feb 2006 http://intevation.de/rt/webrt?serial_num=4044.
>
> Shall I update the description (replace 'type=area' with
> 'type=centroid' ???) or is it a bug in v.to.db?

No, that would not make sense, but I am not sure if area should be added
to types. For example for length you can select line or boundary,
but for area size you dont have any option.
Probably the best is to add area type to default types but remove
that parameter from examples as it is not significant.

Radim

> Maciek
>




More information about the grass-dev mailing list