<div dir="ltr">I'have created the vector with r.to.vect, before I have liked v.exeternel.out to the PostGIS DB. If I run v.what.rast there is no problem but I believe that the results are different.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-20 17:25 GMT+01:00 Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
2015-11-20 17:24 GMT+01:00 Lorenzo Bottaccioli <<a href="mailto:lorenzo.bottaccioli@gmail.com">lorenzo.bottaccioli@gmail.com</a>>:<br>
> v.rast.stats -c map=areasuit@lorenzo raster=opr@lorenzo column_prefix=opr_<br>
> method=average<br>
> WARNING: No areas selected from vector map <areasuit><br>
> ERROR: No categories found in raster map<br>
><br>
> The vector is contained in a PostGIS db.<br>
<br>
</span>how did you connect vector map from PostGIS DB, using v.external? Ma<br>
<span class="HOEnZb"><font color="#888888"><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>
</font></span></blockquote></div><br></div>