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)

2
votes
2answers
21 views

Getting a list of ObjectID from a Selection Set Object using ArcObjects 9.3 in VB.Net

I am trying to get back a list of ObjectIDs from a selection set using VB.Net in ArcObjects for ArcGIS Desktop 9.3. I have been passing an object populated using the ".IDs" method from the ...
0
votes
0answers
13 views

Searching in ArcMap using VB.NET?

How can I search in ArcMap Table with VB.NET and zoom to the world/location on the map?
4
votes
1answer
139 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 ...
1
vote
0answers
12 views

How to compile an ArcGIS Desktop add-in in Visual Studio 2013

I have several projects made in Visual Studio 2010, those projects are ArcGIS Desktop Add-in's. I have been change of computer, and my new one only have Visual Studio 2013 due to some company politics ...
0
votes
2answers
336 views

Get selected features on ArcMap in arcMap Addin (eclipse)

I am building a custom arcMap Addin button which onclick event tells info about selected features. Following is my java class --- public class Break extends Button { /** * Called when the button ...
2
votes
1answer
63 views
+50

Getting Uncompressed Size of Raster using ArcObjects?

How can we get the Uncompressed Size of a raster as shown in the layer properties below using ArcObjects?
6
votes
1answer
228 views

Is ArcFM or ArcMap leaking memory when switching between page templates?

Can anyone else reproduce the memory leak described below? Any insight into what may be causing the leak is appreciated. I have custom code that swaps between landscape and portrait templates and ...
3
votes
0answers
59 views
+50

Pulling ArcSDE feature classes from current map to fieldmapping as DETable?

I'm working with SDE layers in arcmap. trying to avoid pointing to the sde file itself. I've tried workspace.Pathname, it was empty for sde remote workspace. I've also tried IName from workspace, ...
2
votes
1answer
54 views

Creating a multiring buffer in ArcObjects

I am currently writing an an addin for ArcGIS in C#. The premise of the application is, the user will select a polygon, a multi ring buffer is created from the centroid of the polygon. The buffer ...
1
vote
1answer
26 views

Using IGeoProcessor2 to update Oracle Spatial

In the below example the input and out are shape files read from folders.Is it possible to read and write Oracle Spatial Geometry tables? I have ArcGIS,ArcSDE and Oracle Spatial 11g. How to set ...
1
vote
1answer
17 views

Using ArcGIS for Server and ArcSDE for importing shapefiles?

Is there a way to use ArcGIS Server web services to perform the task below? I have .NET ArcObjects code to import shapefiles to Spatial DB which works on ArcGIS for Desktop. This code used ArcSDE to ...
0
votes
0answers
11 views

how to create map package programatically using C#?

I'm using .NET SDK to create ArcMap toolbar with arcgis 10.1. how do i create map package .mpk programatically? http://resources.arcgis.com/en/help/main/10.1/index.html#//006600000403000000
0
votes
1answer
216 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. ...
4
votes
1answer
472 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. ...
1
vote
0answers
14 views

How to handle exception in Arcobject 'Attempted to read or write protected memory' while working with three different featureclass

I have three featureclasses representing Road,Rail and city junction respectively. First i have taken rail and road featureclass and done spatial query ...
0
votes
0answers
17 views

ComboBox Addin to populate Layers .NET C#

I am using Arcgis 10.1 and created following class derived from ComboBox. class LayersComboBox : ESRI.ArcGIS.Desktop.AddIns.ComboBox I want Combo box Add-in to populate added layers(in table of ...
2
votes
1answer
177 views

Overlapping Polygons in same feature class using Arcobjects

I have a polygon feature classs with millions of records, I need to find list of overlapping or intersecting polygons in the same feature class, and how to do it efficiently? I need a ESRI ...
3
votes
2answers
215 views

How to return feature.shape from server by using WCF and ArcGIS Silverlight API?

I am using the ArcGIS Silverlight API. I all I need to do is to get the geometry from a feature by objectid to zoom to it: getFeature(objectid); So I used WCF service to get the geometry but I ...
2
votes
0answers
349 views

The underlying connection was closed: The connection was closed unexpectedly, WCF and ESRI Objects

I am getting this error when using ESRI objects like Geometry, Envelope etc in a WCF service. I have a class that some properties (string, int, double) but when I add ESRI type as part of this class, ...
1
vote
0answers
21 views

The underlying connection was closed: The connection was closed unexpectedly. AOInitiliaze

I create a WCF Service. When I try to Initialize ArcGIS License with AOInitialize I get error: The underlying connection was closed: The connection was closed unexpectedly. public void ...
12
votes
1answer
437 views

Scale in printed map (mxd) is different in code to manual printing

This question is related in part to a previous question I have asked. I have tried printing an A3 mxd with the Print Active View code as published by ESRI and have changed only one line of code and ...
3
votes
3answers
5k views

How do I upload a Featureclass to a Geodatabase in C#?

All, I have a featureclass with Arcobjects that came from a Shape file and I wish to import it into a geodatabase. I have the geodatabase connection, I just don't know how to load the feature class ...
1
vote
1answer
215 views

How to set min and max value for stretchType: esriRasterStretch_PercentMinimumMaximum

How can I set the min and max values for the stretch type "Percent Clip" in arcobjects? It's possible to set the Stretch type: rasterStretch.StretchType = ...
5
votes
1answer
427 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 ...
0
votes
1answer
132 views

Is snapping working when changing from NAD83(decimal degree) to NAD83 Zone UTM 11N(meters)?

I've used the following ESRI snippet to Convert the display extents in Pixels (at the current map scale) and then return out the map units. public System.Double ...
1
vote
0answers
31 views

Can't get ESRI.ArcGIS.ADF.Connection.Local to work for 10.2.1

Not sure what I'm missing. I'm trying to use the ESRI.ArcGIS.ADF.ComReleaser and I can't get C# to recognize the ADF namespace. I can add the reference by going to Reference->Add ArcGIS Reference, but ...
2
votes
1answer
183 views

How to display IGeometry?

I've done an intersection with the ITopologicalOperator6 interface, and I now have an IGeometry with the result. How to draw this in a graphics layer on the map? I want to see what was intersected ...
1
vote
2answers
36 views

How do you programmatically access a feature's attachments?

I am attempting to access a feature's attachments in ArcObjects and I'm following the docs for Working with feature attachments. Everything is fine until attempt to access IAttachment.Data because I ...
68
votes
5answers
11k views

Accessing additional ArcObjects from Python (i.e. without ArcPy)?

I would like to be able to script some things that are not exposed via arcgisscripting or ArcPy. How do I access ArcObjects from Python? I'm working with ArcGIS Desktop 9.3.1 right now, but will be ...
0
votes
0answers
69 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 ...
2
votes
1answer
123 views

How do I export circles from ArcObjects to WKB?

I have a small circle in SDE which I'm trying to extract through ArcObjects into well-known-binary (for later import into other systems). Using the IWkb interface I can obtain the WKB, but it comes ...
3
votes
0answers
13 views

How do I drag item/file from ArcCatalog to custom UI form created with Toolbar Add-in?

I have created a button add-in in ArcMap that pops up custom UI/Form. I want to drag and drop file from ArcCatalog into the textbox on the Form. I am able to do so with windows explorer but not from ...
-1
votes
0answers
30 views

Creating new project on QT Creator using ArcGIS Engine controls and C++?

Can anyone explain me on how to create a new project on QT Creator and I need to call ArcGIS Engine controls into the Qt creator? I have looked into Getting started with Qt and ArcGIS Engine help. ...
0
votes
1answer
158 views

Adding an existing Feature class to an existing Feature Dataset in c#(arcobjects)

I want to add an existing feature class to an existing feature dataset. Both the feature class and the dataset have the same coordinate system, I searched over the net but only assistance I found was ...
1
vote
0answers
10 views

Set Maximum Allowed Panning Area

I'd like to fix the maximal area, in which the user can fly around. Now its possible for the user, to pan everywhere he wants to go. For e.g. to XMin: 216.2. My map has got these "borders": ...
6
votes
1answer
421 views

Annotation features containing both GraphicElement and TextElement objects not drawing in ArcGIS Server map service?

I am building annotation features with Python/comtypes/ArcObjects. The annotation works great in ArcMap (10.1), but it is does not draw when published to a map service in ArcGIS Server. Each piece ...
0
votes
1answer
126 views

ArcGIS 10 export metadata to XML programmatically

I have some code that exports metadata from an iMetadata instance to a standalone XML file. This code uses the ExportXML type and the iMetadataExport interface (see below). Private Sub ...
1
vote
2answers
271 views

C# code to display result of spatial query on arcmap

the problem is i have to display those points on arcmap that lies inside the envelope.I am explaining what i have done so far. I have one point feature class say featureclass ,open it and used one ...
0
votes
0answers
11 views

Drawing geometry and attaching it to featureclass with arcobjects and Add-in button

I am newbie to ArcObjects and exploring classes. I want to have form created on add-in button click.(Form contains certain text boxes for input) That shall create a new feature class and then allow ...
1
vote
1answer
20 views

Why is this formatted string “n. def.”?

I'd like to show the user the current map scale. I update the current map scale in a textblock everytime the map size/scale has changed. This is my code, to show the map scale (in C#): private void ...
1
vote
0answers
12 views

vb.net arcobjects remove a buffer

I have a function which can select and zoom to a feature, at the same time I will create a buffer around the selected feature so that further more function provided only for the selected feature. The ...
5
votes
2answers
614 views

IFeatureClass.Search throws error “0x80041599 The number of points is less than required for feature”

I am creating a buffered geometry around a point feature in order to search for other nearby features. I use the TopologicalOperator to create my buffered geometry. I am attempting to search a feature ...
2
votes
2answers
23 views

vb.net arcobjects determine whether arcmap is in editing session

I have a vb.net arcmap addin which provide a function to validate geodb topology. But there is a problem, when I am not in editing session and use the function, arcmap will crash. In this case I ...
3
votes
1answer
33 views

How to change the Transparency of an ILayer?

I've created a function which sets the IColor to a specific ILayer, the value of transparency is between 0 and 255. When I set the value to 0, it gives me a transparent layer which is OK, but when I ...
2
votes
1answer
41 views

How to make elements size fixed (Arcobjects)?

I'm using arcobjects .Net 10 to add graphic elements to my map. My problem is that when the map scale changes, the element size change too. How to fix element size at all scales?
0
votes
1answer
85 views

Create FeatureClass in Personal Geodatabase and store data

I have to create a new featureClass in my existing personal GeoDatabase. And save some polylines into this featureClass. How can i do it? I need c# code to do this. Edit: I have a problem during ...
1
vote
1answer
32 views

How to set custom fullextent?

I have a WPF Map control whose extent I would like to restrict to a certain area (e.g. to the full extent of some layer). That is, a user should not be able to zoom out too far, or shift the map to an ...
1
vote
0answers
28 views

Access specific version of featureClass (Table) through SOE

I am new to ArcObject and SOE. The task I am trying to accomplish is: Find the specific version of a table Copy the table (to a new table) that the non-soe user can access that version of the ...
1
vote
0answers
16 views

Exporting selected Features to CAD drawing using ArcObjects and C#?

I'm new to ArcObjects, and I have to export selected features to CAD Drawing using just ArcObjects and C#. The code below works well when I convert to a shapefile ShapeFileWorkspaceFactory, but ...
0
votes
1answer
33 views

How to run spatial query get fields value of 2 layers?

Last month I ask a question "vb.net arcobjects spatial query get fields value of desired layer only", url vb.net arcobjects spatial query get fields value of desired layer only. Now there is some ...