[GRASS-dev] vectors invisible if has layer2 but no layer1
tutey at o2.pl
Thu Oct 12 03:12:43 EDT 2006
> Maciej Sieczka wrote:
>> I have noticed that if I have a vector that has categories in layer 2
>> and no cats in layer 1, d.vect by default doesn't display any of the
>> features, unless I specify layer=2 explicitely.
>> Try this - create a vector 'map' without categories in any layer.
>> Display it - you see it, OK. Now add categories into layer 2 only:
>> v.category in=map out=map_addcat_l2 option=add layer=2
>> d.vect map_addcat_l2
>> You see nothing. No good. Could that be fixed?
> I'm not sure it is a bug,
> d.vect --help
> layer Layer number. If -1, all layers are displayed.
> default: 1
> seems clear to me.
> are you asking that "-1" be the default?
Hmm, would make sense. Why should layer 1 be prefered? "All layers are
equal, but some are more equal than the other" ;)?
More information about the grass-dev