[GRASSLIST:3755] Re: ARC/INFO Coverage files.
Frank Warmerdam
warmerdam at pobox.com
Sat May 25 15:19:51 EDT 2002
Markus Neteler wrote:
> On Sat, May 25, 2002 at 07:31:47AM -0400, Ben Logan wrote:
>
>>Hello,
>>
>>I have some ARC/INFO Coverage files I would really like to use with
>>GRASS. Is there any way to do so? (Btw, the data providers are
>>apparently not willing to provide the data in any other format.)
>>
>>Thanks,
>
>
> Hi Ben,
>
> to some extend 'r.in.gdal' should do the job. The trick is to
> specify the *directory*, not a filename (why? I don't know).
>
> See also
> http://grass.itc.it/gdp/html_grass5/import.html
> -> EHdr (ESRI HDR)
> http://www.remotesensing.org/gdal/frmt_various.html
Ben / Markus,
Actually, r.in.gdal is only for rasters. Is your coverage a vector
coverage or a grid? If it is a grid, r.in.gdal should work. If it
is a vector coverage you will need another approach. The OGR portion
of GDAL supports grids now (post 1.1.7) but r.in.gdal does not.
You could use the avcimport/arcexport program to convert the coverage to
an E00 file and then import that with m.in.e00. See:
http://pages.infinit.net/danmo/e00/index-avce00.html
Good luck,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the grass-user
mailing list