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)

15
votes
5answers
2k views

How can I find the farthest point from a set of existing points?

I have a set of points as a shapefile and I want to find (the coordinates) of a new point which will have the longest possible distance from each of the existing points. Is that possible? If yes, is ...
4
votes
1answer
28 views

Adding GUID field with ArcObjects

I'm trying to add a GUID field programmatically to an existing FeatureClass using ArcObjects. Here is my code: ISchemaLock schemaLock = (ISchemaLock)ipFC; try { // A try block is necessary, as ...
1
vote
1answer
106 views

Importing Bing Maps into application using ArcGIS Engine?

I'd like to create an application using ArcGIS Engine 10. I want to import Bing Maps into my application as base map. I surf the internet but couldn't find any tools or API to import these maps to ...
0
votes
0answers
23 views

Showing Google Maps using ArcObjects?

Do you know how we can show Google Maps as a base map in arcObject stand alone map? For example is there any wms address from google map that we can use it to connect to it or somthing like that? I ...
2
votes
2answers
82 views

ArcGIS Geoprocessing and 32/64 bit architecture Issue

I am coding a VB.net console application using ArcObjects to call ArcGIS 10.1 geoprocessing tools. I have several geoprocessing calls that actually work, but that pop up an irritating message box when ...
0
votes
1answer
41 views

The best way to convert points to polygons using ArcObjects

I have a set of points from GPS I want to convert them to polygons..I have two approaches to do this.1- convert points to polygon..I do this with below code: private IPolygon ...
3
votes
4answers
220 views

Can Voronoi/Thiessen polygons be created using ArcObjects without 3D Analyst license?

Has any body used ITinNodeCollection to generate Voronoi/Thiessen polygons. I have a point featureclass for which I want to create Voronoi/Thiessen polygons. Does this require 3d analyst license? I ...
2
votes
1answer
42 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 ...
2
votes
1answer
14 views

Access CommandItems programmatically with ArcObjects in ArcGIS Engine application

I'd like to programmatically execute a command in my ArcGIS Engine application with ArcObjects. I know in Desktop I would do it like this: ESRI.ArcGIS.Framework.ICommandBars commandBars = ...
0
votes
0answers
16 views

Can arcobjects validate topology globally

I want to develop a function which allow user to validate a topology in the whole map wide. But from what I searching from internet, to validate a topology, a dirty area (polygon) must be defined, ...
2
votes
1answer
207 views

