[mapserver-users] ogr2ogr hangs converting e00 files

Arthur A. Person person at meteo.psu.edu
Tue Dec 23 09:08:37 PST 2008


Jeff,

On Tue, 23 Dec 2008, Jeff McKenna wrote:

> Arthur A. Person wrote:
>> Hi...
>> 
>> I'm trying to convert .e00 international boundary files into shapefile 
>> format using ogr2ogr, but when I run the conversion, ogr2ogr just hangs and 
>> hogs the processor.  Here's the details:
>> 
>> OS:  RH Linux 4.7 (2.6.9-78.0.8.ELsmp)
>> gdal:  1.5.1 basic
>> 
>> command: ogr2ogr -f "ESRI Shapefile" bound.shp bound.e00
>> 
>> output:
>>   ERROR 6: Can't create fields of type IntegerList on shapefile layers.
>>
>>   ERROR 6: Can't create fields of type IntegerList on shapefile layers.
>>
>>   (then hangs hogging the processor...)
>> 
>> Even though ogr2ogr hangs, it still produces a bunch of files including a 
>> bound.shp file.  However, when I try to display that file using mapserver, 
>> it just produces a blank screen.
>> 
>> output from ogrinfo for bound.e00:
>>   Had to open data source read-only.
>>   INFO: Open of `bound.e00'
>>         using driver `AVCBin' successful.
>>   1: ARC (Line String)
>>   2: CNT (Point)
>>   3: LAB (Point)
>>   4: PAL (Polygon)
>> 
>> The bound.e00 file I'm using for testing is the North American Atlas 
>> political boundaries file from nationalatlas.gov.
>> 
>> On a related note, does anyone know whether an open source file of 
>> international political/land boundaries exists that would save me the work 
>> of trying to combine a bunch of individual files together?  I've searched 
>> high and low and can't seem to find anything...
>>
>>                      Thanks...
>>
>>                        Art
>

Thanks for the quick response...

> I don't believe e00 write access is supported by OGR 
> (http://www.gdal.org/ogr/drv_avce00.html), so I would use the AVCE00 library 
> (http://avce00.maptools.org/avce00/index.html) to convert to coverage and 
> then ogr2ogr to shapefile.

Perhaps I'm missing something... but the command I'm using is supposed to 
*read* the .e00 file and *write* the shapefile... so why would ogr2ogr be 
writing a .e00 file?  Do I have something backwards, or is there an 
intermediate step I'm not aware of?

                        Thanks...

                          Art


> happy holidays all.
>
>
> -- 
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>

Arthur A. Person
Research Assistant, System Administrator
Penn State Department of Meteorology
email:  person at meteo.psu.edu, phone:  814-863-1563



More information about the MapServer-users mailing list