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)

0
votes
3answers
180 views

Get Coordinates of selected item on map using ArcGIS Engine

I have IFeatureSelection. Then select from it items by QueryFilter. How can i get coordinates of selected item? (If there are more then 1 object, then select first)? Selected item is Point in ...
1
vote
2answers
138 views

Get IFeatureLayer from ILayer using ArcGIS Engine?

I try to select object from layer by name. I think i found sollution here. First problem i got is that i use GroupLayer. So i made research how to get subLayer from GroupLayer. Sollution is here. Now ...
1
vote
1answer
31 views

Is there a tool in arctoolbox for IDistanceOp.CostPathasPolyline?

Almost all the methods in IDistanceOp have a corresponding tool in the Distance Toolset Spatial Analyst Toolbox. However, I can't find anything in the toolbox for IDistanceOp.CostPathasPolyline. ...
-1
votes
1answer
66 views

After SDE Conversion, cannot open our GP Services to republish them

We have several services that were originally published against a local file-based database (with ArcMap 10.1). We spent the past week converting the data into an SDE database and we are running ...
1
vote
2answers
66 views

Conversion to SDE changes names

I could not find anything on this topic already discussed. We converted our file-based system in ESRI to an SDE instance on Sql Server. We made changes in our code to open using the connection string ...
0
votes
0answers
14 views

Custom Editor Extension - how to maintain original and the new feature [duplicate]

I am editing file geodatabase using edit toolbar. I've writing an extension to listen to edit events. It gives me the new feature with OnChangeFeature. However I am trying to obtain the original ...
0
votes
1answer
41 views

Creating a program for batch snapping polylines and polygons

I currently work with large sums of lines data. I am editing them using different GIS software. I've realized that I can detect node problems in arcmap10.1. I would like to know if it's possible to ...
0
votes
1answer
143 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
71 views

Is it possible to create Runtime content progamatically with ArcObjects

I'm exploring different options for creating an offline mobile application with Esri's technologies. The option that fits my needs the best is to use the ArcGIS Runtime SDK with offline maps created ...
1
vote
1answer
53 views

How do you determine when user is clicking the end point of an edit sketch using ArcObjects?

I am using vb.net working on ArcObjects. One requirement is to pop up a toolbox once the user click the end point (double click the point under editing status). So I want to know how can I know when ...
0
votes
1answer
90 views

In arcgis10.2, can I access arcobjects using python? [duplicate]

I am using python in Arcgis 10.2, but it seems Python cannot meet all my developing demands, from the forum, others recommend to use python to access arc objects,but what they mentioned is the old ...
1
vote
0answers
41 views

Authoring map with advanced gradient symbol for ArcGIS web service?

I need to prepare a web service which will display the gradient of polygon points values. It has to look just like in this picture: link to the picture (please ignore the arrows). Each polygon is ...
1
vote
0answers
48 views

Row ID Column Type : User Maintained - Insert using IFeatureBuffer - ArcGIS 10.2

I am trying to insert a record in SDE feature class (which is not registered with SDE) using Arcobjects 10.2 using IFeatureBuffer.InsertFeature functionality. This throws an error message "The current ...
0
votes
0answers
53 views

How to get RasterToPolygon working

We have a process that is almost working except for this one call ... This is the one tool function that is requiring a FeatureClass and I found code that I thought would work. Unfortunately all I ...
0
votes
0answers
79 views

How to create a feature class from a DEFeatureClass output parameter

I'm writing a geoprocessing tool with ArcObjects for Java. My tool takes in parameters one feature class (from a layer, a shapefile or a GDB) and others parameters. The parameter in output is a ...
0
votes
1answer
100 views

Setting a value on a raster where a polygon intersects cells

I reviewed all of the supposed 'answers' and I just do not see that they really answer my question. Mostly because the ones I'm reading are setting values either inside or outside a boundary. So let ...
1
vote
1answer
22 views

The button icons in the Measure dialog box disappear!

My development environmnet is vs2008 c# + AE 9.3. I use the follow codes to implement the measure tool: ICommand cmdMeasure; cmdMeasure = new ControlsMapMeasureToolClass(); ...
0
votes
0answers
121 views

