[GRASSLIST:7637] GRASS data to ArcView

Hello,

I just encountered the problem that my colleagues can't import data exported
from GRASS appropriately into ArcView.
I tried to convince them to use GRASS but without success so far ,-)

the raster to export specs are:
Type of Map: raster Number of Categories: 255
Data Type: DCELL
Rows: 2230
Columns: 3434
Total Cells: 7657820
Range of data: min = 0.000000 max = 35.653061

r.out.tiff input=test output=test -t //results in 3 bands in ArcView not in
one; from ERDAS I know that I can specify if 1 or 3 (RGB) bands shall be
exported

r.out.arc input=test output=- > test.grd //results in no image at all

r.out.ascii does not import as well.

I recognised missing endings of the exported files. Do I have to add certain
file specifications?

Any experience with GRASS -> ArcView communication?

regards, Martin

--
Martin Wegmann

DLR - German Aerospace Center
German Remote Sensing Data Center
@
Dept.of Geography
Remote Sensing and Biodiversity Unit
University of Wuerzburg
Am Hubland
97074 Würzburg

phone: +49-(0)931 - 888 4797
fax: +49-(0)931 - 888 4961
http://www.biota-africa.org
http://www.biogis.de

Martin, have you tried r.out.bin? Also, when using r.out.ascii, did you specify the number of significant digits with dp=? I might be wrong, but I don't think tiff supports decimal values. I am not sure about the r.out.arc, i haven't really used it before.

-Ian

On Jul 20, 2005, at 8:10 AM, Martin Wegmann wrote:

Hello,

I just encountered the problem that my colleagues can't import data exported
from GRASS appropriately into ArcView.
I tried to convince them to use GRASS but without success so far ,-)

the raster to export specs are:
Type of Map: raster Number of Categories: 255
Data Type: DCELL
Rows: 2230
Columns: 3434
Total Cells: 7657820
Range of data: min = 0.000000 max = 35.653061

r.out.tiff input=test output=test -t //results in 3 bands in ArcView not in
one; from ERDAS I know that I can specify if 1 or 3 (RGB) bands shall be
exported

r.out.arc input=test output=- > test.grd //results in no image at all

r.out.ascii does not import as well.

I recognised missing endings of the exported files. Do I have to add certain
file specifications?

Any experience with GRASS -> ArcView communication?

regards, Martin

--
Martin Wegmann

DLR - German Aerospace Center
German Remote Sensing Data Center
@
Dept.of Geography
Remote Sensing and Biodiversity Unit
University of Wuerzburg
Am Hubland
97074 Würzburg

phone: +49-(0)931 - 888 4797
fax: +49-(0)931 - 888 4961
http://www.biota-africa.org
http://www.biogis.de

What about r.out.gdal? It will give you several options, many of which are supported by ArcView. I haven't used this module, but have used GDAL extensively. You may even be able to just use gdal_translate (part of http://fwtools.maptools.org) to convert GRASS raster straight to TIFF with less headache.

Tyler

Ian MacMillan wrote:

Martin, have you tried r.out.bin? Also, when using r.out.ascii, did you specify the number of significant digits with dp=? I might be wrong, but I don't think tiff supports decimal values. I am not sure about the r.out.arc, i haven't really used it before.

-Ian

On Jul 20, 2005, at 8:10 AM, Martin Wegmann wrote:

Hello,

I just encountered the problem that my colleagues can't import data exported
from GRASS appropriately into ArcView.
I tried to convince them to use GRASS but without success so far ,-)

the raster to export specs are:
Type of Map: raster Number of Categories: 255
Data Type: DCELL
Rows: 2230
Columns: 3434
Total Cells: 7657820
Range of data: min = 0.000000 max = 35.653061

r.out.tiff input=test output=test -t //results in 3 bands in ArcView not in
one; from ERDAS I know that I can specify if 1 or 3 (RGB) bands shall be
exported

r.out.arc input=test output=- > test.grd //results in no image at all

r.out.ascii does not import as well.

I recognised missing endings of the exported files. Do I have to add certain
file specifications?

Any experience with GRASS -> ArcView communication?

regards, Martin

--
Martin Wegmann

DLR - German Aerospace Center
German Remote Sensing Data Center
@
Dept.of Geography
Remote Sensing and Biodiversity Unit
University of Wuerzburg
Am Hubland
97074 Würzburg

phone: +49-(0)931 - 888 4797
fax: +49-(0)931 - 888 4961
http://www.biota-africa.org
http://www.biogis.de

I am not sure about the r.out.arc, i haven't really used it before.

FWIW, r.out.arc has always worked for me. (but I haven't used it all
that much)

http://grass.ibiblio.org/grass61/manuals/html61_user/r.out.arc.html

It's just a text file. Look inside to see if there is any data there.

I think it just works on the current region, make sure that is correct.

Hamish