Greetings!
I have been trying to import raster data in bulk through the wxPython GUI in Grass Layer Manager using File > Import Raster Data > Import Raster Data in GRASS 6.4.1 SVN. I have tried setting source type as “File” and “Directory”. As I use landsat data the format is GeoTIFF. As I navigate and select particular folder/data nothing appears in “List of GDAL layers”. I have tried in two ways - with metadata and other text files residing in the same folder as the satellite data and keeping text files in another folder. Nothing changed. Therefore, I have to select “Command Dialog” and import the data band by band. Am I missing something in the process?
Regards,
Chethan S.
–
Chethan S.
Hy Chetan.
Look here,
http://grass.osgeo.org/wiki/LANDSAT
maybe it can be useful
Ciao
Gabriele
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Importing-of-raster-data-doesn-t-seem-to-work-through-GUI-tp5805160p5805396.html
Sent from the Grass - Users mailing list archive at Nabble.com.
That python script seems to be useful. However I want my data in a different
arrangement. I don't know python and it is given that it creates separate
mapsets for each image. So it is difficult for me to edit that.
As I have several images pertaining to same year, I wanted them to be in
separate mapsets like "sat2001", "sat2006" etc. As of now I type one
r.in.gdal command in the terminal and edit it for further imports using the
history feature. So I was looking for an easy way through the GUI.
Gabriele N. wrote:
Hy Chetan.
Look here,
http://grass.osgeo.org/wiki/LANDSAT
maybe it can be useful
Ciao
Gabriele
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Importing-of-raster-data-doesn-t-seem-to-work-through-GUI-tp5805160p5805475.html
Sent from the Grass - Users mailing list archive at Nabble.com.
Hi,
2010/12/5 Chethan S <chethanuniversal@gmail.com>:
I have been trying to import raster data in bulk through the wxPython GUI in
Grass Layer Manager using File > Import Raster Data > Import Raster Data in
GRASS 6.4.1 SVN. I have tried setting source type as "File" and "Directory".
As I use landsat data the format is GeoTIFF. As I navigate and select
particular folder/data nothing appears in "List of GDAL layers". I have
tried in two ways - with metadata and other text files residing in the same
folder as the satellite data and keeping text files in another folder.
Nothing changed. Therefore, I have to select "Command Dialog" and import the
data band by band. Am I missing something in the process?
OS? Tested with fresh 6.4.1 from SVN. Seems to work. URL to the sample data?
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Hi,
2010/12/5 Chethan S. <chethanuniversal@gmail.com>:
That python script seems to be useful. However I want my data in a different
arrangement. I don't know python and it is given that it creates separate
mapsets for each image. So it is difficult for me to edit that.
As I have several images pertaining to same year, I wanted them to be in
separate mapsets like "sat2001", "sat2006" etc. As of now I type one
r.in.gdal command in the terminal and edit it for further imports using the
history feature. So I was looking for an easy way through the GUI.
take a look at script available here
http://geo.fsv.cvut.cz/gwiki/GRASS_GIS_-_Poznámky_pro_družicová_data_Landsat#Python
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Greetings!
I use Ubuntu 10.04 64-bit. This bulk import feature never worked for me. I
am attaching a screenshot now. In the screenshot, the directory has no
metadata and other text files, but I have tried importing with those files
inside the directory as well.
http://osgeo-org.1803224.n2.nabble.com/file/n5806289/Selection_021.png
Regards,
Chethan S.
Martin Landa wrote:
Hi,
2010/12/5 Chethan S <chethanuniversal@gmail.com>:
I have been trying to import raster data in bulk through the wxPython GUI
in
Grass Layer Manager using File > Import Raster Data > Import Raster Data
in
GRASS 6.4.1 SVN. I have tried setting source type as "File" and
"Directory".
As I use landsat data the format is GeoTIFF. As I navigate and select
particular folder/data nothing appears in "List of GDAL layers". I have
tried in two ways - with metadata and other text files residing in the
same
folder as the satellite data and keeping text files in another folder.
Nothing changed. Therefore, I have to select "Command Dialog" and import
the
data band by band. Am I missing something in the process?
OS? Tested with fresh 6.4.1 from SVN. Seems to work. URL to the sample
data?
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Importing-of-raster-data-doesn-t-seem-to-work-through-GUI-tp5805160p5806289.html
Sent from the Grass - Users mailing list archive at Nabble.com.
On 06/12/2010 01:49, Chethan S. wrote:
Greetings!
I use Ubuntu 10.04 64-bit. This bulk import feature never worked for me. I
am attaching a screenshot now. In the screenshot, the directory has no
metadata and other text files, but I have tried importing with those files
inside the directory as well.
Why not do your bulk import from the GRASS command line with a loop?
Something like:
cd <your landsat directory>
for f in *.tif; do r.in.gdal $f out=`basename $f .tif`; done
??
http://osgeo-org.1803224.n2.nabble.com/file/n5806289/Selection_021.png
Regards,
Chethan S.
Martin Landa wrote:
Hi,
2010/12/5 Chethan S<chethanuniversal@gmail.com>:
I have been trying to import raster data in bulk through the wxPython GUI
in
Grass Layer Manager using File> Import Raster Data> Import Raster Data
in
GRASS 6.4.1 SVN. I have tried setting source type as "File" and
"Directory".
As I use landsat data the format is GeoTIFF. As I navigate and select
particular folder/data nothing appears in "List of GDAL layers". I have
tried in two ways - with metadata and other text files residing in the
same
folder as the satellite data and keeping text files in another folder.
Nothing changed. Therefore, I have to select "Command Dialog" and import
the
data band by band. Am I missing something in the process?
OS? Tested with fresh 6.4.1 from SVN. Seems to work. URL to the sample
data?
Martin
--
Martin Landa<landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
--
Micha Silver
http://www.surfaces.co.il/
Arava Development Co. +972-52-3665918
Sir,
I appreciate your suggestion but I am a beginner level user in terms of using commands. Its only recently I started using commands everywhere. So far I was happy with the GUI. Therefore, I was wondering why the GUI mode was not working as expected.
In the GUI I tried as follows: In the “Bulk import of raster data” window I first tick “Directory” and choose the raster file type (GeoTiff), then I browse to a directory which contains the *.tif files and double click on the dir name. It opens and all the *.tif files appear grayed out. Then I click Open, and the files are listed, ready for import. This doesn’t work for you?
···
--
Micha Silver
[http://www.surfaces.co.il/](http://www.surfaces.co.il/)
Arava Development Co. +972-52-3665918
Unfortunately, that does not work for me. As you said the *.tif files appear
grayed out in that particular folder. But the next outcome is not the one
you get. Also after a recent update of GRASS 6.4.1 SVN there is no option
"Bulk Import of Raster data". Its only "import raster data". I select
directory option there. For using the individual file import option like
before I used "Command Dialog" option as shown below. I should also mention
that I use GRASS 6.4.0 version from Ubuntu repository at my college but
again face the same problem.
http://osgeo-org.1803224.n2.nabble.com/file/n5807453/Selection_022.png
Regards,
Chethan S.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Importing-of-raster-data-doesn-t-seem-to-work-through-GUI-tp5805160p5807453.html
Sent from the Grass - Users mailing list archive at Nabble.com.