I'm new to GRASS coming from an ESRI background. As such, I have quite a few coverages and resultant
.e00 files to bring into GRASS. Most of the coverages were created on a Solaris/UNIX box though some
were created on Windows box. I'm trying to bring these onto a Mac running 10.3.x with the Grass 6.0beta
binary install.
At first I was trying to import the .e00 files directly using v.in.e00. I've seen on the list that there is a bit of a
problem with that. Therefore, I used AVCIMPORT to generate coverages. The problem now is that when
using v.in.ogr with the coverages, I get an ERROR: Cannot open data source.
Mapset <scale100k> in Location <US_dd_NAD83>
GRASS 6.0.0beta1 > v.in.ogr dsn=/volumes/wooster/test/rail1 output=rail layer=ARC type=line
ERROR: Cannot open data source
I originally thought it might be a permissions problem. However, I opened all directories and files to 777
with the same result.
The odd thing is that v.in.ogr works fine with coverages created on the Windows box.
I believe so. I was following the example for Arc/Info coverages.
I made dsn the coverage directory (rail1), and layer to the feature I wished
to import (Arcs/lines).
I'm a bit odd in that I don't really like the shapefile format and prefer to use
coverages and topology.
I'm looking into some other ideas, like making sure the coverages actually
had topology before I generated the .e00 files, the method of transfer (the .e00
files being tar'ed up on Solaris and untar'ed on OS X), UNIX line ends v. Windows
line ends, and of course, my general thick-headedness.
Cheers,
Harry Johnson
On Jan 30, 2005, at 4:47 PM, Hamish wrote:
The problem now is that when
using v.in.ogr with the coverages, I get an ERROR: Cannot open data
source.
Mapset <scale100k> in Location <US_dd_NAD83>
GRASS 6.0.0beta1 > v.in.ogr dsn=/volumes/wooster/test/rail1
output=rail layer=ARC type=line
ERROR: Cannot open data source
are you sure that you are using dsn and layer correctly?
for shape files, dsn should be the directory where data is and layer
should be the name of the shape file (without the .shp extension).