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)

6
votes
1answer
399 views

Algorithm to fill the gaps adjacent to parcels

I would like to find a way to fill the gaps between the road and its surrounding parcels, like described in picture below: I have different parcels like A and B , i want to fill the gaps by adding ...
9
votes
10answers
7k views

Learning .NET for ArcGIS (mainly Desktop) use?

I have basic programming skills (I program simple vba python and lisp scripts and had gone through a java course a long time ago), but it seems to me (judging by ESRI publications) that there is no ...
7
votes
0answers
594 views

Newbie to GIS Development in ArcGIS? [duplicate]

I am new to GIS development and was wondering if there are tutorials available for development in ArcGIS 10. I have some experience writing simple scripts in python and fooling around in model ...
2
votes
1answer
137 views

How do I export circles from ArcObjects to WKB?

I have a small circle in SDE which I'm trying to extract through ArcObjects into well-known-binary (for later import into other systems). Using the IWkb interface I can obtain the WKB, but it comes ...
4
votes
1answer
140 views

Is it possible to share temporary (InMemoryWorkspace) FeatureClass between Threads?

I'm trying to run some operations (functions) in seperate threads so that the UI is not blocked. One of this operation is the generation of a feature class copy from an existing feature class into a ...
1
vote
0answers
18 views

FDOGraphicsLayer IGraphicsContainer Reset/Next throw 'not implemented'

