GDB format

Hi Alexander,
1.For both inputs:
The entire .gdb folder as a single file or .gdbtable and .gdbtablx as an archive file .
What are the mandatories files: .gdbtable and .gdbtablx ?

  1. In case of .gdbtable and .gdbtablx as an archive file , what should be extension of archive file ?
    It should be . gdb or an archive suffix like .zip .7z …?

Your quick answer will be appreciated.

Hi, @danies8
yes, gdbtable and gdbtablx

It’s up to you. In your code you use archive file! For our API to use VectorLayer.Convert you need to set path to gdbtable.

Can i set in your api Path to .gdb folder also?
Or i need to find the .gdbtable file from gdb and verify that also gdtablx exists there?

Your quick answer will be appreciated.

Yes, you can. In case of dataset

Hi Alexander,

I’m working on last format Gdb.

This my instruction to user:
Console.WriteLine(" Gdb:“);
Console.WriteLine(” Purpose:a folder-based database format from Esri storing multiple feature classes and tables.“);
Console.WriteLine(” Files needed: FileGdb can be represent as a dataset or just as one table.“);
Console.WriteLine(” In case of dataset - the entire .gdb folder as a single file.“);
Console.WriteLine(” In case of one table - .gdbtable and .gdbtablx as an archive file.");
Console.WriteLine();

In case of .gdb which what is the mandatories files in it ?
In case of one table - .gdbtable and .gdbtablx as an archive file, what are the mandatories files? both ?

Your quick answer will be appreciated?

Hi, @danies8
.gdbtable and .gdbtablx are the mandatories files!

Note that you can convert only file, not dataset

The file will .gdbtable and .gdbtablx will be in same folder or
.gdb with .gdbtable and .gdbtablx insides?
Is it ?

files .gdbtable and .gdbtablx will be in the same folder

II’m writtem code for Gdb format and test it now.

I try to convert gdb => gdb and got this exception:

Aspose.Gis.GisException
HResult=0x80131500
Message=Failed to open FileGDB Dataset. GDB_SystemCatalog table “D:\GisConverter\Tests\Gdb\Input\gdb1.gdb\a00000001.gdbtable” does not exist.
Source=Aspose.GIS
StackTrace:

This exception was originally thrown at this call stack:
[External Code]
GisConverter.Lib.Converters.UniversalGisConverter.Convert(string, string, string, string, string) in UniversalGisConverter.cs

Please see:

This the data source.
Extract it before you test it.
gdb1.gdb.zip (2.4 MB)

I need to check.
I’ll be back with an answer on monday

When the input is .gdb folder when using ConvetLayer I give the path of .gdb folder as first parameter ? Is it write

I’ll be back with an answer on monday

1 Like

Hi Alexander,
When the input is .gdb folder when using ConvetLayer I give the path of .gdb folder as first parameter and it is not working.
But if I took the .gdbtable path from .gdb folder it works.
Does the second approoch should be for .gdb folder ?

Here are more bugs:
[gdb1] Testing Gdb → GeoPackage

Args: input=‘D:\GisConverter\Tests\Gdb\Input\gdb1.gdb’, format=‘GeoPackage’, output=‘D:\GisConverter\Tests\Gdb\Output\2026-02-15_10-35-46\gdb1\GeoPackage’, temp=‘D:\GisConverter\Tests\Gdb\Temp\2026-02-15_10-35-46\gdb1\GeoPackage’, logPath=‘D:\GisConverter\Tests\Gdb\Log\2026-02-15_10-35-46\gdb1_geopackage_log.txt’, logLevel=‘’
:x: Conversion failed.
2026-02-15T10:35:58.7494928+02:00 (Local) | 2026-02-15T08:35:58.7494928Z (UTC)
Unexpected error: SQLite Error 1: ‘near “,”: syntax error’.
Result: ConversionFailed

[gdb2] Testing Gdb → GeoPackage

Args: input=‘D:\GisConverter\Tests\Gdb\Input\gdb2.gdb.zip’, format=‘GeoPackage’, output=‘D:\GisConverter\Tests\Gdb\Output\2026-02-15_11-36-50\gdb2\GeoPackage’, temp=‘D:\GisConverter\Tests\Gdb\Temp\2026-02-15_11-36-50\gdb2\GeoPackage’, logPath=‘D:\GisConverter\Tests\Gdb\Log\2026-02-15_11-36-50\gdb2_geopackage_log.txt’, logLevel=‘’
:x: Conversion failed.
2026-02-15T11:37:06.5227917+02:00 (Local) | 2026-02-15T09:37:06.5227917Z (UTC)
Unexpected error: SQLite Error 1: ‘near “,”: syntax error’.
Result: ConversionFailed

[gdb3] Testing Gdb → GeoPackage

Args: input=‘D:\GisConverter\Tests\Gdb\Input\gdb3.gdb.7z’, format=‘GeoPackage’, output=‘D:\GisConverter\Tests\Gdb\Output\2026-02-15_11-36-50\gdb3\GeoPackage’, temp=‘D:\GisConverter\Tests\Gdb\Temp\2026-02-15_11-36-50\gdb3\GeoPackage’, logPath=‘D:\GisConverter\Tests\Gdb\Log\2026-02-15_11-36-50\gdb3_geopackage_log.txt’, logLevel=‘’
:x: Conversion failed.
2026-02-15T11:37:16.2974111+02:00 (Local) | 2026-02-15T09:37:16.2974111Z (UTC)
Unexpected error: SQLite Error 1: ‘near “,”: syntax error’.
Result: ConversionFailed

The data source:
Gdb.7z (4.9 MB)

Hi, @danies8
I’ll be back with an answer on monday.

Hi, @danies8
As i said you can convert only gdb which is represent as table not as folder (dataset).

Our API is VectorLayer.Convert, not is Dataset.Convert
We can convert one VectorLayer to other VectorLayer.
Hope all questions above are clear now.