<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 06/12/2010 08:43 AM, Kyaw Moe Aung wrote:
<blockquote
cite="mid:AANLkTilYxv2my-Bsn4q7KGZNWD_7la8FnTDzJbRCuYRE@mail.gmail.com"
type="cite">Dear List,<br>
I am new user for Grass GIS. I have some questions regarding Jpg or
tiff import. When I use r.in.gdal which created 3 separate files as
rgb. Then I use r.patch to combine rgb. After that i.point and </blockquote>
What you probably want here is r.composite. It re-creates the colored
raster. <br>
<blockquote
cite="mid:AANLkTilYxv2my-Bsn4q7KGZNWD_7la8FnTDzJbRCuYRE@mail.gmail.com"
type="cite">i.rectify. From this i have to digitize river, stream,
road, etc. So my question is as follow:<br>
Can i remove unrectified former 3 seperate rgb files?<br>
</blockquote>
Yes, after r.composite you can remove them.<br>
<blockquote
cite="mid:AANLkTilYxv2my-Bsn4q7KGZNWD_7la8FnTDzJbRCuYRE@mail.gmail.com"
type="cite">Is there any module to import without creating rgb because
this increase the memory usage? I have to import more than hundreds of
scanned Jpg, tiff.<br>
</blockquote>
Imported three-band tiffs will always create three separate rasters.
But you can script this to loop thru your 100's of tiff's to import,
recreate the colored raster, then delete the *.red, *.green and *.blue
at each loop. <br>
<blockquote
cite="mid:AANLkTilYxv2my-Bsn4q7KGZNWD_7la8FnTDzJbRCuYRE@mail.gmail.com"
type="cite">Can i crop the imported image without using other image
software such as gimp or photoshop, etc?<br>
</blockquote>
Yes. Just set the grass region to the area you want, and run:<br>
r.mapcalc cropped_raster=original_raster<br>
That creates a copy of the original, cropped to the current region.<br>
<br>
BTW, this can also be done in advance with gdal.<br>
<blockquote
cite="mid:AANLkTilYxv2my-Bsn4q7KGZNWD_7la8FnTDzJbRCuYRE@mail.gmail.com"
type="cite">Thanks for any hint<br clear="all">
<br>
-- <br>
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-<br>
U Kyaw Moe Aung, Staff Officer<br>
Planning & Statistics Division, Forest Department, Director
General's Office<br>
Nay Pyi Taw, Ph:095-67-405016, Fax: 095-67-405016<br>
<br>
This mail was received via Mail-SeCure System.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
Arava Development Co. +972-52-3665918
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a>
</pre>
</body>
</html>