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
0answers
55 views

ArcObjects custom GP tool: Multiple extensions using IGPFileDomain

I am using IGPFileDomain to make the user select between different file extensions, for example .type1, .type2, .type3. These are added using domain.AddType("type1") etc. The dialog box then lists ...
3
votes
2answers
552 views

arcobjects update geometry Z values of line vertices with a given number

I am trying to develop arcgis 10.0 addin to update Z values of vertices of a selected line. Scenario: The tool scans all features in a given shape file and populates the list of features which has at ...
2
votes
1answer
283 views

How to search an ITable with conditions [duplicate]

At the moment I am searching for the most effective method of searching an ITable with one or more conditions (like where clauses). I can perform it manually by iterating through each row and proof ...
2
votes
1answer
140 views

IGeometryBridge.GetPoints throws NotImplementedException. Am I doing something wrong?

I am working on some .NET code that processes lots of polygon geometries at the vertex level. In order to reduce COM interop overhead, I want to call IGeometryBridge2.GetPoints once instead of calling ...
0
votes
1answer
68 views

How to use a property of a different interface for a created ArcObject

I have created an arc based three points (from point, through point, and to point). To create the arc I used this code: import arcpy, comtypes.client import comtypes.client.CreateObject as ...
5
votes
1answer
457 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 ...
1
vote
0answers
58 views

What affects the kind of date (local vs. UTC vs unspecified) on JTXJobClass.StartedDate?

