ANN: using 1.4 C++ FGDB from Java

753
1
12-20-2016 04:55 AM
PatriceFREYDIERE
New Contributor II

here is a modest contribution for using the filegeodatabase api from java

GitHub - frett27/jfgdb: Java File Geodatabase (FGDB) JNI Wrapper, permit to read/write simple featur...  

hope this could help in some manner

Tags (1)
0 Kudos
1 Reply
PaulAustin1
New Contributor II

Just a heads up Java access to FGDB can be tricky because the FGDB library has ZERO support for threads. In fact the thread support is so bad that certain operations (involving XML) have to always be done in the same thread. If that thread no longer exists then the api will cause a crash if you try and do any operation involving XML (e.g. creating a new table, opening a FGDB etc).

Also make sure you implement careful synchronization to any static methods and access to methods on each FGDB that you open.

0 Kudos