[GRASS5] importing .e00 files

Kirk R. Wythers kwythers at umn.edu
Fri Nov 4 09:30:22 EST 2005


On Nov 3, 2005, at 7:55 PM, Hamish wrote:

>> Importing areas...
>> + v.in.ogr -c -o dsn=glo10k layer=LAB,ARC type=centroid,boundary
>> output=glo10k
>> ERROR: Cannot open data source: glo10k
>> + '[' 1 -eq 1 ']'
>> + echo 'An error occurred. Stop.'
>> An error occurred. Stop.
>> + rm -rf 13707.e00 glo10k info
>>
>
>
> what if you comment out the "rm" line? (244) (add a # at the start  
> of it)

On my system the last line in the file is 240. Are you referring to  
the line:

## area

         rm -rf $E00TMP.e00 $E00SHORTNAME info 2>&1 > /dev/null

or one of these:

#### clean up the mess
rm -f "$TMPDIR"/$E00NAME.e* "$TMPDIR"/$E00NAME.E*
rm -rf $E00TMP.e00 $E00SHORTNAME info $E00NAME.cat.$E00TMP.e00 2>&1  
 > /dev/null
cd ..


>
> Then you can try v.in.ogr by hand, use ogrinfo, see what the file  
> sizes
> are, etc.  (files are in a temp dir)

Can you give a little more detail here Hamish. Thanks.

>
> Hamish
>




More information about the grass-dev mailing list