<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
text="#000000" bgcolor="#FFFFFF">
<br>
<p><br>
</p>
<div class="moz-cite-prefix">On 21/04/2019 0:42, Markus Metz wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAG+h=FE8ytVzeESW2xW3Zzg-f6xDZPkUL2qe-71JCJJNpmWcOA@mail.gmail.com">><br>
<div>> Am I missing something?</div>
<div><br>
</div>
<div>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</div>
<div>WARNING: No layer selected, 'where' and 'cats' options are
ignored</div>
</blockquote>
<p><br>
</p>
<p>Ah ha</p>
<p>Thanks,</p>
<p><br>
</p>
<p>Maybe an extra sentence in the manpage would be appropriate?</p>
<p>Under the "Description" section:</p>
<p><br>
</p>
<p>"If <b>type=area</b> is selected, boundaries of selected areas
will be generalized, and the options <b>cats</b>, <b>where</b>,
and <b>layer</b> will be used to select areas. However the <b>cats</b>
and <b>where</b> options are used only if a <b>layer</b> is
specified. If no layer is specified, those options are ignored."</p>
<p><br>
</p>
<p>Best, Micha<br>
</p>
<blockquote type="cite"
cite="mid:CAG+h=FE8ytVzeESW2xW3Zzg-f6xDZPkUL2qe-71JCJJNpmWcOA@mail.gmail.com">
<div><br>
</div>
<div>is issued in trunk. I have backported this warning to relbr76
in r74409.</div>
<div><br>
</div>
<div>HTH,</div>
<div><br>
</div>
<div>Markus M</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</body>
</html>