IBufferConstruction create buffer with different geometry types (C# ArcObjects)

I am using the following method in C# public void ConstructBuffers ( IEnumGeometry pInputGeometries, double distance, IGeometry CollectionpOutputBuffers); to create buffers. In the ...
2
votes
0answers
30 views

Editing Feature Class using ArcObjects

I have a problem with editing feature class using arc Objects.Indeed I am working on it for a while and cant find any solution into doing it..I asked a question before about how to connect to database ...
7
votes
3answers
872 views

How to determine on which side of a line a polygon feature falls?

I have parcel data intersecting line data. In the parcel data there are some parcels that don't intersect the line. How could I programmatically figure out if the non-intersecting parcel is on the ...
1
vote
0answers
14 views

Accessing results window from ArcObjects not using Geoprocessing

Is it at all possible to write messages to the results window in either/both ArcMap and ArcCatalog, straight from ArcObjects? I understand that each result comes from running a geoprocessing tool, ...
1
vote
3answers
993 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 ...
3
votes
1answer
133 views

How to display point features w.r.t field values of a polygon file in arcobjects?

I have a point & polygon shapefile. Point file has a field namely, Type: atm,hospital,school etc... Polygon file has a field Zone: Zn1, Zn2, Zn3. There will be two combo boxes which will populate ...
0
votes
1answer
20 views

ArcObjects - Geometry type select with Vbnet

How can I read the geometry type of shapefiles with ArcObjects and Vbnet? I want to check whether it is a point, polygon, or a line.
2
votes
1answer
97 views

How to close the current mxd document through arcmap add-in

First, I open a mxd document named A in arcmap, then i use my add-in to generate another mxd document named B, then I use ArcMap.Application.OpenDocument(arcmapMapFileName); to open the ...
1
vote
1answer
29 views

ArcObjects SQL Server Connection not recognizing instance

I am trying to make a connection to a SQL Server database with SdeWorkspaceFactory. This is from my Windows 7 x64 Desktop to a Network database. If I use this: SDEWorkspace = ...
0
votes
1answer
15 views

vb.net arcobjects validate topology ITopologyExtension and esriTEEventHint not declared

I am trying to use arcobjects with vb.net to validate a topology (already defined). I am caught even when I use the sample provided by ESRI. The code I use for accessing a topology is: Dim topoUiD ...
4
votes
3answers
156 views

Arcobjects .Net, suppress geoprocessing messages

I am executing the copy features tool via the geoprocessor inside my .net custom geoprocessing function tool. When the copy features tool executes it is writing it's messages to my tool's results. I ...
0
votes
1answer
114 views

ArcGIS Custom Toolbox crashes ArcMap 10.0

I have prepared Custom ArcToolBox using ArcObjects in java. It was working fine before though was giving NullPointerException but this something java related error and that is fine. Later I have ...
4
votes
1answer
122 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 ...
2
votes
1answer
1k views

IFeatureWorkspace.CreateFeatureClass() error

I am trying to read a csv file straight into a set of new feature classes within a new file geodatabase, but I am getting the following stack trace when it fails: Attempted to read or write ...
0
votes
2answers
293 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 ...
6
votes
1answer
387 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; ...
0
votes
2answers
84 views

Convert polyline to polygon Using ArcObjects

I have a polyline and I want to convert it to a single polygon feature,I used this code but I get error while I can convert the same shape file using feature to polygon on ArcGIS Where is my mistake? ...
1
vote
1answer
34 views

Error while scripting ArcGIS in VB.NET “Exception from HRESULT: 0x80040202”

I am getting this Run time Error while coding ArcGIS in VB.NET script to calculate distance between two 3-D objects. “Exception from HRESULT: 0x80040202” I tried to understand the problem but ...
1
vote
1answer
192 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 = ...
1
vote
1answer
27 views

Rotate the map to GPS heading / direction in ArcGIS using ArcObjects SDK 10 for .NET

Assuming I use ArcGIS or an ArcEngine application on a mobile PC. Is it possible to rotate the map in ArcGIS to the direction the device is travelling using a GPS receiver? If yes, how? I would like ...
1
vote
1answer
38 views

ArcMap - WMS service layers not drawing

I'm using ArcObjects .NET to load WMS 1.3.0 service layers from our ArcGIS server into ArcMap 10.2.2. The process of connecting to the server and adding layers works fine, however none of the layers ...
2
votes
0answers
41 views

ArcObjects Workspaces with spaces

I am programming with ArcObjects and trying to output a raster to a folder path that contains spaces. Before creating the raster I am trying to validate that the destination path is valid. The ...
0
votes
1answer
26 views

Code to get featureclass name from existing topology

I am creating and validating topology through vb.net and arcobject code.Things are running fine as I am able to add rule and validate it . Problem is when once the program is run and topology is ...
0
votes
1answer
53 views

How to edit feature in sqlserver geodatabase

I am using arcmap 10.2.1 and arcobject 10.2.1,I just want to conncet to a geodatabase and edit,add,delete a feature from a feature class using arcobject,I tried to connect to database and it works ...
0
votes
1answer
123 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 ...
0
votes
0answers
65 views

Converting VB code to C# for coverting Polyline to polygon

It is a while that I am stuck at converting polylines to polygon and I couldent find any solutions into it.I have tried some diffrent methods like using ...
0
votes
1answer
41 views

which Coordinate system should I use for 3D analysis?

I am creating 3D surface below the earth's surface using ArcGIS and then I need to find distances to the plane from the surface. Which coordinate system shall I use? 3D interfaces like IProximity3D ...
0
votes
1answer
157 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
16 views

Customized tab does not show in ArcMap 10 Table of Contents after migration from 9.3?

I'm new to ArcGIS 10, and I have a huge block of code migrated from ArcGIS Desktop 9.3 to 10. Most of them work properly but some classes, which implement the "IContentsView" interface, don't show ...
2
votes
1answer
165 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 ...
2
votes
1answer
194 views

Geoprocessing Tools on ArcGIS 10.2 and Visual Studio 2012 -issues

I am migrating one of the existing project (custom Geo-processing tool- class library project) source code which runs on ArcGIS 10 SP4 and Visual studio 2010. This is working fine. I am could run the ...
2
votes
1answer
116 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 ...
0
votes
0answers
22 views

Why do converting GPS points to polygon using ArcObjects differ from manual converting?

I am working on a project where I have a .gpx file, convert it to a polygon and save it in a geodatabase. I wrote the code and it works fine. But when I rewrote the code in ArcMap using the gpx to ...
0
votes
1answer
97 views

Determine what value used in Editor.OnCreateFeature

How can I determine what Value-Layer (not the layer itself, but the different colors for different attributes) was used in ArcGIS CreateFeature Event, when I insert a new feature using the Editor?
0
votes
1answer
22 views

ArcObjects vector projection using VB

I am creating a ArcGIS console application using ArcGIS 10.2 and Visual Studio 2010. I need to project a shapefile to a new location (.gdb) using console inputs and the Project tool within the Data ...
1
vote
1answer
43 views

Connecting to SQL Server Geodatabase using ArcObject in C#

I am going to save a polygon that is created from points to remote geodatabase.I am new with arcobject and cant undrestand how it works..at this point I want to open a connection to database using ...
1
vote
0answers
17 views

Using ArcObjects control commands without ToolbarControl

I want to use some ArcObjects predefined commands for my buttons actions..I used this code `ICommand command = new ControlsSceneZoomInToolClass(); command.OnCreate(axMapControl1.Object); ...
2
votes
1answer
21 views

ArcObjects Event when ArcMap table of contents selection is changed

I have been trying to figure this out for almost a full working day and I just can't get it working. All I want to do is fire an event when the user clicks different layers in the arcmap table of ...
3
votes
2answers
328 views

ArcObjects Geoprocessing Failures

I am working on launching the GenerateNearTable using the ArcObjects Assembly method. I have the advanced license (10.1), so the tool is available. The code to launch geoprocessing is: Private ...
5
votes
1answer
389 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 ...