0
votes
1answer
53 views

How to edit feature in sqlserver geodatabase

I am using arcmap 10.2.1 and arcobject 10.2.1,I just want to conncet to a geodatabase and edit,add,delete a feature from a feature class using arcobject,I tried to connect to database and it works ...
0
votes
0answers
22 views

Why do converting GPS points to polygon using ArcObjects differ from manual converting?

I am working on a project where I have a .gpx file, convert it to a polygon and save it in a geodatabase. I wrote the code and it works fine. But when I rewrote the code in ArcMap using the gpx to ...
1
vote
1answer
44 views

Connecting to SQL Server Geodatabase using ArcObject in C#

I am going to save a polygon that is created from points to remote geodatabase.I am new with arcobject and cant undrestand how it works..at this point I want to open a connection to database using ...
0
votes
1answer
62 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 ...
3
votes
1answer
125 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
363 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 ...
2
votes
1answer
208 views

How can you tell if a RDBMS is an ArcSDE Geodatabase?

I want to know if there is any way I can query the RDBMS to determine whether it is an ArcSDE Geodatabase, or if I have to do it through ArcObjects. I am wondering if it would be enough to check if ...
2
votes
1answer
339 views

How to replicate an unversioned SDE geodatabase to a file geodatabase?

I need to implement a process for creating a file geodatabase copy (a read-only snapshot, essentially) of a production SDE geodatabase without using versioning, adding global ID columns, etc. I cannot ...
1
vote
1answer
124 views

Access Personal geodatabase using java

Following example through ESRI is to access the features of file geodatabase (GDB) , ...
0
votes
1answer
57 views

Get Conflict Value from ConflictWindow

When I reconcile a version in Arc Map, if it has any conflicts it will stop the reconcile operation and open a window. The window shows the conflicts of that particular version with red dots. My task ...
2
votes
0answers
293 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
401 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
71 views

Personal Geodatabase: Access speed up due the use of RelationshipClasses?

I've a special question about the effects of RelationshipClasses. For some reasons I've created a Personal Geodatabase and imported two features from Shape-Files and created an own table. For ...
2
votes
1answer
530 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. ...
1
vote
0answers
52 views

How do I prevent Arcmap from verifying SQL expressions when using a plugin dataset?

I've written a plugin workspace for ArcGIS. I'm able to compose a where clause containing syntax that my implementation of IPluginDatasetHelper understands, assign it to IQueryFilter.Whereclause, and ...
2
votes
1answer
216 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 ...
3
votes
2answers
211 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 ...
3
votes
0answers
834 views

Error opening feature class from SDE (which can be opened in another application)

