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
18 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
0answers
11 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
53 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
19 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
32 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
29 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
0answers
35 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
73 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
21 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
25 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
60 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
41 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
27 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
33 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
13 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
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 + ...
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) { } }; ...
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 ...
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 ...
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 ...
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 ...
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 ...
0
votes
0answers
48 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
28 views

Manipulating Rasters and Cost Arrays

I have a map file created by an external group. Within this file is the hydrography map. In one existing piece of code we are making a call ... passing a CostArray as follows, the FeatureClass being ...
0
votes
0answers
125 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
55 views

How to remove Raster from Raster Dataset programmatically?

I have Raster (it is 6 adf files). This raster was added to Raster Dataset in sde database. Geoprocessor geoProcessor = new Geoprocessor(); Mosaic mosaic = new Mosaic(); ...
0
votes
0answers
90 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
61 views

How to retrieve FeatureServer and ClassExtensions error messages?

I am having problems when publishing a service with a FeatureServer capabilities. This service is pointing to a FeatureClass on the Geodatabase and this FeatureClass has a classExtension associated. ...
0
votes
0answers
34 views

IcommandItem make enable and disable

I have commandbutton1 and Commandbutton2 in commandbar.And Coummandbuton1 is disable on some condition.I want to make enbale commandbutton1 on click of commandbutton2.How to do it. Vinayak Panchal
0
votes
0answers
21 views

Does ArcObjects ConstructUnion operation sometimes fail to merge touching parcels?

I have some code which identifies touching parcels and uses ConstructUnion to produce a single polygon from them. Just occasionally the touching parcels remain unmerged even though they have been ...
0
votes
0answers
79 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 ...
0
votes
0answers
60 views

group all layer index file after adding to TOC

I have added all the tif file of shape file to the map (Desktop).what i need to do group all tif file as one layer to TOC.How to do? Please help me.I am using c#.net
0
votes
0answers
35 views

Can't register StyleGallery.dll (Arcgis) when install my program (using Visual Stdudio,C#)

In my program, I used the IStyleGallery (need using ESRI.ArcGIS.Framework). When I install and run my program. I got the error: "Retrieving the COM class factory....". And, I discovered the reason ...
0
votes
0answers
30 views

Selection Problem

I'm trying to handle feature selection event using c# code. I'm wondering that if using the "HTML popup" tool to click on the points on the map counted as selecting the point feature? As I always get ...
0
votes
0answers
79 views

Initializing Network dataset workspace extension VB.NET problem

I have an add in tool that is basically compiling routes of people travelling to work. It is a large tool ( a lot of code) and it worked a month ago. When I came back to use it yesterday it suddenly ...
0
votes
0answers
58 views

How to get/change line style scale factor of Line ?

I am trying to read custom lines from the dgn file and draw it into MapControl. But I don't know how get/set and change line style scale factor of Line ? Please see this link for more detail about ...
0
votes
0answers
49 views

Dateline wrap issue in ArcObjects / ArcGIS Engine

I am having issues manually creating a polygon that crosses the dateline (long=180). My x coordinate goes from 178, 179, 180, -179, -178, etc. Anyway, can anyone give me some guidance? I am using ...
0
votes
0answers
45 views

AO GP tool: Using .sde files as input in a DEWorkspaceTypeClass parameter

I got a tool where the user selects a workspace for storing feature classes, defined as follows: IGPParameterEdit3 parameter = new GPParameterClass(); parameter.Name = "out_workspace"; ...
0
votes
0answers
32 views

Can't see custom Java toolbox in Arcmap10.1

I am trying to use custom toolbox created in Java (ArcObjects) in ArcMap10.1. I have added my custom jar and libs folder in C:\Program Files\ArcGIS\Desktop10.1\java\lib\ext and starting ArcMap10.1 ...
0
votes
0answers
24 views

INAStreetDirectionsAgent.Execute fails with ArcGIS 10.1

I am working on an extension for ArcMap using the INAStreetDirectionsAgent class to generate the itinerary directions and display them. The example given in the documentation was followed step by ...
0
votes
0answers
128 views

ArcGIS license corrupted by standalone application

This is a problem my coworkers and I have encountered several times without being able to track down the exact issue, and a very annoying and almost untestable one. When testing a standalone ...
0
votes
0answers
66 views

Floating Point UniqueValueRenderer

I am trying to build a unique value renderer using ArcObjects .NET. All the samples that I have seen use the attribute table to build the UniqueValueRenderer. However, my raster does not have an ...
0
votes
0answers
78 views

Changing polyline vertex followed be union causes exception

I'm new to this arcobject stuff. I'm trying to change the last vertex on a polyline feature. (using C#) After the change I need to add this changed polyline into another. It seemed to work except if ...
0
votes
0answers
16 views

How can I create a Representation control

I want to make a dialog of my own to in ArcMap handle cartographic representations in a slightly different way. However, I ewmbed the standard representation editing control. Does anybody know what it ...
0
votes
0answers
94 views

How to fill selected feature(s) with transparent red fill using ArcGIS Server 10?

I'm writing a Server Object Extension (SOE) for ArcGIS Server 10, and I'd like to change the symbology of features selected from my feature layer such that the features are shaded with a transparent ...
0
votes
0answers
96 views

How to create sector figure in ArcObject?

How to create sector in ArcObject 10.1? Now I draw one point, two lines, two arks. But I think it is not good. It is differents objects. I need one object. Well. Now I drawing: IElementCollection ...
0
votes
0answers
215 views

Can I display google map in arcgis desktop application without violating the license?

I have desktop application on C# 4.0 based on ArcObjects. What controls do I need use to display google map? Is it real?
0
votes
0answers
175 views

Could not load native library error (Arcobjects)

I created a destop application using eclipse IDE , it works perfectly fine over eclipse. Problem happens when i try to export it as runnable jar file. This is my project set up in eclipse juno I ...
0
votes
0answers
108 views

Eclipse export as runnable jar file error

I am building a destop application , which takes user input for personal geodatabase and finds feature class in it . It works fine till i run it in eclipse , but when i export it as a runnable jar ...