Thanks Micha and Hermann for your feedback.<div>Just one very last question: in a Python script how can I make an variabel to equal to an image spatial resolution? (I mean, How can I retrieve an image spatial resolution)?</div>
<div>THanks</div><div><br></div><div>Best regards,</div><div>Kat<br><br><div class="gmail_quote">2011/2/3 Micha Silver <span dir="ltr">&lt;<a href="mailto:micha@arava.co.il">micha@arava.co.il</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



  

<div dir="ltr" bgcolor="#ffffff" text="#000000"><div class="im">
<p style="margin-bottom:0cm;margin-top:0pt">katrin eggert wrote:<br>
</p>
<blockquote type="cite">
  
  <div>HEy</div>
  <div> </div>
  <div>I have three questions:</div>
  <div>1- Is it possible to define active region spatial resolution by
selecting an image instead of putting values?</div>
</blockquote></div>
Using a grass raster, yes. g.region rast=....<div class="im"><br>
<br>
<blockquote type="cite">
  <div> </div>
  <div> </div>
  <div>2- What is done with -a flag?</div>
</blockquote>
<br></div>
If you have , i.e. a resolution of 5 meters and the E-W extent is 99
meters, then with the -a flag the region will be reset to 100 m.
Without the -a flag, the resolution will be recalculated so that it
fits into the extents. So in the above case, without -a, the E-W res
will be changed to 4.95<div class="im"><br>
<br>
<blockquote type="cite">
  <div> </div>
  <div>3- Just to confirm this, when an image is imported with
r.in.gdal it is kept with its original resolution right? it only gets
the active region spatial resolution when I process it right (e.g.
mapcalc or somethingg)</div>
  <div> </div>
</blockquote>
<br></div>
AFAIK, yes. <br>
<blockquote type="cite">
  <div> </div>
  <div>Thanks</div>
  <div>Kat</div>
  <br>
This mail was received via Mail-SeCure System.<br>
  <pre><hr size="4" width="90%">
_______________________________________________
grass-user mailing list
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a>

This mail was received via Mail-SeCure System.


  </pre>
</blockquote>
<br>
</div>

</blockquote></div><br></div>