Using Code Block in Field Calculator with ArcObjects (VB.NET)

I'm having trouble using a code block in the Field Calculator with ArcObjects. Ideally, I'd like to be able to read a text file which contains the Python code for the code block. I've tested this code ...
0
votes
0answers
46 views

Load Featureclass from ArcMap to a Database (sde) with Arcobjects

I have to develope an extension for ArcMap 10.2 that has to get spatial data from an Oracle Database, edit it and finally upload the changes. I create a scratch featureclass whit the data, I edit the ...
0
votes
0answers
12 views

Contextual menu items works only once (axTocControl)

I am developping a VB.net application with MapControl and TOCcontrol ArcObjects controls. I have added a contextual menu with two commands that work fine. The problem is that when I select the same ...
1
vote
1answer
65 views

How to generate StreetFrom and StreetTo data from street segments?

Background: I have a polyline feature class of about 4000 street centerline segments for which I would like to add data on what streets the segments intersect with. I would like to add some new ...
0
votes
0answers
103 views

ArcObjects SDK 10 .net framework create a Network dataset Exception from HRESULT: 0x800422D4

I am trying to work through the "How to Create a Network Dataset" using the ArcObjects SDK 10 for the .NET Framework example. but the line: Dim netDataset As INetworkDataset = ...
1
vote
1answer
87 views

Learn ArcObjects

Is it mandatory to have ArcEngine Licence to learn ArcObjects?I was able to develop Addins for arcmap but I need in-depth knowledge of ArcObject so started exploring MapControl Application but it ...
1
vote
1answer
59 views

Remove a custom contents view from ArcMap TOC in VB .NET?

I am using the ESRI sample, TOCLayerFilterVB2010, which implements a custom TOC view for map layers, as a prototype. For my purposes, I need to be able to turn it on/off, meaning add and remove that ...
2
votes
1answer
67 views

ArcMap add in constructor called not called on start up

I am converting some old tools to the new Add-In format and have noticed that the constructor is no longer being called during startup, instead it is being called when the tool is clicked for the ...
0
votes
2answers
66 views

Need help with ArcMAP API to find coordinates of points in point shape file

I need to find some reference or even C#.Net example code of how to use the ArcMAP 10.2 programmers API. I have got a CSV file with X, Y and Elevation coordinates of soil samples and I want to write ...
0
votes
1answer
140 views

Issue with initializing ArcObjects Interface and classes

I was going through ArcObjects example on following linkWalkthrough_Building_custom_UI_elements .I followed same steps but I was getting error while initializing objects for following code. ...
0
votes
1answer
127 views

How to display selected features in ArcGIS Identify Dialog using Visual Studio 2010/ArcObjects?

I'm brand new to ArcObjects SDKs and am struggling. I have a Python Add-in performing a query to select records (works great)and now trying to call the identify dialog via an .NET addin button that ...
0
votes
1answer
47 views

How to merge 2 shapefiles in ArcObjects

Using ArcObjects SDK for Java, I have the full path of 2 shapefiles: String in1, String in2, and I want to merge them using the geoprocessing tool Merge. I tried to several methods: ...
0
votes
1answer
102 views

Export data from .mxd file to ms sql database

I am using ArcGIS product (v.10.1). I have also tempalte of Maps from ArcGIS. But i need to get data from maps (.mxd files) to store it into MS SQL database. Explanation: I have application that has ...
1
vote
1answer
44 views

How to tell when a new MXD is opened

I am trying to force a tab from a tab container to open to a specific tab once a new MXD is opened. Currently it will stay on a previously selected tab when I use the catalog(docked) to open a new ...
0
votes
0answers
46 views

how to call click event on marker(may be a simple fill symbol elementt or picture symbol element) element using java arc objects

Hii I am new in GIS and java arcobjects. I have to call a click event on simple marker element on mapbean using java arc objects but i dont know how to do it. in my application I put approx 200 ...
1
vote
1answer
349 views

ESRI License Initialize & Binding Failure

Despite following guidance about how to first bind, then initialize a licence for a standalone WinForm uses some arcobjects, I still get the "80040111 ClassFactory cannot supply requested class" error ...
0
votes
0answers
49 views

