<div dir="ltr"><br><br>On Sun, Apr 21, 2019 at 11:16 AM Micha Silver <<a href="mailto:tsvibar@gmail.com">tsvibar@gmail.com</a>> wrote:<br>><br>><br>><br>> On 21/04/2019 0:42, Markus Metz wrote:<br>><br>> ><br>> > Am I missing something?<br>><br>> Yes, the option layer defaults to -1 = all layers. If you use the cats or where option, you need to specify a layer, otherwise the warning<br>> WARNING: No layer selected, 'where' and 'cats' options are ignored<br>><br>><br>> Ah ha<br>><br>> Thanks,<br>><br>><br>> Maybe an extra sentence in the manpage would be appropriate?<br>><br>> Under the "Description" section:<br>><br>><br>> "If type=area is selected, boundaries of selected areas will be generalized, and the options cats, where, and layer will be used to select areas. However the cats and where options are used only if a layer is specified. If no layer is specified, those options are ignored."<br><div><br></div><div>The cats, where, and layer options apply to areas as well as lines.</div><div><br></div><div>Therefore I have added</div><div>"The <b>cats</b> and <b>where</b> options are used only if a <b>layer</b> 
> 0 is specified, otherwise, those options are ignored. Be aware 
that the default is <em>layer=-1</em>, meaning that all layers are 
processed, ignoring the <b>cats</b> and <b>where</b> options."</div><div><br></div><div>to the manual in trunk and relbr76.<br></div><div><br></div><div>Markus M<br></div>><br>> Best, Micha<br>><br>><br>> is issued in trunk. I have backported this warning to relbr76 in r74409.<br>><br>> HTH,<br>><br>> Markus M<br>><br>> -- <br>> Micha Silver<br>> Ben Gurion Univ.<br>> Sde Boker, Remote Sensing Lab<br>> cell: +972-523-665918</div>