<p dir="ltr">Thanks Martin. Your suggestion worked!<br>
Alassane</p>
<div class="gmail_quote">On Jul 3, 2016 1:51 AM, "Martin Landa" <<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
2016-07-03 3:02 GMT+02:00 alassane toure <<a href="mailto:atourej@gmail.com">atourej@gmail.com</a>>:<br>
> But does not work in grass/python script:<br>
> grass.run_command('v.extract', input='const', output='const_clean',<br>
> type='area',where='"(value=255) and (area_sqf>1000)"' )<br>
<br>
why<br>
<br>
'"(value=255) and (area_sqf>1000)"'<br>
<br>
?<br>
<br>
'(value=255) and (area_sqf>1000)'<br>
<br>
or<br>
<br>
 "(value=255) and (area_sqf>1000)"<br>
<br>
would be enough. Martin<br>
<br>
--<br>
Martin Landa<br>
<a href="http://geo.fsv.cvut.cz/gwiki/Landa" rel="noreferrer" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>
<a href="http://gismentors.cz/mentors/landa" rel="noreferrer" target="_blank">http://gismentors.cz/mentors/landa</a><br>
</blockquote></div>