[gdal-dev] GDAL - GDB issue

Even Rouault even.rouault at spatialys.com
Fri Aug 15 13:52:32 PDT 2014


Selon Scott Rowles <scott_rowles at hotmail.com>:

> OK.  It threw some errors about a missing .csv file which I didn't have
> installed in the solution.  Working on adding that now.  Why doesn't ogr.Open
> return a more clear error?

Please keep the list CC'ed. And when you mention errors that are thrown, you
should copy them verbatim to avoid crystal glass guessing ;-)
Well, I suppose it must have been about the gcs.csv/pcs.csv files that contain
the EPSG projection database. Try to locate where they are installed in your
distribution and define the GDAL_DATA environment variable to point to the
directory where they are located.

>
> > Date: Thu, 14 Aug 2014 19:45:09 +0200
> > From: even.rouault at spatialys.com
> > To: scott_rowles at hotmail.com
> > CC: even.rouault at spatialys.com; gdal-dev at lists.osgeo.org
> > Subject: RE: [gdal-dev] GDAL - GDB issue
> >
> > Selon Scott Rowles <scott_rowles at hotmail.com>:
> >
> > > Even,
> > > No.  Where do I find/download the ogrInfo utility.  I will try that!
> >
> > It should be included in every binary distribution of gdal (e.g.
> > http://gisinternals.com/sdk/). Or if you compile it from source. It is one
> of
> > the many utilities coming with the GDAL library.
> >
> > > scott
> > >
> > > > Date: Thu, 14 Aug 2014 19:25:40 +0200
> > > > From: even.rouault at spatialys.com
> > > > To: scott_rowles at hotmail.com
> > > > CC: gdal-dev at lists.osgeo.org
> > > > Subject: Re: [gdal-dev] GDAL - GDB issue
> > > >
> > > > Selon Scott Rowles <scott_rowles at hotmail.com>:
> > > >
> > > > > Hi,
> > > > > I have an implementation with C# using GDAL 1.11 binaries.  According
> to
> > > the
> > > > > documentation it should process GDB files either as a .zip file, as a
> > > .gdb
> > > > > folder or as a .gdbtalbe individually.
> > > > > I have tried all 3 of them and each one gives me an ogc.Open, cannot
> open
> > > > > this file type error.
> > > > > Is there a switch I need to set or anything I need to do in the GDAL
> > > > > configuration to enable GDB conversion?
> > > >
> > > > Well, it should work. Did you try with the ogrinfo utility to see if
> the
> > > dataset
> > > > is recognized ?
> > > >
> > > > Even
> > > >
> > > >
> > > > --
> > > > Spatialys - Geospatial professional services
> > > > http://www.spatialys.com
> > >
> >
> >
> > --
> > Spatialys - Geospatial professional services
> > http://www.spatialys.com
>


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list