Exporting GRASS Raster Data to ArcGIS
Nov 4, 2006 metroadminPremise:
Exporting FCELL or DCELL raster data from GRASS to ArcGIS can be a bit of a pain. Exporting to GeoTIFF with r.out.gdal can result in files which sort of work. In ArcMap these files are initially displayed as having a data range of (1.17549e-038,3.40282e+038). If however, you choose to render the image using a fixed number of classes, the correct data range is displayed. Converting the geotiff to GRID via IMAGEGRID resulting in a bogus file, which appears to be caused by IMAGEGRID interpreting it as integer. Some of theses issues may be associated with this ticket on the OSGEO trac site.
Key points:
- proper encoding of NoData values
- proper encoding of coordinate system metadata
- proper interleaving of geotiff files: Arc-*** wants pixel-interleaved data
Here are some attempts using the spearfish60 sample dataset:
1. Try r.out.gdal [data range in ArcMap 9.2 is reported as (1.17549e-038,3.40282e+038)]
2. Try r.out.arc and gdal_translate [data range in ArcMap 9.2 is reported as (1.17549e-038,3.40282e+038)]
3. Try r.out.arc with post-processing in ArcMap [works fine, SRS is lost, and ASCII files may become VERY large]