[GRASS-dev] v.category option=print: fails to print
area's categories
Moritz Lennert
mlennert at club.worldonline.be
Wed Nov 22 07:27:42 EST 2006
Markus Neteler wrote:
> On Wed, Nov 22, 2006 at 12:58:08PM +0100, Martin Landa wrote:
>> Hi Maciek,
>>
>> 2006/11/21, Maciej Sieczka <tutey at o2.pl>:
>>> Hi,
>>>
>>> I have notice that "v.category option=print type=area" never prints any
>>> categories. Why is that so?
>>>
>>> Example: in spearfish there is a 'fields' vector which has 65 areas, 63
>>> of them with centroids. But
>>>
>>> v.category fields option=print type=area
>>>
>>> prints nothing; a bug?
>> not sure, I see vector type 'area' as a "virtual" type, so I think an
>> area cannot be associated with category number. It's always centroid
>> (and/or boundary) which has category number. So
>>
>> v.category fields option=print type=area
>>
>> does not make sense to me... (??)
>
> This sounds reasonable. If true, the area type should be removed
> from the list to avoid confusion.
I'd rather suggest to map area to centroid (i.e. if area is given behave
the same as if centroid is given), as intuitively people are looking for
information concerning areas not centroids.
Moritz
More information about the grass-dev
mailing list