The module not only can analyse the content of an Arc/Info file, but try to create the objects described (geometry and attributes).
m.in.e00 will be run non-interactively if the user specifies program arguments on the command line, using the form:
m.in.e00 [-idts] input=name [mapset=name] [action=what to do] [verbose=debug level] [logfile=name] [list=list]
Alternately, the user can simply type:
m.in.e00
on the command line without program arguments. In this case, the user will be prompted for parameter values using the standard GRASS user interface described in the manual entry for parser.
Unless otherwise directed with the list= parameter m.in.e00 may try to import all of the items in the INFO table of point and polygon attributes. For large e00 files this can prohibitively time-consuming and place unreasonable demands on computer memory.
GRASS files created have the name extracted from the first line of the e00 file, i.e. the name of the coverage. The file is read from the current directory unless specified differently.
The following rules are used : A line vector file is created when there is a non-empty ARC section, and neither PAL (Polygon Attribute Label) section, neither PAT (Point/Polygon Attribute Table) table in INFO section. Otherwise a polygon vector file is created, excepted when the ARC section is empty or doesn't exist, in which case a site file is created.
Dig_cats files are created if the PAT or AAT (Arc Attribute Table) tables have more attributes than the standard one. If there is one extra attribute, the dig_cats file has the name of the vector (dig) file created. If there is more than one extra attribute, the dig_cats files have names of the form cover_name.attribute_name. If you want to use one of them, you must rename it so it matches the name of the vector file. Doing this, the vector modules will use it for the raster file created.
To "activate" a category label file for the vector map "cover_name", change to:
cd $LOCATION/dig_cats/ ls cover_name.* cp cover_name.attribute_name cover_name cd $HOMEIf you want to use another table entry, you have to run above procedure accordingly with cover_name.other_attribute_name.
When importing raster file ("GRID"), cats files are created the same way in $LOCATION/cats. Note that an empty cat file is automaticaly put in this directory when a raster file is created, so m.in.e00 allways use the cover_name.attribute_name form for raster category files.
m.in.e00 input=< filename> action=analyse verbose=7This command will also produce a lot of other information, so it may be best to direct the output to a file.
You must know what to do with all the dig_cats file generated when importing a vector coverage.
The program may crash when unexpexted data (mainly in INFO section) are found, or when the input file is corrupted.
There is no support for projection. Using verbose=1 lets you see the parameters of the e00 file, but you must create the DEFAULT_WIND and the PROJ file yourself. Using verbose=4 (at least), the logfile will show the content of the projection info of the e00 file imported.
New mapset are always created with proj=0 zone=99. If the default proj and zone are not the same, g.region complains and d.vect or d.rast refuse to display your data. The only thing to do is to import in the current mapset.
Last changed: $Date: 2002/07/19 20:40:59 $