I am accessing the JTXJobClass.StartedDate for a JTX Job (with IJTXJob3). I am getting an unspecified DateTime.Kind value. The value appears to be UTC (iirc, WMX always stores UTC in the database ...
1
vote
1answer
105 views

how to set workspace of Geoprocessor in .net?

I am migrating some code from VBA to C# for developing an addin. In VBA, the geoprocessor's workspace could easily be accessed by workspace property of Geoprocessor. But how to set the geoprocessor's ...
1
vote
0answers
150 views

ArcObjects ICommandBar is not refreshing

I am migrating a 9.3 based Desktop extension, to 10.1 The Extension, is building toolbars on the fly. It creates the toolbar, and add the commands to it. This is the snippets of the code that does ...
6
votes
3answers
344 views

What is the best practice for editing feature class?

I am working with some feature classes. I create those feature classes using my add-in. User can add/ delete features from these feature classes clicking on "add", "delete" buttons and selecting ...
3
votes
2answers
239 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
1answer
205 views

How to save IDocumentInfo attributes to a map document programmatically?

We have been successfully creating mxd files based on MapDocument, adding layers, setting spatial information and saving them. Our code has been working, literally, for years and has made the ...
1
vote
3answers
1k views

How can I permanently reorder fields in a feature class programmatically with ArcObjects, VB.Net?

Would someone be able to share the logistics on how to permanently programmatically reorder fields in a feature class with ArcObjects, VB.Net. I want to be able to do this in the geodatabase not in ...
6
votes
2answers
413 views

Calculating a projected distance

I am pretty new to this and I am not sure I understand all the concepts, so I might be using words wrongly or obviously not getting some details right. Here goes. We mean to do those calculations ...
2
votes
2answers
363 views

How to cancel SaveEdits/StopEdits button press (ArcObjects)?

I have an interesting situation.Suppose a user creates 10 features in ArcMap in an edit session. Now the user tries to save this edits by clicking save edits or stop edits button. I would be ...
3
votes
1answer
625 views

When converting legacy addins to VS 2010 (ArcGIS 10.1), why are references to certain ArcObjects updated while others are not?

I am converting a number of my addins from VS 2008 Express, ArcGIS 10.0 to VS 2010, ArcGIS 10.1 and I need to update some but not all references. Why? For example, in the current addin I just ...
3
votes
2answers
260 views

Running Regular Queries Through ArcSDE

Working on an .net arcobjects app that's connecting to a Geodatabase (Oracle) through ArcSDE. I make a bunch of edits inside a EditSession but the data I am touching have a bunch of foreign Key ...
4
votes
2answers
3k views

How do I change the targeted .NET 4.0 Framework to version 3.5 in an existing VS 2010 EXPRESS project?

I am upgrading from ArcGIS desktop 10.0 to 10.1 and I have a bunch of addins developed in VS 2008 Express using ArcObjects 10.0. I would like to upgrade everything to 10.1 using VS 2010 Express. I ...
3
votes
0answers
1k views

Error opening feature class from SDE (which can be opened in another application)

We're using ArcGis 10.1 with ArcSDE 9.3.1 on Oracle 10g. I've got 2 layers that cannot be opened or modified with ArcCatalog or ArcMap (but they show up in the list. Everything worked just fine ...
1
vote
1answer
222 views

ArcGIS10 VBA requires library references

I just upgraded from ArcGIS 9.2 to 10.0, and I'm trying to create some tools using VBA. It doesn't recognize any of the ArcObjects Classes, Interfaces, or Constants unless the reference includes its ...
5
votes
1answer
438 views

Can you use ArcObjects in an MVC service at v10.1

I'm slighlty confused with the changes at 10.1 and understand this version no longer supports DCOM or remote arcobjects. Can you use ArcObjects in a webservice (in my case a .NET MVC 4 service) that ...
1
vote
3answers
823 views

Displaying .gdb content(Feature classes) in winidows forms

I am having a .gdb file(World.gdb). I want to display or i want to see the content of this gdb file in winForms programmatically(C#). How can i do it? I dont want to view via ArcCatalog. Please help ...
2
votes
1answer
135 views

Getting Error while exporting

I am making an addin to create subsets and export them to a new workspace. I have stepped through my program and getting error at this particular line while running the addin: ...
2
votes
1answer
156 views

Need to convert from ISpatialReference to SpatialReference

I am attempting to write a method in C# that will accept as input, an ESRI.ArcGIS.Geometry.ISpatialReference object and convert it to an ESRI.ArcGIS.Client.Geometry.SpatialReference object. I need ...
2
votes
1answer
182 views

How Select only specific feature from selected features of more than one layer

I selected features using select feature tool in a map. I want to fetch only specified features among all selected features of different layers. For example, I want to fetch only roads among all ...
7
votes
4answers
152 views

How do you programmatically read the coordinate display format in ArcMap?

I'm looking for a property (or properties) that will give me the display units and the formatting. I assume I need IMap.DistanceUnits but I can't find the formatting. Is this exposed? I am also ...
2
votes
1answer
280 views

in_memory input to geoprocessor tool not returning expected results

When the input to the following method is a feature class on disk the geoprocessor gives the expected results. However, when I pass in a feature class that is created via arcobjects to an in_memory ...
2
votes
1answer
201 views

How to save buffer created with ArcObjects to a database?

I have created a buffer as follows IMap map = axMapControl1.ActiveView.FocusMap; IFeatureSelection fSelection = map.get_Layer(0) as IFeatureSelection; ISelectionSet selSet = ...
2
votes
0answers
197 views

buffer using topological operator

IMap map = axMapControl1.ActiveView.FocusMap; IFeatureSelection fSelection = map.get_Layer(0) as IFeatureSelection; ISelectionSet selSet = fSelection.SelectionSet; ...
6
votes
3answers
1k views

How can you find ArcGIS version programatically?

Is there a way using ArcObjects.net to find out what version of ArcGIS is installed on a machine (i.e. 9.3., 10.0, 10.1)?
2
votes
1answer
107 views

Are there any open source distribution raster merging functions within JTS or GeoTools

I'm looking for something similar to the combine function from the ISelectionSet interface from ArcObject's SDK 10 .NET framework on a more scaled down level. Ergo, I don't plan on using that ...
2
votes
3answers
1k views

How to Access the Current Workspace Using an ArcObjects Add-in for ArcMap?

Accessing current workspace using an ArcObjects add-in for ArcMap (Table of Contents has layer groups). I am trying to retrieve the current WorkSpace using ArcObjects for an ArcMap add-in in C#. Any ...
-5
votes
1answer
441 views

VBA Dialog box! Code for Create Map command button after form is initiated [duplicate]

Possible Duplicate: Code for Connecting to Folder/File to open a mxd document! I tried to make the title as thorough as I could. I need some help with VBA code for my dialog box. I have ...
0
votes
1answer
34 views

List items are replaced with new reference when adding

Based on the query i am getting some features in pFeatureCursor. I am adding that features into a List(IFeature). When iam iterating the pFeatureCursor and adding the values into pFeatureList all ...
4
votes
2answers
309 views

How do I get the extent of a rotated data frame in map units from the Layout View?

I need to get the real extent of a rotated data frame in map units from the Layout View using ArcObjects. I've checked previous discussions on the subject: How do I obtain the envelope of a data ...
0
votes
1answer
196 views

Setting a path to a Variable to be able to open a new mxd? [duplicate]

Possible Duplicate: How to define Subroutines and functions? I know its strange but I need to be able to open a new mxd into an existing one. Yes, it can be done. All I need to do is set a ...
1
vote
0answers
40 views

Opening New mxd into existing mxd from command button on form in VBA [duplicate]

Possible Duplicate: How to define Subroutines and functions? I am programming a dialog box in VBA because Python does not have one yet!! The action that needs to occur is for an mxd to open ...
5
votes
3answers
1k views

Is it possible to target an ArcMap add-in to an earlier version?

My development environment is Visual studio 2010 with ArcGIS Desktop 10.1 installed. I need my add-in to support 10.0 AND 10.1. Right now, if I try to install it on ArcMap 10.0, it fails. Is it ...
2
votes
4answers
3k views

How to zoom to selected Feature in ArcMap using ArcObjects?

By using the QueryFilter I am getting some features based on the query and I am placing that feature names in a listbox. When the user selects a particular name in the listbox that feature has to be ...
2
votes
2answers
923 views

Data View/Layout View Changes - ArcMap 10

I have code that will hide a certain set of points from the view using an ExclusionSet, and then switch to layout view for printing. I noticed in my 9.1 version, when after I am done printing, and I ...
1
vote
2answers
272 views

How to define Subroutines and functions?

I am working in VBA. My error is sub and function are not defined. Here is my code: Private Sub CreateMap(cboDistrict As String) Dim mapDocument As New mapDocument If ...
8
votes
1answer
237 views

What's the ArcObjects equivalent to ArcMap's Flip button

In an ArcMap extension, I need to flip multiple lines from a selection. The ArcMap Flip button only allow to flip one feature at a time. What's the ArcObjects equibalent to the ArcMap's flip button? ...
-3
votes
1answer
84 views

ArcObjects Library of Sample Scripts

OK, I'm still not getting help on how to code for accessing a folder. So does anyone know where they keep sample scripts for people to go look and borrow??
0
votes
2answers
597 views

Connecting to Folder/File to open mxd document using ArcObjects?

I have a dialog box written in ArcObjects. I am programming the Map button on the dialog box. The user picks a type of station and county. The program goes to folder containing the mxds and ...
2
votes
1answer
191 views

ArcObject 10.1 Java : Raster Analysis

I have been working with ArcObjects Java for a short time and have not been able to find a solution to the following problems: How to get the Raster object from a IRaster reference? IRaster raster = ...
12
votes
3answers
1k views

What is the future of ArcGIS web development ? Is it JavaScript and HTML5? [closed]

I want to know about the future of ArcGIS web development; is it HTML5? I used to work with ArcObjects and .NET Web ADF so what is the best technology I must follow, especially when I know that ...
3
votes
1answer
114 views

How do you access the Draw toolbar symbol(s) from ArcObjects?

I'm dropping a text element onto a map and I'd like to use whatever settings the Draw toolbar has (font, size, color, etc). Is there a convenient way to access symbol interfaces? Or do you have to ...
3
votes
1answer
585 views

How to find polygon neighbors by rook and queen contiguity in a feature class?

I have a feature class containing several polygons. I would like to find all polygons that have a common border to a polygon of my choice. This can be done with the ISpatialFilter and ...
4
votes
1answer
104 views

How to detect densely labelled areas?

I'm trying to detect densely labelled areas for a given scale like explained below. so dense labelled area is the area having high rate of overlapping labels. I'd like to detect densely labelled ...
1
vote
1answer
938 views

Getting error in applyEdits function for ArcGIS

I have been trying to add an entry to a featureLayer and in want to get a callback from this so I can update another field in it. below is my code clkListenerAddFeature = dojo.connect(map, "onClick", ...