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)

3
votes
2answers
143 views

Can Voronoi/Thiessen polygons be created using ArcObjects without 3D Analyst license?

Has any body used ITinNodeCollection to generate Voronoi/Thiessen polygons. I have a point featureclass for which I want to create Voronoi/Thiessen polygons. Does this require 3d analyst license? I ...
2
votes
0answers
33 views

Is it possible to preview a raster catalogs raster field in a Windows form?

What I want to achieve: The attribute table for an ArcGIS Raster Catalog contains a raster field. When a raster field cell is clicked with the mouse, a preview window displaying the raster associated ...
4
votes
5answers
422 views

Intersection of two lines tool

Is there any way to make intersection of two lines tool with extending lines option, so the result would be a point. the hardest part is when the lines have to be extended to intersect. the tool will ...
1
vote
0answers
64 views

Inaccurate result while clipping on gis data

I am trying clip polyline data using a polygon geometry. I am using itopologicaloperator to do this task. However, resultant clipped data is off by 1 feet. Meaning that the polylines at the boundaries ...
3
votes
1answer
209 views

Is it possible to undo and redo outside edit session in ArcObjects?

I would like to know if it is possible to undo and redo changes outside of an edit session? If yes, how can I do it in ArcObjects using .NET? I am working on an ArcSDE 10.1 versioned geodatabase?
8
votes
2answers
433 views

What are mystery green lines in Layout View produced during ArcObjects script execution?

Could any of ArcObjects guru tell me, what are these green lines on my Page Layout and what to do, or not to do, so they do not appear? See image attached. I do used ArcObjects from Python. My script ...
2
votes
1answer
132 views

Adding FeatureLayer on a thread crashes ArcMap

I asked this question on the ESRI forums but got nothing so I thought I would try it here (hope that is consider ok). I am creating an extension for ArcMap 10.2 using Visual Studio 2012 C# WPF. ...
1
vote
1answer
89 views

Create Feature and store to different FGDB

Create Feature and store to different FGDB I'm creating a feature and I want to store it to a specific geodatabase. At the moment I'm using feature.Store() but it's not storing it to where I want. How ...
1
vote
1answer
208 views

Problem in splitting and removing Polyline

I am stuck at a problem for weeks, Please Help!!! I am making program in C# Here is what I need to do --- I have two polylines that are intersecting with each other at some points. I want to delete ...
0
votes
0answers
25 views

Error: already exists.(stg_e_filealreadyexists) when using IMapDocument.Open method?

