try:<br>g.region -ap res=10<br><br>If my memory serves me correct.<br><br>Mark<br><br><div class="gmail_quote">On Wed, Feb 18, 2009 at 10:11 AM, Margherita Di Leo <span dir="ltr"><<a href="mailto:diregola@gmail.com">diregola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
<br>
i have a problem using Grass 6.5 with a raster elevation map running the command 'r.terraflow'.<br>
I need to obtain the flow accumulation with MFD.<br>
The error is the following:<br>
<br>
'cell file dem resolution differs from current region'.<br>
<br>
I ran the command 'g.region -ap rast=dem' and this is the result:<br>
<br>
projection: 1 (UTM)<br>
zone: 33<br>
datum: wgs84<br>
ellipsoid: wgs84<br>
north: 6651087.53951495<br>
south: 6541497.53951495<br>
west: 500200.31922317<br>
east: 649510.31922317<br>
nsres: 10<br>
ewres: 10<br>
rows: 10959<br>
cols: 14931<br>
cells: 163628829<br>
<br>
with '<a href="http://r.info" target="_blank">r.info</a>' the result is:<br>
<br>
Type of Map: raster Number of Categories: 255 |<br>
| Data Type: FCELL |<br>
| Rows: 10959 |<br>
| Columns: 14931 |<br>
| Total Cells: 163628829 |<br>
| Projection: UTM (zone 33) |<br>
| N: 6651087.53951495 S: 6541497.53951495 Res: 10 |<br>
| E: 649510.31922317 W: 500200.31922317 Res: 10 |<br>
| Range of data: min = 3.000000 max = 402.930878 |<br>
| |<br>
| Data Description: |<br>
| generated by r.in.gdal |<br>
| <br>
Please can you help me? Any idea about what's wrong?<br>
Sorry if my question is trivial.<br>
<br>
Regards<br>
<br>
-- <br>
Ing. Margherita Di Leo<br>
Ph.D. Student Methods and Technologies for Environmental Monitoring<br>
Department of Environmental Engineering and Physics (DIFA)<br>
<br>
University of Basilicata Campus Macchia Romana<br>
85100 - Potenza Italy<br>
<br>
Office: +39-0971205363<br>
Fax: +39-0971205160<br>
E-mail: <a href="mailto:dileomargherita@gmail.com" target="_blank">dileomargherita@gmail.com</a><br>
Skype: dileomargherita<br>
URL: <a href="http://www.difa.unibas.it/A_Manager_PP.do?azione=visualizzaHomePage&id=106" target="_blank">http://www.difa.unibas.it/A_Manager_PP.do?azione=visualizzaHomePage&id=106</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">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><br>