We're using ArcGis 10.1 with ArcSDE 9.3.1 on Oracle 10g. I've got 2 layers that cannot be opened or modified with ArcCatalog or ArcMap (but they show up in the list. Everything worked just fine ...
5
votes
0answers
234 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. ...
6
votes
1answer
171 views

How is IValidate.GetInvalidRules supposed to work?

we are currently trying to programmatically validate features against geodatabase-defined rules. This includes attribute rules as well as connectivity and relationship rules. We have consulted the ...
1
vote
1answer
3k 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
502 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
0answers
70 views

How to protect my application ESRI FGDB data from authorized access using other applications?

I have ArcObjects app which uses file geodatabase for storing data and performing CRUD operations. This file geodatabase needs to be protected from reading data in other applications such as ArcMap, ...
2
votes
1answer
111 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#.
6
votes
1answer
635 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
862 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. ...
1
vote
0answers
150 views

Opening File GDB in Samba throws exception - but only in VS2010 debug mode

I'm accessing a file geodatabase through a mapped network drive pointing to a unix machine running Samba. When I start the app from within VS2010, I get a COM exception when I attempt to open the ...
3
votes
1answer
833 views

IFeature.set_Shape The coordinates or measures are out of bounds

I'm trying to add a point to my map, but something with the way I used shp2sde create caused me to have a incorrect spatial extent or something. So I'm getting "out of bounds" error. How do I go ...
2
votes
1answer
383 views

Shapes of this entity type not allowed in this layer when CreateFeature() is called

I have the following code that calls on a remote geodatabase server. Everything is connected and working, but when I try to add a point and use featureclass.CreateFeature();, it shuts down. At first ...
3
votes
1answer
890 views

How to edit a given version of geodatabase?

I have a versioned geodatabase. Any of that versions are used only by one user. So then user called "XXX" has a version called "XXX". So then now I want to make a changes on given version, but when I ...
6
votes
3answers
603 views

How to convert high precision dataset to low precision

A high precision dataset was loaded from a file geodatabase into arcsde 9.3.1. The dataload was achieved by copy/paste in ArcCatalog. A custom tool (arcobjects) that extracts from the dataset to a ...
1
vote
1answer
320 views

How to Create and Rotate Raster Dataset using ArcObjects?

I'm following the "How to create a raster dataset" tutorial: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000464000000 The questions are: 1) How can I create ...
1
vote
3answers
1k views

How to merge several tables/feature classes into single geodatabase object in ArcObejcts?

My project is ArcGis extension, which uses a specific set of tables and feature classes. I want that this structure to behave like single geodatabase object, so user cannot delete part of it's schema. ...
2
votes
2answers
161 views

Understand and use user provided file structure

I have at my disposal a folder with data provided to me by a person that knows nothing about GIS. I have the impression that its file structure was generated by some esri desktop product. I have only ...
1
vote
0answers
353 views

Intersecting with Geodatabase.ISpatialFilter - no results

I'm trying to intersect two layers and get resulting features with the following code I've written: ESRI.ArcGIS.Geodatabase.ISpatialFilter spatialFilter = new ...
7
votes
2answers
265 views

.Net Solution Structure for ArcObjects and Geodatabase programming

OK - I understand that this is a bit subjective - but you're the best community forum I've got! So, we are talking about starting a fresh customisation for ArcGIS or a Windows app using Engine. I ...
2
votes
2answers
179 views

How to store large amounts of text in an SDE table

I need to store a lot of text in a field in an SDE registered business table (an ITable, not a featureclass) - let's say 10,000 words roughly. I am using Oracle 10g and ArcSDE 9.1. I am programming ...
7
votes
1answer
772 views

How to create a 9.3 file geodatabase with ArcObjects SDK for ArcGIS 10?

In ArcGIS 10 I could use the Create File GDB geoprocessing tool to create a 9.3 file geodatabase or the Create Personal GDB geoprocessing tool to create a 9.3 personal geodatabase. But I cant't find a ...
5
votes
1answer
498 views

Determining ESRI File Geodatabase release version?

Is there any method in Python, ArcObjects, or the File GDB API for determining the release version (9.3, 10.0, etc.) of a file geodatabase? There is a need to find all of our shared 10.0 version file ...
3
votes
3answers
230 views

Is there any way to write a snipet of code with function of “SDELayer -o register” command

I try to create a geodatabase using some SQL command and then register some tables of it with SDE. I create an empty geodatabase using sde post installation and then create tables and other database ...
5
votes
4answers
353 views

Can I store an ArcObject inside a BLOB or XML field?

I'm having this crazy idea here...Is it possible to store an ESRI object inside a blob field inside a geodatabase? If not, perhaps a serialized XML representation? I'm thinking about storing ...
1
vote
0answers
261 views

topology rules for structuring topology data to get line feature as topoparent in topology graph

i Created topology graph of a polygon feature and i copied geometry of topology edges into line feature class,and topology nodes into point feature class i created topology layer containing ...
2
votes
1answer
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
2answers
169 views

Accessing PAT,NAT of coverages using arcobjects

I want to access the polygon attribute table (PAT) and node attribute table (NAT) of an arcgis coverage using arcobjects VBA, is this possible?
5
votes
1answer
260 views

When is it better to use 64 bit File GDB access?

The beta 2 release File Geodatabase API includes 64 bit support. Esri says arcobjects is still the "preferred" method to interact with the file gdb. However, arcobjects has no 64 bit support. ...
0
votes
0answers
187 views

how to write Topology Graph Edges geometry to polyline feature class

i have created topologygraph of a polygon feature . and iwant individual ids of polylines i want to write Topology Graph Edges geometry to new polyline feature class any samples OR documentation ...
3
votes
2answers
290 views

Getting line FID from polygon ITopologyGraph

I want to export polygon Arc list to txt file for that I created topologygraph for personal geodatabase feature class (polygon) using ITopologyGraph::build. I got polygon FIDs but I am not getting ...
3
votes
2answers
5k views

How do I upload a Featureclass to a Geodatabase in C#?

All, I have a featureclass with Arcobjects that came from a Shape file and I wish to import it into a geodatabase. I have the geodatabase connection, I just don't know how to load the feature class ...