#1900 closed defect (invalid)
limiting display vector map using cats doesn't work
Reported by: | pvanbosgeo | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | Vector | Version: | svn-trunk |
Keywords: | Cc: | ||
CPU: | x86-64 | Platform: | Linux |
Description
In the d.vector window, under the tab 'selection' there is the option to select category values. Presumably entering one or more cats values, only those should be displayed. However, entering values does not do anything, the whole map is still displayed.
Also using a SQL statement to limit what is displayed does not work.
Change History (3)
follow-up: 3 comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Hi Moritz,
Thanks! I was going to write that I had done that, but I just tried it again and now it works. Strange, I am really pretty sure I did select the layer yesterday too. I also didn't see an error message yesterday, while now I get one if I fail to select the layer (which in fact is pretty clear). In short, I am not sure what went wrong yesterday, but sorry for the fuss.
Paulo
comment:3 by , 12 years ago
Replying to mlennert:
If you want to use the cat or select option, you have to select the specific layer you want to select features in. In grass6 this is layer 1 by default, but this is no longer true in grass7 where -1 (i.e. all layers) is the default (since r45095 two years ago) and so you have to explicitely select the layer. See also this thread where the issue was discussed.
seems like a "tricky feature" even for powerusers. When selecting features (by cats, etc), should be probably selected features from all layers (layer=-1
) which pass the condition, not all features (silently ignoring given condition or constraint).
Replying to pvanbosgeo:
If you want to use the cat or select option, you have to select the specific layer you want to select features in. In grass6 this is layer 1 by default, but this is no longer true in grass7 where -1 (i.e. all layers) is the default (since r45095 two years ago) and so you have to explicitely select the layer. See also this thread where the issue was discussed.
Moritz