<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>Re: [GRASS-user] project units vs. imported image units ?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Thanks for the quick replies.<BR>
I have been testing the solutions:<BR>
<BR>
I can use g.region to create different regions (with specific grid size) so they can match the resolution of the tifs i am importing (this will be useful because the tifs have different resolutions). After that r.region -c will recompute the image to the extents of the current region. This seems to be what i needed :D<BR>
<BR>
Again, thank you<BR>
Ricardo<BR>
<BR>
On Tue, 20 Mar 2007 13:19:23 -0700, "Amaginary Studios"<BR>
<amagine@telus.net> said:<BR>
> Hmmm,<BR>
><BR>
> I believe you will need to specify the correct "resolution" in your <BR>
> "g.region" settings which will ... match the resolution of your .tiff <BR>
> files<BR>
><BR>
> .tfw files are simply Text files so I suppose you could create your <BR>
> own within a text editor.<BR>
><BR>
> for example a .twf file with the following<BR>
><BR>
> ****<BR>
><BR>
> 1 nresolution<BR>
> 0 x-pixel position reference point<BR>
> 0 y-pixel position reference point<BR>
> -1 sresolution<BR>
> 0 x-postion reference<BR>
> 0 y-position reference<BR>
><BR>
> ****<BR>
><BR>
> says, that each pixel in the tiff image is equal to 1x1 (in your <BR>
> case probably meters). and the Top left corner is referenced at 0m x <BR>
> 0m.<BR>
><BR>
> So, it is a matter of matching your image resolution size to the <BR>
> correct resolution region settings in GRASS.<BR>
><BR>
> I hope this helps a bit...<BR>
><BR>
> Mars</FONT>
</P>
</BODY>
</HTML>