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
0answers
57 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
118 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
111 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 ...
0
votes
0answers
129 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
59 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
13 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 ...
0
votes
0answers
126 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 = ...
0
votes
1answer
149 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
0answers
52 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 ...
0
votes
0answers
55 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 ...
0
votes
0answers
112 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 ...
0
votes
0answers
87 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
36 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 ...
0
votes
1answer
278 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. ...
0
votes
0answers
61 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
30 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
70 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: ...
0
votes
0answers
72 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 ...
0
votes
0answers
21 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
204 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
14 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
115 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
45 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 ...
0
votes
0answers
50 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
57 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
1answer
73 views

How to change a schema name within a MXD with ArcObject .NET?

I have a MXD file where all layers point to an Oracle Spatial database. Recently our DBA changed the schema name. So now my MXD file has broken links, each time I open it, all my layers have a ...
0
votes
1answer
60 views

ArcObjects ExportMapImage modifies image extent

I am trying to extract a map image at a certain range. I am using IMxdServer's ExportMapImage method, documented here. Here is the relevant snippet of code: IMapDocumentPtr ...
0
votes
0answers
91 views

ArcGIS Engine Map Control application

I am new to ArcGIS. I am trying to create a map control application but when I am adding my digitized map in map control it is only showing raster data (i.e. picture map) not the digitized features ...
0
votes
0answers
270 views

“ArcGIS encountered a serious application error” after Closing

i have developed my own add-in for arcmap 10.1 with VS2010. it works fine in my computer but not for other computers. i mean the program goes fine in everything but after closing Arcmap the error ...
0
votes
0answers
11 views

Change layer border in arcmap through arcobject [duplicate]

I wish to change the border of layer in arcmap through arcobject vb.net program .Through my program i have added layer to arcmap now i want to change its property .Can anyone please tell me where to ...
0
votes
1answer
118 views

split polyline with point and add vertex on that point as well as reflect in attribute table?

I am new to ArcGIS. I am using the ArcObjects SDK and I couldn't understand how to: Add vertex to that clicked location as well Add attributes in that attribute table. Can someone suggest some ...
0
votes
0answers
69 views

How do I use VB .net to export the ActiveView to geotiff using Arcobjects?

I want to program in vb.net and Arcobject the exporting of a map to geotiff. What I have done so far is export the map to TIFF but I am not getting Geotiff. When we do it manually we check the write ...
0
votes
0answers
52 views

Can't open Dgn file with CadWorkspaceFactory?

I am trying to open Dgn File to get data. But I got the error: "Error HRESULT E_FAIL has been returned from a call to a COM component ?" when using OpenFromFile statement, please see my codes: Type ...
0
votes
0answers
56 views

How to access input parameters (layer name,field name) in rest SOE?

I want to access input parameters in my SOE(Server object extension) code which I am writing in arcobjects using C#. I have constructed the complete URL(including layername id and field name) for ...
0
votes
0answers
85 views

Feature To Polygon by Attribute

Hey everyone How are things? I am having a problem getting my head around an efficient way to create polygons from polylines using an attribute. I would like to get some pseudo code, suggestions as ...
0
votes
0answers
76 views

Arcobjects/Arcgis Engine — geoprocessing within a buffer?

I have a point layer and a polyline layer (each contains more than 100k records), I would like to process the polyline layer within point buffer zones. For example, for each point in the point layer, ...
0
votes
0answers
40 views

Can we change envelope.expand parametres from double to metre

I wish to find all those line intersecting from point which are 8 metre away from the point.Let me expalin you what i did so far- pEnvelope=Frompt1.envelope pEnvelope.Expand(0.5, 0.5, true); And ...
0
votes
0answers
57 views

Find Gap between two Continuous One Way street in Road Feature Class

I wish to find gap in the continuity of One Way street.I have One Road(Polyline) Feature Class and one way road are represented by one column called ONE Way.If ONE WAY="Y" that means road is one way ...
0
votes
0answers
31 views

How to code ESRI.ArcGIS.DataManagementTools.WorkspaceToRasterCatalog?

I am trying to use ESRI.ArcGIS.DataManagementTools.WorkspaceToRasterCatalog to load large number of raster files into RasterCatalog. I am not sure if there is any example showing how to create ...
0
votes
0answers
23 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) { } }; ...
0
votes
0answers
18 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
124 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 ...
0
votes
0answers
61 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 ...
0
votes
0answers
66 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 ...
0
votes
1answer
23 views

Create Cost Array ignores NoData!

After a great deal of research here is what is happening: We select two points on a hydrography map with an island inbetween. It is expected that the CostDistanceWithPolyline would return a line that ...
0
votes
0answers
63 views

Command doesn't show up on ICommandBar

I'm trying to put a custom command into the Help menu on startup if it isn't already there. This is my code to do so: private void OnCreate() { // other stuff in OnCreate()... // registering ...
0
votes
0answers
213 views

How to get the top left and lower right coordinates of polygon in ArcObjects?

First of all, draw the rectangle ESRI.ArcGIS.Display.IScreenDisplay screenDisplay = Map1.ActiveView.ScreenDisplay; screenDisplay.StartDrawing(screenDisplay.hDC, (System.Int16) ...
0
votes
0answers
132 views

Add Layer into existing GroupLayer in map c#

I can't add Layer into existing GroupLayer in map. I'm trying this code below, but it does not work! I need code looks like this: public void AddLayer(AxMapControl mapControl, ILayer pLayer) { ...
0
votes
0answers
54 views

How to enable and disable IcommandItem of ArcObjects?

I have Commandbutton1 and Commandbutton2 in commandbar. Commandbutton1 is disabled on some condition. I want to enable Commandbutton1 on click of Commandbutton12. How do I do this?
0
votes
0answers
133 views

How to create a raster dataset from a known decimal extent?

I have an input raster pInputRaster. I want to create a new raster dataset called pOutputRasterDS that is the same width, height and cellsize as my input raster dataset (I'm not worried about ...