1
vote
1answer
41 views

Invalid SQL-Statement error when querying file-geodatabase table date field with arcobjects

I want to query a DateTime Field in a table in a file-geodatabase and I keep on getting the error "invalid sql statement" (Error Code: -2147220985) while that sql statement does not give me an error ...
3
votes
0answers
27 views

How to update a field in one geodatabase table via a join to another geodatabase table?

I have 2 tables in a file geodatabase and I need to update a field (via ArcObjects) in the first table with a field in the first. Basically, the equivalent to SQL Server's update statement: UPDATE t1 ...
1
vote
1answer
24 views

ArcObjects 10.1 IDatabaseCompact lock file

I'm trying to automate one of task by creating code that will execute the IDatabaseCompact.Compact method to a GDB file. Everything seems to work fine but there is always a .lock file generated after ...
2
votes
1answer
97 views

Accessing File Geodatabase to convert to shapefiles using ArcObjects?

The end result of what I'm trying to do is convert a FGDB into a folder of shapefiles. To do this, I need access to all the data I'd expect to see in a shapefile. Once I get all the information I need ...
1
vote
1answer
134 views

Copy features between file geodatabase and ArcSde by using ArcObjects

I want to transfer all contents of a table from file geodatabase (*.gdb) to a table in ArcSde. In fact the data is meant to be replaced, so I need also to clear the table in ArcSde. Both tables have ...
2
votes
1answer
48 views

GDB conversion to MongoDB

I'm interested in converting a GeoDatabase to a MongoDB database. more specifically, given I have a GeoDatabase (.gdb files), how do I convert these files to fit into a MongoDB Database (.bson files). ...
2
votes
1answer
564 views

ArcObjects 10.1 Error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))

I am trying to execute the below sample code Copying or loading data while preserving GlobalID values from ArcObjects 10.1 help. I am creating IWorkspace from FileGDB-Path using ...
3
votes
1answer
162 views

Importing shapefile to file geodatabase feature dataset using ArcObjects and C#?

I'm trying to import a shapefile into a featuredataset under a geodatabase using FeatureDataConverter.ConvertFeatureClass. All the examples that I found are not concerning the import under an existing ...
5
votes
0answers
75 views

Can I verify that attribute indexes are being used in a query from ArcObjects?

We have some software as part of a larger project written using ArcObjects via .NET. This software migrates and merges data from multiple file geodatabases in one schema to a single file geodatabase ...
6
votes
1answer
692 views

How to programmatically determine the size of a feature class in a file geodatabase?

My answer to the question How to get the size of a file geodatabase feature class on disk? shows how one can enable a column in ArcCatalog showing the file size of FGDB feature classes in the contents ...
2
votes
4answers
913 views

How to distinguish between File and Personal Geodb workspace?

I am looking for a way - given an IWorkspace object - to check if it was created from a Personal-GDB or a File-GDB. I tried using IWorkspace.WorkspaceFactory to check if it's an instance of e.g. ...
2
votes
1answer
370 views

Are there known issues about UPPER, LOWER SQL functions in ArcGIS 10, file GDB?

Platform: ArcGIS 10 SP3, .NET I use: IQueryFilter queryFilter = new QueryFilterClass(); with ArcGIS .NET SDK and build a query... Does anybody had problems using UPPER(stringField) and ...
10
votes
2answers
995 views

How to unit test ArcObjects with Mocking?

I'm a huge fan of unit testing, but still make use of a FGDB to grab features for running unit tests against when using the ArcObjects framework. Is anyone successfully using mocking against thinks ...