[GRASS-dev] vectors invisible if has layer2 but no layer1

Hamish hamish_nospam at yahoo.com
Wed Oct 11 18:40:49 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.erase
> 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
...
Parameters:
...
        layer   Layer number. If -1, all layers are displayed.
               default: 1


seems clear to me.


are you asking that "-1" be the default?



Hamish




More information about the grass-dev mailing list