Re: [GRASS-user] Landsat Stack import and export

2010-05-10 Thread Markus Metz
2010/5/10 António Rocha :
> Greetings
>
> Regarding the possibility of exporting an GROUp, using r.in.gldal,

r.out.gdal you mean?

> the groups are not listed in that menu. So the user cannot see the available
> groups.

g.list type=group
will list all groups

> It's still processing but IO have one question: The processing bar restarted
> at least 3 times, what is happening?

If you export a group, each raster map is exported separately, even if
they all end up in one file. If you use r.out.gdal --verbose, there
would be several messages like

Exporting raster map  (band )...

and for each, the progress bar starts anew.

> Because it file, now, it seems that
> it's not "growing". Is it doing some file-check or something?

Depending on the grass version you are using, there might be some
checks first to prevent potential data loss (latest 6.4+).

Note that r.out.gdal uses the current computational region (resolution
and extends) for export.

Markus M

>
> Markus Metz wrote:
>>
>> 2010/5/7 Markus Neteler :
>>
>>>
>>> 2010/5/7 António Rocha :
>>>

 Greetings
 I've a Landsat image with 6 bands in Tif format. I need to import into
 grass, do some processing and export the same band in a Stack.
 The import is easy using r.in.gdal but my difficulty is to export 6
 bands in
 one single file. Is it possible using GRASS?

>>>
>>> To my knowledge no.
>>>
>>
>> Sure it is. Create a group in GRASS, export the group (r.out.gdal
>> input=) to a file format that supports multiple bands,
>> e.g. GeoTIFF.
>>
>> Markus M
>>
>>
>> __ Information from ESET NOD32 Antivirus, version of virus
>> signature database 5094 (20100507) __
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>>
>>
>
>
>
> __ Information from ESET NOD32 Antivirus, version of virus signature
> database 5100 (20100510) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Landsat Stack import and export

2010-05-10 Thread António Rocha

Greetings

Regarding the possibility of exporting an GROUp, using r.in.gldal, the 
groups are not listed in that menu. So the user cannot see the available 
groups.
It's still processing but IO have one question: The processing bar 
restarted at least 3 times, what is happening? Because it file, now, it 
seems that it's not "growing". Is it doing some file-check or something?

Thanks
Antonio

Markus Metz wrote:

2010/5/7 Markus Neteler :
  

2010/5/7 António Rocha :


Greetings
I've a Landsat image with 6 bands in Tif format. I need to import into
grass, do some processing and export the same band in a Stack.
The import is easy using r.in.gdal but my difficulty is to export 6 bands in
one single file. Is it possible using GRASS?
  

To my knowledge no.



Sure it is. Create a group in GRASS, export the group (r.out.gdal
input=) to a file format that supports multiple bands,
e.g. GeoTIFF.

Markus M


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5094 (20100507) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




  




__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5100 (20100510) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Landsat Stack import and export

2010-05-07 Thread Markus Metz
2010/5/7 Markus Neteler :
> 2010/5/7 António Rocha :
>> Greetings
>> I've a Landsat image with 6 bands in Tif format. I need to import into
>> grass, do some processing and export the same band in a Stack.
>> The import is easy using r.in.gdal but my difficulty is to export 6 bands in
>> one single file. Is it possible using GRASS?
>
> To my knowledge no.

Sure it is. Create a group in GRASS, export the group (r.out.gdal
input=) to a file format that supports multiple bands,
e.g. GeoTIFF.

Markus M
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Landsat Stack import and export

2010-05-07 Thread Markus Neteler
2010/5/7 António Rocha :
> Greetings
> I've a Landsat image with 6 bands in Tif format. I need to import into
> grass, do some processing and export the same band in a Stack.
> The import is easy using r.in.gdal but my difficulty is to export 6 bands in
> one single file. Is it possible using GRASS?

To my knowledge no.

But you can export it separately, then merge with GDAL tools. See

http://gfoss.blogspot.com/2008/06/gdal-raster-data-tips-and-tricks.html
-> Merge various map/bands into a RGB composite

(should work for more bands than 3).

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Landsat Stack import and export

2010-05-07 Thread António Rocha

Greetings
I've a Landsat image with 6 bands in Tif format. I need to import into 
grass, do some processing and export the same band in a Stack.
The import is easy using r.in.gdal but my difficulty is to export 6 
bands in one single file. Is it possible using GRASS?

Thanks
Best regards,
Antonio


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5093 (20100506) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user