Tagged Questions
3
votes
1answer
72 views
it is possible to undo and redo outside an edit session in Arcobjects?
I would like to know if it is possible to undo and redo changes outside of edit session, i'm working on an ArcSDE versioned 10.1 database?
if yes how i could do it in Arcobjects .NET .
Any help ...
1
vote
0answers
43 views
Quering a ArcSDE featureclass attribute table after joining
I am trying to query a ArcSDE Feature Class after joining using Iqueryfilter
I have two SDE feature classes.
1) Subdivisions : which has details of subdivision and districts (parent)
2) ...
2
votes
0answers
69 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 ...
3
votes
1answer
73 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
230 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 ...
0
votes
1answer
259 views
Reconcile and post versions
I want to know if we can post the versions based on events through coding.
How we do batch reconcile and post through c# code. Is it possible for automatic replication also?
1
vote
0answers
153 views
ArcObjects .NET 9.3 upgrade to 10 breaks IRasterDataset.Copy(…) code
I have to upgrade an application from ArcObjects 9.3 (C# .NET) to 10. Unfortunately, there seems to be some incompatibility regarding the IRasterDataset.Copy method. The following code worked fine in ...
5
votes
2answers
326 views
What does it mean to QI and how is it done?
I'm new to Esri's Arc* interfaces, and trying to figure out how to register an existing table using the ArcObjects API. The following question answers this to some extent:
Is there any way to write a ...
4
votes
2answers
853 views
Adding data from a SQL Server Spatial database to ArcMap or ArcEngine application with ArcObjects for better performance
I have an ArcSDE geodatabase stored in MS SQL Server 2008 R2. The datasets in this geodatabase range from 10 record to 7 million records and there is a mixture of tables and spatial datasets (SQL ...
4
votes
2answers
428 views
How to allow more polyline vertices for a ST_GEOMETRY in Oracle/SDE?
I'm receiving an error writing geometry (in ArcObjects) that has a large number of vertices (around 900). So big, but not ridiculously big. I would expect this to be no problem and I don't recall ...
6
votes
2answers
630 views
How are Class Extensions associated with a Feature Class in ArcGIS v10?
In ArcGIS 9.x if a Feature Class is registered with a Class Extension the CLSID of the extension is recorded in a table in the sde schema called sde.GDB_OBJECTCLASSES (EXTCLSID field).
However in ...
5
votes
2answers
343 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 ...
4
votes
2answers
302 views
ArcObjects ISQLSyntax with Oracle DB esriSQL_DelimitedIdentifierPrefix issue
New to stack exchange, heading over from the esri forums, it is great!
I am trying to produce a query that I can use across all workspaces, naturally using ISQLSyntax. The problem I'm having is that ...
2
votes
2answers
232 views
Short name for SDE featureclass?
Is there an ArcObjects function to get a short name version of an SDE featureclass?
For example if my featureclass is:
FOOSCHEMA.BARLAYER
How do I just get "BARLAYER".
Or is it just a simple case ...
0
votes
2answers
253 views
Why would programmatically setting the extent of a map on Page_PreRender be really slow?
We are using the ArcGIS 10 web adf with C# in a web application. We just recently upgraded everything from 9.3 to 10 and moved all the hosted stuff over to a new (more powerful) server. Still on the ...
2
votes
2answers
155 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 ...
2
votes
1answer
266 views
How to cast SDE table to IFeatureClassLoad
How do you cast an SDE table to IFeatureClassLoad using ArcObjects? I'm getting an error with this attempt below which is not the correct method:
Dim pSDEFeatWksp As IFeatureWorkspace = ...
1
vote
0answers
899 views
Edit SDE table with ArcObjects - continued [closed]
Update
So, I believe I'm getting closer to being able to edit my sde table, however now I'm getting stuck on this line:
Dim updateCursor As ICursor = table2.Update(Nothing, True)
With this ...
4
votes
1answer
422 views
Edit SDE table with ArcObjects
The link below provides a code snippet for editing an SDE table with ArcObjects. Are there any other or newer code examples out there of how to edit a SDE table by using ArcObjects?
Edit SDE ...
5
votes
1answer
991 views
ArcObjects: modifying feature field value
I'm developing an ArcMap extension and looking for a way to change feature attributes knowing its feature class and OID (and, presumably, everything else that there is in IFeature). All layers use ...
13
votes
3answers
2k views
ArcObjects: Memory leak in IFeatureClass.Search (only on SDE with direct connect)
UPDATE 6/30/11: ESRI Support say they have reproduced the issue and have opened a bug report (NIM070156).
I have determined that there is a memory leak (in unmanaged heap memory) that occurs when a ...
3
votes
3answers
201 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 ...
2
votes
1answer
447 views
How to insert DateTime null using IRowBuffer
I am using IRowBuffer/IFeatureBuffer to insert fields to SQL Server 2008 DB.
When inserting a field I am using:
public void SetValue(IRowBuffer buffer, string field, object value)
{
int ...
1
vote
2answers
398 views
Access Feature Classes on Multiple Database Schemas with ArcSDE
I am using ArcObjects to access a GeoDatabase that was set up with ArcSDE 10 and SQL Server 2008 R2. In this particular case, I have some tables set up on alternate schemas (this is to replicate a ...
1
vote
2answers
155 views
Associating data in a form with an SDE Layer
I was wondering if there was a way to associate/persist some data about an SDE featureclass when viewing via ArcCatalog.
I know you can have metadata - but I don't want to use that, and I'm pretty ...
2
votes
1answer
218 views
arcgis10: export eventlayer (from querylayer) to ArcSDE
I am not using arcmap but I am creating a arcgis desktop console app.
I am pulling an external SQL table in as a querylayer. This table has lat & long so I created an eventlayer (or ...
4
votes
3answers
1k views
Delete a feature data set in SDE 10 programmatically
Is there a way to delete a feature data set and all of its feature classes programmatically either by using custom code or pre-existing command line tools?
There is a tool provided by SDE called ...
6
votes
5answers
779 views
Troubleshooting ArcObjects performance problems
We have developed a relatively complex geoprocessing routine using a C# / ArcObjects (COM) / ArcGIS Server 9.3.1 / ArcSDE 9.3.1 / Oracle 11g stack. Running the routine on a complete dataset takes ...
2
votes
2answers
400 views
Edits in SDE not showing up in AGS GeoData Service
I've got an ArcGIS Server GeoData service against an SDE MSSql database. When changes are made to the source data, the edits don't appear to show up in the GeoData service.
If I restart the ...
2
votes
2answers
426 views
Big IRowBuffer problem
I have a small software that connects to a database (SQLServer) reads a few values and transfers them to a SDE Oracle instance (11g).
The problem is: I have over half million records that I need to ...