[gdal-dev] OpenFileGDB, feature classes in feature dataset

Even Rouault even.rouault at spatialys.com
Tue Mar 17 21:22:36 PDT 2015


Selon Armin Burger <armin.burger at gmx.net>:

> Hi Even
>
> Thanks a lot again! I added the fix to the current 1.11.2 version and
> afterwards everything was fine, all layers in the FGDB v9 were found.

Cool. It would be usefull if someone could provide a as small as possible FGDB
v9 dataset to be used for regression testing. Let's say with a layer with a
point, another one with a line, another one with a polygon, multipoint, etc...
One no-spatial layer. One feature dataset layer. Something similar to
http://svn.osgeo.org/gdal/trunk/autotest/ogr/data/testopenfilegdb.gdb.zip but
generated by ArcGIS v9. It wouldn't have necessary caught this bug, but that
would be at least a start.

>
> Cheers
> Armin
>
>
> On 03/15/2015 04:08 AM, Even Rouault wrote:
> > Armin,
> >
> > I've committed a fix in http://trac.osgeo.org/gdal/ticket/5875 that should
> > hopefully fix your issue. There was a problem with the presence of non
> spatial
> > tables that could cause later tables not to be listed. This wasn't
> specifically
> > related to feature classes.
> >
> > Even
> >
> >> Hi Even
> >>
> >> thanks for the reply!
> >>
> >> The FGDB dataset where I discovered that has unfortunately some
> >> commercial IPR restrictions, so I cannot share it (and it in addition
> >> has some 800 MB...). I will try to create a test FGDB with a similar
> >> internal structure, I have to check if I can create an FGDB v9 format
> >> with recent ArcGIS versions.
> >>
> >> Armin
> >>
> >>
> >> On 03/10/2015 06:48 AM, Even Rouault wrote:
> >>> Selon Armin Burger <armin.burger at gmx.net>:
> >>>
> >>>> Dear all
> >>>>
> >>>> I have a question regarding the OpenFileGDB driver in 1.11.2 release. It
> >>>> now lists also non-spatial tables as layers of an FGDB (as mentioned in
> >>>> the changelog). But it seems to not list any more layers that are
> >>>> "feature classes" under a parent "feature dataset" (that's how the
> >>>> relation is displayed in ArcGIS). This is at least the case for FGDB's
> >>>> in older v9 format. In GDAL version 1.11.0 these feature classes were
> >>>> still listed as layers.
> >>>>
> >>>> Is this a bug or an intended behavior?
> >>>>
> >>>
> >>> Looks like an unfortunate side effect. could you open a ticket and attach
> >> such a
> >>> GDB or provide a link to it ?
> >>>
> >>>
> >>>> Best regards
> >>>> Armin
> >>>> _______________________________________________
> >>>> gdal-dev mailing list
> >>>> gdal-dev at lists.osgeo.org
> >>>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> >>>>
> >>>
> >>>
> >>
> >
> >
>


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


More information about the gdal-dev mailing list