[GRASS5] importing .e00 files

Kirk R. Wythers kwythers at umn.edu
Fri Nov 4 13:52:12 EST 2005


On Nov 3, 2005, at 3:18 PM, Shaun Walbridge wrote:

> Hey Kirk,
>
> Sorry I didn't respond earlier; your message was picked up by my  
> GRASS mailing list filter and I hadn't gone through the messages.   
> Are you still having problems importing your .e00 files?  If so,  
> there is an alternative approach:  you can use the `avcimport' tool  
> (came with the library you recently built) to convert the e00  
> compressed coverage into a simple binary coverage (It just unpacks  
> the coverage into its native, non-compressed form).  Afterward, you  
> can use v.in.ogr to convert the Arc Coverage to a grass vector.   
> The documentation is in v.in.ogr.html, and the example they use is:
>
> *v.in.ogr dsn=*/coverage/ *layer=*/LAB,ARC/ *type=*/ 
> centroid,boundary/ *output=*/mymap


In addtion to working with v.in.e00, I have also tried Shaun's  
suggestion of using avcimport manually (creates 6 .adf files), then  
using v.in.ogr to import. I'm getting the same error "Cannot open  
data source".

GRASS 6.1.cvs (arrowhead_utm):~ > v.in.ogr dsn=~/Desktop/tmp/ 
glo10ktest/  out=glo10ktest
ERROR: Cannot open data source:
        /Network/Servers/truffula.fr.umn.edu/Volumes/disk1/home1/ 
kwythers/Desktop/tmp/glo10ktest/

This is probably caused by the same issue that was giving the  
v.in.e00 script fits. Any other thoughts?

Kirk




>
> There is more information on the various layer types here:
> http://www.gdal.org/ogr/drv_avc.html/
> //
> Hope this helps,
> Shaun
>
> Kirk R. Wythers wrote:/
> /
>
>> Hey Shaun,
>>
>> I'm still having some trouble with those .e00 files. I built  
>> avce00  and e00compr, and installed:
>>
>> e00conv
>> avcdelete
>> avcexport
>> avcimport
>> avctest
>>
>> in /usr/local/bin
>>
>> I am no longer getting the error e00conv not found, but I still  
>> get  the error "can't open data source:"
>>
>> GRASS 6.1.cvs (arrowhead_utm):~ > v.in.e00 -v file=~/Desktop/  
>> glo10k.e00 type=area vect=glo10k
>> An error may appear next which will be ignored...
>> E00 Compressed ASCII found. Will uncompress first...
>> ...converted to Arc Coverage in current directory
>> Importing areas...
>> ERROR: Cannot open data source: glo10k
>> An error occurred. Stop.
>> GRASS 6.1.cvs (arrowhead_utm):~ >
>>
>> Am I still missing something?
>>
>>
>> On Nov 2, 2005, at 12:29 PM, Shaun Walbridge wrote:
>>
>>> Hi Kirk,
>>>
>>> You can just build avce00. It should be pretty straightforward  
>>> to  set up. Then either install the binaries to somewhere on  
>>> your  $PATH, or edit v.in.e00 to point to the locations. The  
>>> GRASS dev  folks should probably include it as a configure  
>>> option, but I guess  they see it as being external to the core  
>>> GRASS stuff.
>>>
>>> - Shaun
>>>
>>> Kirk R. Wythers wrote:
>>>
>>>
>>>> Thanks Shaun. Does grass need to be re-compiled, or can I just   
>>>> build  avce00?
>>>>
>>>> On Nov 2, 2005, at 12:05 PM, Shaun Walbridge wrote:
>>>>
>>>>
>>>>> Kirk,
>>>>>
>>>>> The v.in.e00 script is dependent on your system having avce00    
>>>>> already installed.  You can download this library at: http://   
>>>>> avce00.maptools.org/.
>>>>>
>>>>> -Shaun
>>>>>
>>>>> Kirk R. Wythers wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Does anyone have any ideas as to what might be wrong with  
>>>>>> the    following command:
>>>>>>
>>>>>> GRASS 6.1.cvs (arrowhead_utm):~ > v.in.e00 -v file=/Volumes/  
>>>>>> disk2/  data2/reich_lab/data/fia/glo10k.e00 type=area vect=glo10k
>>>>>> An error may appear next which will be ignored...
>>>>>> E00 Compressed ASCII found. Will uncompress first...
>>>>>> /usr/local/grass-6.1.cvs/scripts/v.in.e00: line 175:  
>>>>>> e00conv:   command  not found
>>>>>> ...converted to Arc Coverage in current directory
>>>>>> Importing areas...
>>>>>> ERROR: Cannot open data source: glo10k
>>>>>> An error occurred. Stop.
>>>>>> GRASS 6.1.cvs (arrowhead_utm):~ >
>>>>>>
>>>>>> This files appears to open fine with ArcView, so I don't  
>>>>>> think   the  file is bad. However, I am confused by the "can't  
>>>>>> open  data  source"  message.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Kirk
>>>>>>
>>>>>> _______________________________________________
>>>>>> grass5 mailing list
>>>>>> grass5 at grass.itc.it
>>>>>> http://grass.itc.it/mailman/listinfo/grass5
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>




More information about the grass-dev mailing list