I got the errror: already exists.(stg_e_filealreadyexists) when using the method IMapDocument.Open() as below codes: if (File.Exists (strDirectory + "\\temp.mxd")) File.Delete(strDirectory + ...
1
vote
1answer
87 views

What is the correct approach to handle mouse events for a tool that is called by a button?

I have a dockable window with a 2 buttons that call 2 different tools (Draw Marker and Select Features), What i want to happen is when the user clicks on the relevant button on the dockable window and ...
0
votes
2answers
277 views

Object does not exist in the namespace “http://schemas.esri.com/arcgis/client/2009”

I am trying to move all of my GIS code over the Visual Studio 2012. I have added the following references: C#: using ESRI.ArcGIS.Client; using ESRI.ArcGIS.Client.Geometry; using ...
2
votes
1answer
221 views

Direct DBMS sql queries and ArcSDE geodatabase

i want to make updates from Arcobjects on several tables stored on a ArcSDE 10.1 versionned geodatabase based on Postgresql 9.0.5 , none of these update require spatial data , and making these updates ...
1
vote
2answers
61 views

Conversion of raster to polygon

Using C# and ArcObjects, what is the recommended way to convert a raster file into a polygon. I need this for calling the Near tool so that I can move a station which may be inland to the nearest ...
0
votes
1answer
58 views

How do I access a feature layer's “displayField” from a REST SOE?

Understanding I can't use the 'ESRI.ArcGIS.Carto.IFeatureLayer' interface, how can I get to a Feature Layer's "displayField" from a REST server object extension using arcobjects C#? ...
0
votes
0answers
37 views

How to convert raster to polygon that I classify in C# ArcGIS engine?

by " IMultivariateOp.MLClassify" method,I just can classify the raster into many classes,but how to convert each of them to polygons,and give them properties like names? I need some code in C# in ...
2
votes
1answer
112 views

How to write table blob field to file using ArcObjects?

I have a table with blob field and some others as well. I am trying to read blob field and save it to file using IBlobStream, and the thing compiles. The problem comes up in run-time, when calling ...
0
votes
0answers
18 views

Hotlinking Images using PickListener(MOJO)

I have a class class MyPickAdapter implements PickListener { public void beginPick(PickEvent pe) {} public void endPick(PickEvent pe) {} public void foundData(PickEvent pe) { } }; ...
-1
votes
1answer
37 views

Can I convert raster to shape by specify class?

I use the method "IMultivariateOp.MLClassify",so I get many class such as the figure below, can you give some code in C# to convert each of them to shape?Thank you. one more question, why I just ...
0
votes
0answers
16 views

How to iterate the area of uniqueValue in raster?

Here is a figure shows the result of the classify after using "IMultivariateOp.MLClassify",but how can I iterate them? Can I iterate them directory instead of using IRasterWorkspace or ...
0
votes
0answers
53 views

How to populate a dropdownlist with map service field names given only the layer name

I'm trying to wrap my head around a task which seems pretty simple, but not sure what the easiest way to go about it. I'm using javascript api and have a populated dropdownlist of sorted layer names ...
1
vote
1answer
202 views

How do I convert a GPFeatureRecordSetLayer Feature Set to a Feature Class?

I have C# code to run a geoprocessing package that produces an output which is stored in a GPFeatureRecordSetLayer. Right now I have code that displays the result on the GUI when the job is complete . ...
0
votes
0answers
32 views

ArcObjects SDK: Textured MultiPatch: problems with large texture images

I am using IGeneralMultiPatchCreator to create a textured MultiPatch. This works fine for small texture images, but fails for larger images (15 MB .png). In ArcScene the MultiPatch is displayed in ...
4
votes
1answer
547 views

Refresh Currently Open ArcMap Attribute Table using ArcObjects

I have written an ArcMap Addin (ArcMap 10.0) that allows a user to perform a join between an in-memory table and a feature class (feature layer) added to the TOC. I want the attribute table of the ...
1
vote
1answer
66 views

How do I perform a raster overlay analysis in ArcObjects?

Using the "IMultivariateOp.MLClassify" Method, it will create a field call "Count",which can be used for calculating area, as shown in the figure below: But now I want to calculate the increase ...
0
votes
2answers
218 views

How to programmatically remove a donut hole from Polygon in arcobjects

I have a polygon IPolygon4 with a hole in it, as you can see. How can I get rid of the donut hole, and have the whole thing be one simple polygon with 5 vertices. Here are the constructed WKT ...
1
vote
0answers
74 views

how can i export a shapefile

hi I want to select the cities that exist in Morocco and export it to a shape file and I used this code but its not working, it gives me an error: code: import arcpy from arcpy import env ...
3
votes
2answers
951 views

ArcObjects + comtypes at 10.1

Has anyone played around with using ArcObjects in Python at version 10.1? I am having all sorts of problems, such as TypeErrors when wrapping the ESRI OLB modules and AttributeErrors when attempting ...
3
votes
1answer
51 views

How can i uncheck leader lines show in piechart using ArcObject?

I'd like to uncheck the leader lines of my piecharts programmatically . I surf in the internet and found nothing about this.It's simple to uncheck the leader lines in ArcMap. Just go to properties of ...
1
vote
1answer
53 views

How to get Name of IRaster object using ArcObjects?

I have an IRaster object as output from a function. I need to be able to get the name of that raster. Is there a way that I can do that? I know that I can't mask an IRaster as an IRasterDataset. If I ...
0
votes
0answers
41 views

Suggestions on how to find street intersections

I'm running AGS 10.2 with AGS Desktop 10.1 and SQL 2012. I have a REST SOE which is currently providing custom services to a JSAPI app. I'm working with a basic streets layer with only street names ...
1
vote
1answer
33 views

Help with ArcObjects language to open or access a shapefile?

I am writing a program with a dialog box that when they click on the map button a shapefile will open. I wrote a program that opened a map document is it the same language as that is. Which is the ...
1
vote
3answers
534 views

Zoom to selected features with ArcObjects

I am trying to figure out what is the best way to set the active view extent to be able to view all the selected features on the Arc Map. 1.The Map has only one layer. 2.The features are filtered ...
-1
votes
1answer
118 views

ArcGIS Engine--load mxd file to map control or pagelayout control?

When load a mxd file using ArcGis engine,how to automatically detect whether it's saved in mapcontrol or pagelayout control?Thanks!
1
vote
1answer
78 views

Get a spatial reference object by name from a saved string

I am creating an ArcMap 10.2 extension is VS 2012 and C#. I want to give the user the option to select a spatial reference to be applied to a layer - planning to use the Dialog for that. But then, ...
2
votes
2answers
66 views

Is it possible to create an addin for a specifc MXD?

I am currently in the process of creating Addin's and also converting our VBA projects to .NET addins. With the VBA applications, they would only work with specific MXD's. Is this possible to do with ...
0
votes
1answer
360 views

How to learn ArcObjects (.NET, C#) for desktop applications but having only Arcmap desktop license?

How can I learn .NET and C# for desktop applications having only a desktop license? I want to upgrade myself in the development side so I'm trying to learn this stuff and I'm searching all the ...
1
vote
1answer
64 views

Get Polygon or IGeometry from Envelope in ArcObjects

I would like to create a Polygon Feature from the geometry of an IEnvelope in C# ArcObjects SDK 10. Is there an easy way how to do it?
2
votes
1answer
240 views

Why does Updating Location of ArcSDE Feature using ArcObjects .NET give Error HRESULT E_FAIL has been returned from call to COM component?

I have been able to connect to an Enterprise GeoDatabase, retrieve features from it and update attributes. However I am having problems accessing and then updating the shape property of a feature. ...
1
vote
1answer
85 views

Replace error message in ArcObjects .net custom geoprocessing tool

I am writing some validation in the updateparameters method of my custom geoprocessing tool. I need to post an error message when specific conditions exists and I would like to include a standard esri ...
3
votes
1answer
54 views

Store user settings in map document?

I have created a custom tool for ArcMap with .NET and would like to know if there is any way to store user defined settings in a MXD. The tool simply draws a graphic circle of a certain radius with ...
2
votes
1answer
47 views

How to get a collection of georeferencing control points in an ArcMap document?

I have created control points (i.e. links) using ArcMap's Georeferencing toolbar. How can I programmatically retrieve a list of these points? I'm looking for something like an enum of the links you ...
1
vote
0answers
37 views

Issue on IFeatureDataConverter.ConvertFeatureClass

Does anyone know if it's possible to reuse this method with a "feature dataset" already present ? I'm trying to import multiple shapefiles under a featuredataset inside a fgeodb. Everything it's ...
2
votes
2answers
457 views

How to Zoom and Pan using scroll wheel in ArcObjects?

is there any way to zoom using scroll wheel ? i have tried AutoMouseWheel of map control, it works well for the first used custom tool, but once i change the tool, it stops working , i would like to ...
0
votes
0answers
26 views

NextBuffer operation takes a long time when there are no rows in a table

We're trying to get data from a table which contains no rows. The query runs fast, but the SDE gets stuck on NextBuffer command. Some code that we're using: IQueryName2 queryName2 = (IQueryName2)new ...
3
votes
4answers
356 views

ArcObjects C#: select intersecting polylines

My questions seems trivial but it is a real blocker for me. So please help!!! How can I, using ArcObjects with C#, select only those polylines in one layer that intersect with each other? It sounds ...
2
votes
0answers
29 views

Getting value from IRow is slower while edit mode is on? [closed]

When I access a value in an IRow using get_Value(index), it usually takes 0 to 1 ms. But when edit mode is on, the same operation takes 0 to 15 ms (most common values are 0 and 10 ms)! What could be ...
3
votes
2answers
211 views

Why unable to edit ArcSDE from multiple computers on LAN using custom ArcGIS Engine application?

I cannot edit an ArcSDE database from multiple computers on a LAN network using a custom ArcGIS Engine application, I have tried both versioned and non-versioned feature classes, but they cannot be ...
1
vote
0answers
193 views

Drawing Curves/Bezier Lines with ESRI WPF Runtime

I'm looking for some pointers on how to draw a curved line or bezier line in WPF runtime. The WPF runtime sample application has a drawing mode for straight line, polyline, and freehand. However, no ...
4
votes
1answer
423 views

Customizing Identify Dialog in ArcMap

Any idea for customizing Identify Dialog in ArcMap.I want to use my control (for example a list view or a custom control) to show attributes of features in same native ArcMap Identify Dialog,mean ...