[osgeo4w-dev] Re: [osgeo4w] #245: gpsbabel fails to open some files

OSGeo4W trac_osgeo4w at osgeo.org
Mon Dec 5 17:13:11 EST 2011


#245: gpsbabel fails to open some files
--------------------+-------------------------------------------------------
Reporter:  Alister  |       Owner:  osgeo4w-dev@…              
    Type:  defect   |      Status:  new                        
Priority:  minor    |   Component:  Package                    
 Version:           |    Keywords:  gpsbabel                   
--------------------+-------------------------------------------------------

Comment(by Alister):

 Ogrinfo understands it here :)

 With the osgeo4w gpsbabel:
 {{{
 $ ogrinfo problem.gdb
 ERROR 1: [gpsbabel error] gdb: Unexpected end of file ((Memory stream))!


 FAILURE:
 Unable to open datasource `problem.gdb' with the following drivers.
   -> ESRI Shapefile
   -> MapInfo File
 ...
 }}}

 With the gpsbabel executable from the windows installer:

 {{{
 $ ogrinfo problem.gdb
 Had to open data source read-only.
 INFO: Open of `problem.gdb'
       using driver `GPSBabel' successful.
 1: tracks (Multi Line String)
 2: track_points (Point)
 }}}

 I have a couple of other .gdb files here which do work with the osgeo4w
 gpsbabel.  They each have one point layer and no line string layers, so
 possibly the gpsbabel in osgeo4w doesn't understand .gdb files with
 multiple layers, or doesn't understand linestring layers.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/245#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list