BLOG
|
Any chance you could update the .h files so that they don't define EXT_FILEGDB_API if it is already defined? Adding the first and last lines in bold below does the trick. #ifndef EXT_FILEGDB_API # ifndef EXPORT_FILEGDB_API # if defined __linux__ || defined __APPLE__ # define EXT_FILEGDB_API # else # define EXT_FILEGDB_API _declspec(dllimport) # endif # else # if defined __linux__ || defined __APPLE__ # define EXT_FILEGDB_API __attribute__((visibility("default"))) # else # define EXT_FILEGDB_API _declspec(dllexport) # endif # endif #endif Also I notice the copyright information in the header files is not the same license (Apache 2) as the zip packages that contain the header files on github.com.
... View more
06-05-2017
02:40 PM
|
1
|
0
|
5573
|
POST
|
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.
... View more
12-21-2016
05:40 PM
|
0
|
0
|
304
|
POST
|
It's hard to know exactly as my application uses multiple threads. Yes I know the FGDB sucks with threads. Yes I have appropriate synchronization blocks. I was hoping someone from ESRI would be able to say something like: "We throw that exception when the underlying file geodatabase has been modified and a query tries to read from it". It's very hard to debug proprietary code without stack traces and source code.
... View more
12-13-2016
03:15 PM
|
0
|
0
|
576
|
POST
|
File Geodatabase API (as tagged in the post). Version 1.4. Switching to another writer is not a option.
... View more
12-12-2016
03:13 PM
|
0
|
0
|
576
|
POST
|
The following error is thrown by the File Geodatabase API. The user does not have permission to execute the operation. (-2147220987) What does it mean?
... View more
12-09-2016
03:29 PM
|
0
|
4
|
2537
|
Title | Kudos | Posted |
---|---|---|
1 | 06-05-2017 02:40 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|