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
1answer
98 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
42 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
74 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
41 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
29 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
177 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
32 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
45 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
62 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
50 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
75 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
23 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
34 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
38 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
41 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
43 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 ...
2
votes
1answer
192 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
77 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
89 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
58 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
71 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
156 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
87 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 ...
1
vote
1answer
129 views

I have an ArcObjects 10.1 c# toolbar working, but when I add an addin extension to project the Startup function is never hit. why?

I have created an Esri Addin toolbar in VS2010 to add layers and search an address file, this works fine. I want to add an extension that will replace text on a template MXD with the current users ...
0
votes
1answer
65 views

Creating Network Dataset programatically

I'm trying to code to create a network dataset using a single line feature class with minimal attributes I'm looking for a nice tutorial which can guide me through the process.I have already looked at ...
0
votes
1answer
56 views

How to list all of feature class in SDE?

I am getting a problem: my SDE contains some feature classes, but after using the statement: var namesEnum = workspace.DatasetNames[esriDatasetType.esriDTFeatureClass]; var tempName = ...
2
votes
1answer
91 views

Unknown coordinate system warning when programmatically adding layer

I have another interesting question for you. I have data with unknown coordinate system. When I add this data using a standard tool(File->Add Data) in ArcMap, a warning dialog appears. It looks like: ...
0
votes
0answers
38 views

Warning References to embedded interop assembly in arcobject.net

I am including arcobject.net in vb.net project, but i am plagued with following warning. A reference was created to embedded interop assembly 'ESRI.ARCGIS.Geodatabse' because of an indirect reference ...
0
votes
1answer
26 views

Can I avoid decimal conversion calling CostDistance

Our client asked us to incorporate blockages and delays for movement of boats and ships on the local waterways. In our one process we are creating polygons of the distance a boat can move at top ...
0
votes
1answer
56 views

Sort Grid binded to ArcDataBinding.TableWrapper in ArcObjects 10.1

I have a Datagridview which is binded to a ArcDataBinding.TableWrapper. So, I want it to be sorted when ColumnHeader is clicked. I tried to do the following on Click event: ...
1
vote
1answer
114 views

How to get a list of map scales programmatically in ArcMap?

I need to get all map scales, which are shown in the ArcMap scalebar. I need list of value, something like: 1:1500 1:3000 1:6000 1:12000 1:24000 1:50000 1:100000 Does anyone know how to get it?
1
vote
0answers
94 views

How to simplify a self intersected / self overlapped polyline using ArcObjects?

I have a self intersected polyline, how can I break it into 5 records stored in the same table using arcobjects? (splited by vertices and the intersection point) Here is what I have got and it ...
0
votes
0answers
53 views

Problem after buffer is created in arcobject.net?

I have arcmap10.1. and arcobject10.1 .net. I have created a single buffer successfully and it also display in axtoccontrol but the axmapcontrol display that buffer on upper side off all layer so ...
2
votes
1answer
72 views

Is it possible to learn ArcObjects without VB?

I have some text in arcmap active view and I need to Change the font face as the licence does not cover the font type. I am using python script for Automation but arcpy can not select the text ...
1
vote
0answers
87 views

ArcEngine BaseTool derived classes stops receiving OnKeyDown messages

I have two BaseTool derived classes in a custom ArcEngine application. Both tools do the same thing: start a INewBezierCurveFeedback on a first mouse click and then stop it and return the resulting ...
0
votes
1answer
144 views

IFeatureLayer.Seach() throws exception HRESULT:0x80041538

My code as bellow give error HRESULT:0x80041538 whenever I use GROUP BY or ORDER BY postfix. Trying in Personal(.mdb) and MSSQL database datas - same result. What can be the reason. Asked similar ...
3
votes
0answers
114 views

How to compute surface of raster or any point using ARCGIS?

I have a raster image whose values are a digital elevation model of terrain. I need to know the surface type (topographic characterization) of particular points along transects of this DEM. How to ...
1
vote
1answer
83 views

Can you customize the editor widget for a feature layer?

Here is the code for the editor widget: <esri:EditorWidget x:Name="MyEditorWidget" Map="{Binding ElementName=MyMap}" Width="300" ...
3
votes
2answers
101 views

Fastest Way to Intersect Envelope with Multiple Feature Classes ArcObjects

I have the situation where I am doing a large number of intersections and I need to do them fast. The situation is I have a iMap with 1 or more layers and a series of envelopes, lots of envelopes. I ...
1
vote
0answers
45 views

How to make a custom properties dialog for a custom text background

I'm developing a custom text background in ArcObjects like in this example. I would like to know if it is possible to make a custom properties dialog to set up parameters of this text background. It ...
3
votes
2answers
59 views

How to programmatically Summarize an ITable?

Is there a way in ArcMap plugin to make Summarize-function like functionality programmatically? There is a feature layer, lets say Building, And it has fields like OID, FloorNumber, Color, Height ...
0
votes
0answers
20 views

IColor reporting BGR rather than RGB

I've created a single point in ArcMap 10.1 SP1, and set it's color (SimpleMarkerSymbol) to Red = 16, Green = 0, and Blue = 255, or 1000FF in hex. I saved that as a layer package, and opened it back ...
0
votes
2answers
103 views

How can I get the map data frame fill the page layout (ArcObjects java)

I need to export a map for several extents (typically states or regions of a country) to PDF. I have a MXD document that I open in an ArcObject console program.I manage to set the PageLayout to A2 ...
0
votes
0answers
13 views

ArcObjects: how do I resize an IComboBox when the contents changes?

In ArcScene: I have implemented an IComboBox where the content changes: void MyComboBox::updateComboBox() { std::vector<CComBSTR> comboBoxItems; getComboBoxItems(comboBoxItems); long ...
0
votes
0answers
89 views

GPS tracking in ArcGIS Engine application

Is there an ArcGIS api for ArcObjects /.Net that I can use to build a function in an ArcGIS Engine 10 application that allows me to track a GPS signal and display the movement plus lets me export and ...
0
votes
0answers
39 views

mapcontrol not reflected when i split polygon with polyline?

I have created a split tool which will create polyline and based on this line i want to divide that polygon into two separate polygons. i have write below code it will create left side and right side ...
1
vote
1answer
31 views

Set available orientation to toobar in ArcMap using ArcObjects

We are creating a very huge extension for ArcMap and in the process, we have created a lot of new custom toolbars. These toolbars contains both buttons and custom controls. These custom controls can ...
0
votes
0answers
39 views

Change the Name,Tooltip of builtin Commands

When I change the name of a builtin command using the following code, I get the error, "this method cannot run on builtin commands". ICommandItem BuiltinCMD = ...
0
votes
0answers
44 views

ArcObjects: How to remove a custom layer?

How is a custom layer supposed to be destructed? I have a custom layer that implements drawing by overriding IActiveViewEvents::AfterDraw. The problem is that sometimes when the custom layer is ...
0
votes
2answers
85 views

How to get the current map from a geoprocessing tool execute function?

I'm making a geoprocessing tool with the ArcObjects SDK Java 10.2. I need to modify labeling colors of a layer of the current map. Is it possible from the execute function to access the map currently ...