Transform map coordinates to page coordinate in ArcObjects

I have a map inside a page layout in ArcMap. Currently, I use this code to convert geographic coordinates to page coordinates: IMap map = ... IPageLayout pageLayout = ... IDisplayTransformation ...
1
vote
1answer
60 views

IFeatureDataset.CreateFeatureClass Error

I'm working on a webservice in ArcObjects 9.3. It works fine when deployed on IIS, but when I try to debug some unit tests I keep getting the same error: The remote procedure call failed. ...
0
votes
0answers
90 views

import gpx file to shape file

i am using arcobject .net10.1,arcmap10.1,arcgis10.1. i want a shape file which is created from .gpx file(GPS file) .i have search every where but cound'nt find any information related to my query. i ...
1
vote
1answer
55 views

Display DegreesMinutesSeconds on status bar

I have used status bar to display x and y coordinates in esriDirectionUnits.esriDUDegreesMinutesSeconds form. I have created the code like this statusBarXY.Text = string.Format("{0}, {1} {2}", ...
0
votes
0answers
82 views

cad to shapefile conversion

i have use arcgis10.1,arcobjects.net. i did following code ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true; ...
0
votes
0answers
32 views

ContourList error

i use ArcGIS Desktop 10.1 in Windows 7 and develop with visual studio 2010, .net v3.5. This is a quite strange problem. I have a Console Application that calls this simple function: public void ...
1
vote
0answers
37 views

How to run a 2.0 ESRI DLL in a 4.0 Addin application

We have a complex set of operations running as Add-in's and services that span both ArcMap, ArcServer, and ArcGIS Explorer for Desktop. Currently we are compiling everything under .NET 3.5 but we may ...
0
votes
0answers
59 views

How to use Intersect tool in ArcObjects

I'm trying to use the Intersect tool in ArcObjects SDK Java with two feature classes. Here is my code: public void intersectTwoFeatureClasses(Object in1, Object in2, Object out) throws ...
2
votes
1answer
56 views

How to get a map surround as an IElement in ArcObjects?

In an MXD file, I have a page layout and a map with a north arrow, and I need to move it in the page layout programmatically using ArcObjects Java SDK. I managed to get the north arrow map surround ...
2
votes
0answers
58 views

Adding a button from an add-in to a TOC context menu

I would like to add a button to a group layer context menu in the table of contents. The button is from an add-in that also contains an extension. Should be straight-forward enough. The extension ...
1
vote
2answers
318 views

Geoprocessing Tools on ArcGIS 10.2 and Visual Studio 2012 -issues

I am migrating one of the existing project (custom Geo-processing tool- class library project) source code which runs on ArcGIS 10 SP4 and Visual studio 2010. This is working fine. I am could run the ...
1
vote
0answers
111 views

Is it possible to run ArcGIS Engine 10.2 in Java 7?

Does anyone know if it's possible to run ArcEngine 10.2 in Java 7 ? Currently in Java 6, I need to use both ArcEngine 10.2 and Java 7 functions in the same standalone program. (I don't talk about ...
2
votes
1answer
128 views

Error updating Shape.area and Shape.length

am building a webservice with ArcObjects in C# .Net to insert a new feature or update an existing feature to a SDE-table. I am using the IFeatureCursor and an IFeatureBuffer to insert the features. ...
1
vote
1answer
88 views

Why a severe performance difference using deleteSearchedRows

The issue I am having involves two versioned tables. A function deletes 48 rows from Table A and and 48 rows from Table B using deleteSearchedRows. However, the delete from Table A takes roughly 4 ...
1
vote
3answers
77 views

How to get WorkspaceCategory for a given path

I need to determine the WorkspaceCategory string (IGxDialog.FinalLocation.WorkspaceCategory) for a given path. I need this to create appropriate WorkspaceFactory and finally be able to create multiple ...
0
votes
1answer
246 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. ...
1
vote
0answers
158 views

How to resolve an InvalidCastException for two Objects of the same type in an ArcMap AddIn?

I'm trying to work through an InvalidCastException that is being thrown when a form is displayed from an ArcMap Addin. This is a fairly recent occurrence and I haven't identified what has changed that ...