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
388 views

Display Feedback “Stutters” When Moving Features

I have a custom tool for moving features that implements IDisplayFeedback and geometry-specific CoClasses to show the user where they are moving the feature. IMovePolygonFeedback polygonFeedback; ...
5
votes
1answer
391 views

Slow performance when selecting features

I am trying to use the following code to select the features that have the attribute values that I pass in. The performance is really slow when it comes to a lot of values e.g >16k values to match ...
4
votes
1answer
123 views

How to call ESRISignAddIn Silently (no UI)?

I am creating a build workflow and I ran into some problems. When I call ESRISignAddIn.exe from the command prompt it is throwing up a dialog saying "Add-In successfully signed". I was expecting it ...
4
votes
1answer
421 views

Can custom map tiles be properly rendered via ArcObjects within my ArcGIS 10.1 Desktop AddIn?

Within ArcObjects for ArcGIS 10.1, we are attempting to render pre-generated map tiles as a basemap (group) layer. The tiles themselves are of the typical web mercator aux. spherical tiling scheme. ...
3
votes
1answer
125 views

Shp to featuredataset (GeoDB)

I'm trying to import a shapefile into a featuredataset under a geodatabase using FeatureDataConverter.ConvertFeatureClass. All the examples that I found are not concerning the import under an existing ...
2
votes
1answer
51 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 ...
0
votes
0answers
93 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
53 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
42 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
48 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
34 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
56 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
33 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
176 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
61 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
104 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
79 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
40 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
27 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
100 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
63 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
41 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
31 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
112 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
76 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
60 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
49 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
35 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
25 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
157 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
81 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
109 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
104 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
244 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
83 views

How to get The character spacing from a ITextElement arcgis engine 9.3 C#

i have a problem.I can set character spacing to a IElement as ITexElement like : TextSymbolClass pTextSymbol = new TextSymbolClass(); pTextSymbol.CharacterSpacing = 10 ; //etc ...
0
votes
0answers
163 views

Export From PGDB to ArcSde Using C#

I need help exporting a personal geodatabase Feature Class to an ArcSDE geodatabase using C# ArcObjects with ArcGIS 9.3. I just want to replicate the tool Feature Class to Feature Class ...
0
votes
0answers
207 views

Getting Subtypes of feature Classes using arc Object Java

I am developing a tool to demonstrate subtypes of feature classes in a geodatabase. My code works until printing feature classes. Can anybody assist me by providing a right way to print subtypes of ...
0
votes
0answers
114 views

ESRI AddFeatures call on rest endpoint with attributes

I can add a line feature via the rest endpoint with my hand crafted call from C#. However, if i add any attributes to the call it will fail and say unable to perform operation. All of the fields in ...
0
votes
0answers
399 views

How to convert Graphic Layer to Feature Layer in ArcGIS 10.1

In general Graphics can be converted into Features manually from Drawing Toolbar option convert Graphics to Feature. My requirement here is i want to convert through code using ArcObjects and C#. One ...
0
votes
0answers
98 views

Migrating code to 10.1 and recycled search

I am migrating 9.3 Desktop extension to 10.1 I am getting this bug when I am trying to update a row in the geodatabase "Cannot call Store on a recycled row while editing" And seems the reason is, I ...
0
votes
0answers
155 views

How to get x and y coordinate values of an annotational featureclass

I am able to get the x and y coordinate values from point, polyline, polygon and multipoint type featureclasses. However, I am unable to export x and y coordinate values of an annotational ...
0
votes
0answers
129 views

Can i assign a list or array to IRowBuffer Row without Row.set_Value()?

Is it possible to assign a list or array to IRowBuffer Row? I have something like the following: I have a fields (list) with values and i have to fill a Row with that values. public void ...
0
votes
0answers
109 views

Run time error for GP objects

I have a code with toolbars which I tried to run it in another PC but it failed. I get a run time error "Method Addtoolbox of object I GDispatch failed". The line that the code stacks is the last one ...
0
votes
0answers
68 views

Why is IQueryGeometry crashing when ITextSymbol:Text contains more then one AMPERSAND (&) symbol?

I have a bit of an issue with my addin which converts annotations (text) to polygons. To do this I use the ITextSymbol obtained from the Annotation Feature which is then implemented by the ...
0
votes
0answers
121 views

Is there any geodatabase schema & data migration library for .Net exist?

I'm performing code refactoring and database normalization in my project and looking for any .Net library for geodatabase schema & data migrations. Is there any solution exist for ArcObjects?
0
votes
0answers
406 views

How to solve a Run-time error 91?

I have a function which a part shown below. The problem is that I get a Run-time error 91 (object variable or with variable not set) and the debug highlights the last line of the code ( Set ...
0
votes
0answers
145 views

How to make sure OnSketchFinished always works?

In my VBA application i have a listener setup that listens for OnSketchFinished, when the polygon is created a messagebox appears and then a userform. My problem is that the listener will work 90% of ...
0
votes
0answers
233 views

ArcObjects - Select fields to Layout

I´ve a project wich I need to do the following task: there is several points with coordinates (X,Y) in the correspondent table. I select, manually, a few points and i want to, trought Arcobjects, send ...
0
votes
0answers
330 views

Adding a polygon in ArcGlobe via GraphicsContainer.AddElement

I'm trying to add some data to an ArcGlobe; however, it's not showing up and I'm wondering what the issue is. I am doing the following IGeometry geometry; Ipolygon polygon = myPolygon; ...
-1
votes
0answers
15 views

Attribute table for the layer in ArcEngine Application

I have requirement of displaying attribute table in our ArcEngine Application something like arcMap for the selected layer in table of content. I am not able to find suitable example on forum or other ...