Running ArcGIS 9.3.2 w/ ArcFM. protected override void InternalClick() { var d = _App.Document as IMxDocument; var m = d.FocusMap; var c = m as IGraphicsContainer; c.Reset(); ...
1
vote
0answers
29 views

Getting all values of specific field

How do I get all values of a specific field of a feature class in ArcObjects (c#.net)? Is there any way to select all features using IQueryFilter interface?
0
votes
1answer
34 views

Adding Field using C# winform and ArcObjects?

How to add a field in featureclass by using C# winform,arcobjects? It means when we click on command winform should open and afetr field entries it should be add in to table.
1
vote
2answers
31 views

Casting ILayer to IFeatureLayer in ArcObjects 10.1

I'm trying to use the following code in an ArcMap extension: private IFeatureLayer getLayer(string lname) { IMap map; IFeatureLayer flayer; IEnumLayer ...
1
vote
1answer
215 views

Overlapping Polygons in same feature class using Arcobjects

I have a polygon feature classs with millions of records, I need to find list of overlapping or intersecting polygons in the same feature class, and how to do it efficiently? I need a ESRI ...
1
vote
1answer
269 views

How can I transform layout page units to map units?

I am trying to build an add-in that will create a polygon from the current map extent. This is not a problem in Data View where I can easily get the envelope of an iMxDocument:iActiveView in data ...
1
vote
1answer
30 views

What's the difference between ArcGIS .NET SDK and ArcObjects?

Here's the scenario: The goal is to create a standalone console application to process data. This processing is basically ETL operations and, in the end, the results end up in a feature class table. ...
1
vote
1answer
19 views

Releasing features from a recycling feature cursor

I have a recycling feature cursor that is used to fetch a single row. Is it my responsibility to release that returned feature, or will it be cleaned up by the cursor as it would be if I consumed the ...
0
votes
1answer
282 views

Join and Calculate vb.net

Im trying to join an excel table to a shapefile and then calculating those fields using vb.net. The code I have written has no errors, but won't work when I try it in ArcGIS 10.1 and I'm out of ideas. ...
4
votes
1answer
318 views

How to add individual layer of WMS group layer to ArcMap?

I am attempting to add a single WMS layer that is part of a WMS service group layer. I am writing code to do this using ArcObjects in C# .Net. So far I have been unsuccessful. I can either only add ...
3
votes
1answer
93 views

Create layer from ArcGIS REST URL in ArcObjects using C#

I am trying to create a layer and add it into a MapControl from ArcGIS REST URL. For example I use the following URL ...
0
votes
1answer
160 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 ...
3
votes
0answers
140 views

Add WMS Layer into map using Arcobjects

I am going to add a wms layer to my existing map.I use this code: public load_wms(ESRI.ArcGIS.Controls.AxMapControl mapcontrol) { // Create an WMSMapLayer Instance - this will be ...
3
votes
1answer
347 views

CodeDom.Compiler fails in Arcmap add-in, but works from console app

The Test method in the code below succeeds in a console test app, but fails when I call it from within an Arcmap add-in, throwing a ReflectionTypeLoadException with a loader exception saying: ...
-1
votes
0answers
35 views

ArcMap License problem [duplicate]

I dont want to execute my Add-in application in crack ArcMaps.I want to use or execute only licensed ArcMap's (orginal ArcMap's) my application.I cant control with EsriLicenseStatus constants.Are ...
3
votes
0answers
36 views

How to set up graduated colors for a layer using ArcObjects?

I have to render a feature layer with a graduated colors renderer, using the ArcGIS API for Java (or VB, .NET). As the feature layer data is created dynamically using webservices, I don't in advance ...
2
votes
1answer
126 views

How do you determine which dbclient connection property to use for an Oracle SQLWorkspace connection?

I have an Oracle11g database that I connect to via a SQL Workspace; however the actual dbclient string value that works differs depending on machine (and I'm guessing oracle client configuration). On ...
4
votes
1answer
237 views

CustomLayer Draw Com Exception

I'm trying to create a custom layer, nothing crazy just press a button and have something show up on the display and also have the layer display in the TOC. Well, the layer shows in the TOC but ...
3
votes
3answers
241 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 ...
0
votes
1answer
128 views

Create FeatureClass in Personal Geodatabase and store data

I have to create a new featureClass in my existing personal GeoDatabase. And save some polylines into this featureClass. How can i do it? I need c# code to do this. Edit: I have a problem during ...
0
votes
2answers
321 views

ArcGIS 10 IGPFunction2 and IGPFunctionFactory Implementation

I'm creating a custom ArcToolbox tool in C# .NET in ArcGIS 10 SP2. Though I seem to be having two issues which maybe related: Firstly, my tool is run as a background task i.e. the GP dialog does not ...
3
votes
2answers
674 views

Is it possible to deploy on a ArcGIS 9.3.1 machine a component created with ArcGIS 10?

We are developping a C# ArcObjects Class extension assembly. Our development machine was recently updgraded to ArcGIS 10, but when we try to install the assembly on a 9.3.1 machine, we get an R0000 ...
1
vote
1answer
15 views

ToolStrip Button click event is not fired on first click

I have a dockable window in a custom ArcMap extension. The dockable window has a regular windows forms ToolStrip control in it with ToolStripButtons on the ToolStrip. When the parent dockable window ...
3
votes
2answers
108 views

How can I hide a tool from command window under category

I have created a tool, a button and a dockable window under one project. To open/close the dockable window, button is used. For some specific work, by clicking some specific button from dockable ...
1
vote
1answer
206 views

Adding an existing Feature class to an existing Feature Dataset in c#(arcobjects)

I want to add an existing feature class to an existing feature dataset. Both the feature class and the dataset have the same coordinate system, I searched over the net but only assistance I found was ...
3
votes
2answers
62 views

Add and remove tools from ArcMap toolbar via C# Button and ArcObjects?

OK I updated the draft with some of the suggestions but am still having some issues. I am trying to create a custom button in arcmap that when pressed will edit a toolbars content. Doing things like ...
10
votes
2answers
2k views

Avoiding fails from ArcObjects geoprocessing with .NET?

There are some nice features in ArcToolbox we can use, but for some reason, this is NOT working properly. It doesn't even throw me an error. My software is running inside ArcMap, so no need to ...
14
votes
6answers
6k views

Converting between Esri Geometry and WKT using ArcObjects?

It seems like there is no means of converting an ArcObjects geometry to the Well-Known Text representation (and vice versa) in ArcGIS ArcObjects API. The only thing I was able to find is conversion to ...
3
votes
2answers
388 views

Where to buy training licenses for learning ArcObjects?

A client of mine wants me to do some work with C# and ArcObjects. However, I have no real experience with C# (or much ArcObjects except with Java to be honest). Rather than outsource the work, I ...
3
votes
2answers
162 views

Automate Naming of Stormwater Network (Geometric network)

We have a geometric network representing our stormwater network. For anyone unfamiliar with stormwater drainage networks, they are composed of pipes and pits (simplified for this question). Pits are ...
0
votes
0answers
36 views

How to embed ArcMap graph into winforms dialog using .NET/C# and ArcObjects?

I am creating an addin for ArcMap in csharp and want to add a graph to a dialog. The native arcgis graph control doesn't seem to been available from the visual studio toolbox. I can't figure out ...
1
vote
1answer
121 views

How to get the data in dbf file while creating shapefile using arcGis

I am using ArcObject DLL to create shapefile. I am successfully able to create the shape file but I am having some issues with populating the shapefile data into .dbf file. At present the .dbf file ...
4
votes
3answers
375 views

How to use ITrackCancel to escape IRubberBand track?

I have a BaseTool for AX_MapControl and AX_PageLayoutControl that allows to draw a polyline via IRubberBand. But once the rubberband is started, you can't cancel it e.g. by hitting escape. I found ...
4
votes
2answers
805 views

Identifying features using ArcGIS Engine?

I am new to arcgis. I am building a custom desktop GIS application using arcgis engine 9.3.1 . I want to make a custom identify tool and add it to toolbar control. Any example or code will be ...
0
votes
1answer
205 views

How to call a GP service from ArcObjects in .NET using ArcGIS Engine 10.2?

I published and successfully accessed a GP service in ArcMap 10.2, but I couldn't make it work in my .NET program using ArcObjects 10.2: IGeoProcessor gp = new GeoProcessorClass(); ...
0
votes
2answers
618 views

C# Microsoft Visual: Setting text box value to null

I'm creating an attributes table in ArcObjects to show a bunch of values. They save just fine when I put them in, the problem is reverting them back to null. My text values all get turned into a blank ...
2
votes
2answers
64 views

Get feature from list

I've done this: while (feature != null) { if ((feature.get_Value(feature.Fields.FindField("NAME")) != null) && ...
0
votes
0answers
18 views

ITopologicalOp simplify

I want to simplify a polyline geometry so that at the intersection line was torn, that is added EndPoint (see figure below). Polyline Feature class is stored in a file geodatabase in the dataset, it ...
3
votes
1answer
38 views

Can I get a unique reference to a feature layer in ArcObjects?

I want to build an IDictionary with the feature layers of my TOC in ArcObjects. So I need key value pairs. The value will be an attribute of the feature layer but I am wondering what to use as key. I ...
3
votes
3answers
66 views

Why is ESRI.ArcGIS.Desktop.AddIns.ComboBox configured with a number of W's?

I'm using a ESRI.ArcGIS.Desktop.AddIns.ComboBox. I configure the size of the combobox in config.esriaddinx with the following xml: <ComboBox id="my_id" class="MyComboBox" ...
0
votes
1answer
140 views

ArcGIS Custom Toolbox crashes ArcMap 10.0

I have prepared Custom ArcToolBox using ArcObjects in java. It was working fine before though was giving NullPointerException but this something java related error and that is fine. Later I have ...
0
votes
2answers
371 views

How to Create shapefile using Geometry field

I am working on ArcObject. I want to create shape file using arcObject. I am very close to it. but need some better alternative as i feel my solution may fall short in time when there are lakhs of ...
0
votes
0answers
18 views

argis 9.3 to arcgis 10.2 arcobjects connection AutomationException: 0x5 - Access is denied. in 'Invoke'

A legacy code, written in 9.3, made connections to the server via the following code public String connect(String domain, String user, String password) { new ...
1
vote
1answer
44 views

Reusing ArcObjects code written at 9.3 in ArcGIS 10.2?

-- update: i've narrowed down the scope of the question to something more specific in a new question: argis 9.3 to arcgis 10.2 arcobjects connection AutomationException: 0x5 - Access is denied. in ...
0
votes
1answer
51 views

What's the best way to break closed polyline using ArcObjects?

I have a polyline feature class with several closed lines (the start point = the end point). I need to break these lines in two features, using ArcObjects (doesn't matter Java, VB or C#). I have ...