[GRASS5] ArcView AVL files

Hi all,

I'm trying to port some GIS data from ArcGIS to GRASS, and
so far things have been okay. However I have a few questions:

1. When I point r.in.gdal to an adf file in a directory,
does it also read other adf files at the same level?
E.g. I import w001001.adf from the following list of files,
since it was the largest but the resulting location also
contains projection information presumably from prj.adf...

Files in directory:
dblbnd.adf log prj.adf vat.adf w001001x.adf
hdr.adf metadata.xml sta.adf w001001.adf

2. The raster map in GRASS contains straight integer
values at each location. In ArcView it was able to
relate a category to each integer (or range), and I located the
files that this category information is kept in. These
have an extension of *.avl and was wondering if GRASS
has any way of importing this?

---
Also I haven't got the very latest CVS (probably a week
or so old), but whenever I use d.zoom interactively it
chews up processor usage, even while just sitting there
when I'm not clicking on the map. I'm assuming there
is a loop somwhere without a sleep() statement... :slight_smile:

Thanks for your time,

Joel

Joel Peter William Pitt wrote:

Hi all,

I'm trying to port some GIS data from ArcGIS to GRASS, and
so far things have been okay. However I have a few questions:

1. When I point r.in.gdal to an adf file in a directory,
does it also read other adf files at the same level?
E.g. I import w001001.adf from the following list of files,
since it was the largest but the resulting location also
contains projection information presumably from prj.adf...

Files in directory:
dblbnd.adf log prj.adf vat.adf w001001x.adf
hdr.adf metadata.xml sta.adf w001001.adf

Joel,

The GDAL Arc/Info Binary Grid Coverage reads several files from
the target coverage directory. At least prj.adf, w001001.adf,
w001001x.adf, and hdr.adf. I don't believe it uses the others
though I would like to add support for the metadata file at
some point. There has also been talk of utilizing the vat which
I gather allow relating some sort of attribute table to the cell
values in the grid.

2. The raster map in GRASS contains straight integer
values at each location. In ArcView it was able to
relate a category to each integer (or range), and I located the
files that this category information is kept in. These
have an extension of *.avl and was wondering if GRASS
has any way of importing this?

There are some interesting projects related to processing AVL files
into form suitable for use in other applications but I don't know the
status of them or if they work with GRASS. Hopefully someone else will
respond to this.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent

On Thu, Sep 23, 2004 at 11:37:09PM -0400, Frank Warmerdam wrote:

Joel Peter William Pitt wrote:
>2. The raster map in GRASS contains straight integer
>values at each location. In ArcView it was able to
>relate a category to each integer (or range), and I located the
>files that this category information is kept in. These
>have an extension of *.avl and was wondering if GRASS
>has any way of importing this?

There are some interesting projects related to processing AVL files
into form suitable for use in other applications but I don't know the
status of them or if they work with GRASS. Hopefully someone else will
respond to this.

not sure what project you mean.

However, I once wrote a parser for the ESRI .odb files (.apr, .avl
etc.) which builds up a class object tree. It is in Python and I
used it for a proof-of-concept for importing .apr files into Thuban.
With this base a experienced programmer should be able to write a converter
of parsed avl file into some other format in 1 or 2 days ...
This importAPR is a extension of Thuban and thus licensed GNU GPL.

But there may be more suitable approaches out there. I would be glad
to hear about them!

  Jan

--
Jan-Oliver Wagner http://intevation.de/~jan/

Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/