3
votes
1answer
98 views

Shp to featuredataset (GeoDB)

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 ...
2
votes
2answers
230 views

How to copy selected features from one sde to another using ArcObjects?

Assuming I have two SDEs or other datasources with the same datamodel. One contains features the other one is empty. In ArcMap I have layers from both datasources in my table of contents. Now I would ...
0
votes
0answers
140 views

A procedure imported by 'Esri.FileGDBAPI.DLL' could not be loaded

I'm having issues getting my Esri.FileGDBAPI.DLL to work. I have the other two files, FileGDBAPI.dll, FileGDBAPID.dll in my bin folder. I can only add the Esri dll to my references, the other two I ...
2
votes
0answers
246 views

Can I use an Update cursor with a versioned feature class which has attachments in ArcObjects .NET

I have a problem with my code (C# ArcObjects 10.1). We are trying to update and insert 10 - 15 rows at a time into a feature class hosted in ArcSDE 10.1 on SQL Server 2008 R2. We have a feature class ...
2
votes
0answers
314 views

How to copy a feature class within the same GDB

I'm trying to copy/clone a feature class within the same file gdb using C#. I've figured out that this won't work with IDataset or IFeatureDataset. So far I only found IGeoDBDataTransfer.Transfer but ...
2
votes
1answer
483 views

Benefits of relationship classes and how they can be accessed in c#

At the moment I've a personal geodatabase with two imported feature classes from shape files and an own created table. This table has columns for the IDs of the elements in the two feature classes. ...
2
votes
1answer
175 views

How to search an ITable with conditions [duplicate]

At the moment I am searching for the most effective method of searching an ITable with one or more conditions (like where clauses). I can perform it manually by iterating through each row and proof ...
2
votes
1answer
239 views

How to access a table in a personal geodatabase using C#

I've a personal geodatabase which has some shape files included. To get a "complex" relation I've created a single table which will be have 1:1 or 1:N references which the different shape files (atm. ...
3
votes
2answers
174 views

Running Regular Queries Through ArcSDE

Working on an .net arcobjects app that's connecting to a Geodatabase (Oracle) through ArcSDE. I make a bunch of edits inside a EditSession but the data I am touching have a bunch of foreign Key ...
5
votes
0answers
221 views

Plugin Workspace: when to close an OleDbDataReader?

I'm developing a plugin workspace for ArcGIS. Internally, the plugin uses an OleDBconnection. All of the sample code I see seems to stress the importance of closing and disposing the connection. ...
1
vote
1answer
2k views

How do I start to debug COM error “HRESULT E_FAIL” for TableToGeodatabase geoprocessing tool?

I've got some code that creates a table using OLEDB connections to an access table. I want to convert this table to a Geodatabase table, so I ask a question How do I convert an access table to a ...
3
votes
2answers
424 views

Using ArcObjects, how to convert an Access table into a proper geodatabase table?

I have inherited an ArcGIS application that creates a number of access database tables. I'd like to use ArcObjects to convert them to proper geodatabase tables, which I understand to mean simply ...
1
vote
1answer
194 views

Dealing with tables in ArcMap

I had create a table and line feature class in ArcCatalog. i want to deal with those tables in ArcMap. Read Add Delete Update how could i do that?
2
votes
1answer
106 views

How to use IObjectClassEvents?

I need to use IObjectClassEvents in my project. I don't know how to start, can any one give me a simple explanation, or an example in C#.
3
votes
2answers
595 views

How to use the ISpatialFilter interface with ArcGIS 10.1?

From what I've heard till now: 1) ArcGIS from version 10.1 and forth will only support http connections: local connections will not be supported any longer. 2) The code ESRI.ArcGIS.Carto.IMapServer ...
2
votes
0answers
1k views

IFeatureWorkspace.CreateFeatureClass() error

I am trying to read a csv file straight into a set of new feature classes within a new file geodatabase, but I am getting the following stack trace when it fails: Attempted to read or write ...
1
vote
1answer
325 views

What is the best way to host a GeoDatabase on an ArcGISServer?

I have a simple Geodatabase in access format. I'd really like to host this database on an ArcGIS server through one of their services. The idea is that my users would be able to connect to this ...