<p dir="ltr">Take a look at v.what.rast<br>
It will upload raster values to an attribute table. That might do what you are looking for. </p>
<p dir="ltr">Daniel</p>
<div class="gmail_quote">On Mar 2, 2013 4:44 AM, "孔晓泉" <<a href="mailto:u1mail2me@gmail.com">u1mail2me@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>
I'm working on my paper, which i will use R package "biomod". In<br>
biomod manual, i found it support such table format (other format? i<br>
don't konw, i am a newer to R and grass).<br>
<br>
> Idw   X     Y     Var1 Var2  Var3 Var4  Var5   Sp281  Sp191<br>
> 73 -9.288 38.62 0.6683 4296 770.1 39.33 295.1    1      0<br>
> 74 -9.292 39.52 0.7596 4174 928.1 57.32 348.7    0      1<br>
<br>
<br>
- Idw: An Id to keep track of the row numbers<br>
- X and Y: longitude and latitude of our sites (used for plotting)<br>
- Var1 to Var5: Environmental variables (bioclimatic in that case)<br>
- Sp281 Sp191: Presence/absence of 2 species.<br>
<br>
I get the species data from web( shapefile format) and the<br>
envirmonental data (Rast format).<br>
For so far, i only kown "r.mapcalc new_var = if(var,env1)", so i can<br>
get the env1 data when specie is presence,but this is not what i want.<br>
so, someone can help me? give me some point, please.<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div>