ArcObjects is a set of COM-based APIs from ESRI Inc. that are used in several of their products including ArcGIS Desktop, ArcGIS Engine and ArcGIS Server.

learn more… | top users | synonyms (3)

2
votes
3answers
1k views

IFeatureBuffer - performance considerations (ArcObjects)

I'm trying to optimize my code to make it faster. I have a loop that reads some string input and creates points with the help of IFeatureBuffer and IFeatureCursor. If I create the buffer inside tho ...
0
votes
1answer
230 views

find out those points which are intersecting each other using spatial filter in C# arcobjects [duplicate]

Possible Duplicate: Determine overlapping points using a spatial filter in ArcObject I have a point layer having thousands of point, now what i have to do using Spatial filter i have to ...
4
votes
4answers
2k views

Determine overlapping points using a spatial filter in ArcObject

I have a point layer with thousands of points. Using a spatial filter, I have to find out those points which are intersecting each other. Then the objectid's of the intersecting points should be ...
1
vote
2answers
2k views

How to create a graphic point by xy value?

I have implemented this code to create point event layer by xy text file, however I'm wondering how to create a point graphic by xy value? This script draws point graphic by mouse down. When I ...
2
votes
0answers
95 views

How to solve a filename conflict problem?

I use a procedure to remove and delete a feature layer with a certain name. Then, using another procedure which is called during the run time of the program (as the remove and delete procedure as ...
2
votes
0answers
120 views

Proper disposal of layers

I have a group layer. Its purpose is to show feature layers over a base map. Those feature layers are logically grouped into categories and we provide the ability to add/remove whole categories ...
5
votes
1answer
425 views

With ArcObjects, distinguish between Save Edits with and without closing the current edit session

Is it possible with ArcObjects to distinguish between the user selecting the Save Edits button and the users selecting the Stop Editing button and then saving edits? The reason for this is that in ...
1
vote
1answer
194 views

ArcGIS - ICommandBars exception

Testing my VB.NET 2010 app in ArcMap an exception occurs when ICommandBars is instantiated. ' zoom to selected Dim mxApp As ESRI.ArcGIS.Framework.IApplication Dim numUID As UID = New ...
3
votes
0answers
145 views

Elevation statistics for a given Area

I am attempting to determine the best way to calculate the Minimum and Maximum elevation for a defined area. The area is defined by an IPolygon The elevation is defined as an ISurface Possible ...
1
vote
0answers
56 views

Guide for esriRasterOpCode

I'm building dynamic cartographic symbols to display inside ArcMap, but they are displaying "wrong". Is there a guide somewhere that will show what raster op code does? I mean, not only show, but ...
2
votes
0answers
200 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 ...
2
votes
1answer
653 views

Convert Features to Graphics

I want to convert selected features to graphics and keep the featuere symbology. I was thinking I could just call the UID command below, however it seems to not be working? Dim pUID As New UID ...
5
votes
2answers
490 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 ...
14
votes
2answers
1k views

Calling arcpy/python from .NET?

Are there any available examples that show how python can be integrated into a .NET ArcGIS Addin or Extension? I have a series of python scripts that I would like to call from form events (e.g. button ...
0
votes
4answers
320 views

How to solve a run-time error in Thiessen polygons command line

Well I revise my post by giving more information for my problem hoping I may get some help please. I call Procedure 2 from a loop that is within Procedure 1 (see below). The program stacks in the ...
0
votes
0answers
401 views

How to solve a Run-time error 91?

I have a function which a part shown below. The problem is that I get a Run-time error 91 (object variable or with variable not set) and the debug highlights the last line of the code ( Set ...
3
votes
1answer
886 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 ...
5
votes
2answers
2k views

Remove Shapefile lock

I have an ArcObject Dissolve procedure that creates a shp in a directory. This dissolved layer is a temp layer and is not added into ArcMap. I would like to delete it when the user clicks a button ...
4
votes
2answers
1k 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 ...
13
votes
5answers
2k views

Is Hillshade option in ArcMap rubbish or is it me?

Here is a pretty pic of the raster I am using - with no effects applied - just the color ramp and historgram adjusted to show out all the relief - all be it in a very 2D way! I have a raster layer ...
0
votes
0answers
143 views

How to make sure OnSketchFinished always works?

In my VBA application i have a listener setup that listens for OnSketchFinished, when the polygon is created a messagebox appears and then a userform. My problem is that the listener will work 90% of ...
2
votes
2answers
357 views

ArcObjects SDK Server toolbox

Seems to be a recurring nightmare here, but it seems ESRI UK gave us a bum steer. You do not need to install ArcObjects .NET SDK (and, of course, the obligatory VS IDE), but you do need to have an ...
7
votes
2answers
976 views

How do I implement outbound arcobjects interfaces in C#?

I would like to write a class in C# that implements one or more outbound interfaces, for example ILayerEvents and IActiveViewEvents. Does anyone know how to do this with C#? Update Following @Chaz's ...
8
votes
1answer
608 views

Automatically display related records for selected feature in tablewindow with ArcObjects

Is there a way through ArcObjects to automatically display the related table(s) for the selected feature in ArcMap in the attribute window (tablewindow) without the user having to click on it and ...
1
vote
1answer
207 views

Can I modify the “value” field of a raster attribute table?

Can I modify the values of the "Value" field of a raster attribute table and if yes how? Thanks Demetris
3
votes
2answers
521 views

Specify a starting location with IgxDialog

I would like to know what is the easiest way to set the starting location of a data dialog to a IWorkspace? My problem is that basically I do not want a connection (.sde file) for the users. I want ...
1
vote
0answers
159 views

How can I denote the values of reclassification using variables?

I used the following lines of code to classify a raster. However, my problem is how can I denote the old and new classification values in the last code line using variables? Then number of values ...
1
vote
0answers
202 views

How to find the features, which have an override on the offset field

I’m trying to write a code, which will find the features, which have an override on the offset field. It is very easy to find if a feature has any override, but to find if a feature has an override on ...
2
votes
2answers
1k views

Collapse layers in ArcMap Table of Contents using ArcObjects

Can someone offer up a Christmas present here? I'm stuck on how to collapse all layers in my ArcMap projects (9.3). I've tried a few bits of sample code, but they all seem to fail for some reason or ...
1
vote
0answers
59 views

How to get the nodes on the absolute boundary of a TIN with ArcObjects

I am trying to get only the nodes on the absolute boundary of a Tin. But GetNeighbor or LeftTriangle methods return edges whose nodes have NaN Z and very weird X-Y coordinates, so the row is inserted ...
4
votes
2answers
627 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 ...
1
vote
0answers
240 views

Extract by mask run time error in VBA

I have the following script language code shown below within a main code just to run the tool of spatial analyst "Extract by mask". Unfortunately, when I run it I get a Run Time Error. I checked file ...
5
votes
1answer
2k views

Geometry from multiple selected features into one geometry

Lets see if I can explain what I'm trying to do. First of all I have developed an AddIn for ArcMap that can take one selected feature (Polygon) on a layer, grab the geometry of that feature, and save ...
2
votes
1answer
223 views

ArcGIS Editor Attributes Dialog

Is there a way to update the Editor Attributes dialog to populate/refresh on ArcObject feature selection code? The attributes dialog only seems to respond to a manual view selection or manual table ...
5
votes
1answer
328 views

ArcObjects 10 Java SDK

I am being tasked with converting a AGS georpocessing toolkit currently written in AO 10 C# SDK to AO 10 Java SDK. Are there any resources out there which show an end to end example of creating an ...
4
votes
1answer
545 views

Need help with Merge GeoProcess task in ArcEngine (C#)

Help! Having the hardest time getting the correct syntax when adding layers as gp parameters to call the Merge_management GeoProcessing Task. Below is just one of MANY, MANY ways I have tried with ...
7
votes
4answers
3k views

Deploying ArcObject .NET DLLs

I am using several ESRI .NET DLLs in some custom Python scripts. For example ESRI.ArcGIS.Geodatabase.dll On my development machine these DLLs are in the C:\Program Files ...
1
vote
0answers
44 views

How does ISurface.Locate work?

could someone help me with this method of arcobjects? I don't know what the parameter "hint" means. Thanks. ISurface.Locate Method Returns the intersection of the query ray and the displayed feature. ...
6
votes
1answer
2k views

First attempt using ArcObjects: ESRI's Add-ins example unclear

I've come to realize that scripting ArcGIS 10.0 with Python imposes too many limitations for my goals with ArcGIS, so I've decided to bite the bullet and delve into ArcObjects. Apparently, using ...
4
votes
2answers
349 views

How to enable MapTips in ArcGIS Engine? (ArcGIS 10)

My organization is working on a new version of our software using ArcGIS Engine. Previous versions of the software (running on ArcGIS Engine 9.3) displayed MapTips fine as long as they were enabled in ...
1
vote
0answers
173 views

How to append geographic features into a .dgn file?

How can I export all the geographic features of a featureclass into .dgn (Microstation) file using C#/ArcObjects? I was able to create a new .dgn file and I want to export all the geographic features ...
2
votes
2answers
127 views

Finding Two locations with a conditional search on DEM

I want to find two locations H difference in elevation between two locations on a DEM. Ex: point A and B are my output after search on DEM. conditions are (1)buffer R distance around point A and (2) ...
6
votes
2answers
991 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 ...
4
votes
1answer
547 views

Has anyone found a workaround the IMemoryBlobStream.LoadFromFile() error

As far as I am aware, you will get an error if you try to load large file sizes using the function IMemoryBlobStream.LoadFromFile(). Has anyone found some workaround code to load a file into a ...
7
votes
2answers
2k views

Build and export PDF maps using ArcObjects?

I have a series of featureclasses and rasters generated using ArcObjects and calls to the Geoprocessor. I have the paths to the output, which are located in a file geodatabase. How can I use ...
2
votes
1answer
296 views

Deploying to ArcGIS 10 Server .NET/Java

We're in the process of transforming a lot of 9.1 ArcServer/ArcObjects etc applications to ArcGIS Server 10. However, we're unsure as to licensing on 10. As I understand it, I cannot, according to ...
1
vote
1answer
887 views

(arcengine) export selected features from sde to shapefile (with joined fields)

I have a SDE featureclass that is joined to an access table in my map control. I want to export selected features of the SDE layer to a shapefile AND retain the joined fields. this following method ...
1
vote
1answer
104 views

Merge column data with a IFeatureClass

I have a points shapefile with City, State, Zip columns. I want to merge the column data together into a new column containing: City-State-Zip (with the hyphen). Can I merge column data like this ...
4
votes
1answer
482 views

Why is a Merge process via ArcObjects extremely slow?

In one of my arcobjects-based GIS tools I have a process which takes an array of shapefile paths and uses them as inputs with the ESRI.ArcGIS.DataManagement.Merge tool. I run it via a Geoprocessor ...
3
votes
1answer
396 views

How can I get the coordinates of a grid cell?

How can I get the real coordinates (i.e. X and Y) of a given grid cell when I know its row and column position? Thanks Demetris