Dear all,
I tried to import a vector e00 file including categories in GRASS-5.0.2.
I used m.in.e00 but the categories are not imported.
Any hints for better import?
Ulrich
--
__________________________________________________
Ulrich Leopold MSc.
Department of Physical Geography
Institute for Biodiversity and Ecosystem Dynamics
Faculty of Science
University of Amsterdam
Nieuwe Achtergracht 166
NL-1018WV Amsterdam
Phone: +31-(0)20-525-7456 (7451 Secretary)
Fax: +31-(0)20-525-7431
Email: uleopold@science.uva.nl
http://www.frw.uva.nl/soil/Welcome.html
Check us also out at:
Netherlands Centre for Geo-ecological Research
http://www.frw.uva.nl/icg
Hi,
Actually the categories have been imported. If you change directory
to your mapset and look into sub-directory of "dig_cats", you will
find some files whose name is the name of your e00 file and using
the name of category as its suffix. You can copy a file which has
the category you want to the name of e00 file and run "r.support".
Then your Grass vector will have category.
Good Luck
Xueming
On 10 Jun 2003, Ulrich Leopold wrote:
Dear all,
I tried to import a vector e00 file including categories in GRASS-5.0.2.
I used m.in.e00 but the categories are not imported.
Any hints for better import?
Ulrich
--
__________________________________________________
Ulrich Leopold MSc.
Department of Physical Geography
Institute for Biodiversity and Ecosystem Dynamics
Faculty of Science
University of Amsterdam
Nieuwe Achtergracht 166
NL-1018WV Amsterdam
Phone: +31-(0)20-525-7456 (7451 Secretary)
Fax: +31-(0)20-525-7431
Email: uleopold@science.uva.nl
http://www.frw.uva.nl/soil/Welcome.html
Check us also out at:
Netherlands Centre for Geo-ecological Research
http://www.frw.uva.nl/icg
On 10 Jun 2003 15:57:12 +0200, Ulrich Leopold wrote
Dear all,
I tried to import a vector e00 file including categories in GRASS-5.0.2.
I used m.in.e00 but the categories are not imported.
Any hints for better import?
As I recall, m.in.e00 offers three methods for porting the contents of the e00
INFO tables to grass category text. The only method that works is to create a
separate category file for each columnar entry in the INFO table. If there
are n data columns in the table then you will get n different category files.
Those files are all named with the convention <dig file name>.<column name>.
The files are all stored in the dig_cats directory for your current location,
but none of them are found automatically by GRASS because of their naming
convention. In order to use any of the category files you must rename the
file, giving it the same name as the dig file.
Roger Miller
Roger Miller wrote:
Those files are all named with the convention <dig file name>.<column name>.
The files are all stored in the dig_cats directory for your current location,
but none of them are found automatically by GRASS because of their naming
convention. In order to use any of the category files you must rename the
file, giving it the same name as the dig file.
The best method is to use a symbolic link, pointing to the file you need as
category file. There is also a method to directly assign a numeric category
as the new attribute value (may be usefull to assign the correct level to a
set of contour lines, etc.) : you have to use v.reclass with a slightly
modified category file (look at the manual for reclass and the difference
with a cat file : a simple script with sed piped to v.reclass do the trick)
--
Michel Wurtz - Auzeville-Tolosane