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
14 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
11 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 = ...
1
vote
0answers
30 views

Strange Message Using Python Syntax for ArcGIS Geoprocessing From Code

I am coding VB.net 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 I call them from ...
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
0answers
24 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 ...
3
votes
0answers
20 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
0answers
25 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
1answer
14 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 ...
0
votes
1answer
19 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.
1
vote
1answer
33 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
25 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 ...
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
52 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
40 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
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 ...
0
votes
0answers
63 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 ...
1
vote
1answer
28 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 = ...
1
vote
1answer
34 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 ...
0
votes
2answers
77 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? ...
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
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
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 ...
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 ...
2
votes
1answer
49 views

C# - Access content from ArcGIS Online

I have got an existing .NET C# desktop application which already reads various GIS formats. I would now like to add support to read data from ArcGIS Online. What options have I got to access ...
1
vote
0answers
42 views

Accessing all fields of joined tables using ArcObjects SOE? [closed]

I am using arcobject 10.2 java sdk I have a service published where data is coming from a featureLayer and table, the mapservice is returning all the results as expected but when i search the fields ...
0
votes
0answers
11 views

Making point selection tool using ArcObjects with VBA? [duplicate]

I want to make a selection tool that I can use to select a feature point in ArcGIS for Desktop so I can combine it with a form that I just made to display the form after the feature selected. I use ...
1
vote
1answer
47 views

Is Nearest not Near enough?

So we have factories, bridges, boat launches and stations that are on our map by latitude and longitude data fed to us from Homeland Security. In a good number of these situations an attack can come ...
1
vote
1answer
41 views

How to get a Layer as ILayer (ArcObjects)

I had asked this question previously which I think will work. But as I am new to this, I can't figure out how to get a Layer as an ILayer object to pass to the method that's in my previous questions ...
0
votes
0answers
10 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 ...
0
votes
1answer
65 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 ...
0
votes
0answers
22 views

Display labels over a graphic (ArcObjects)

I've created a graphic polygon that is actually a polygon with the center cut out (I created it using ITopologicalOperator.Difference to remove the smaller polygon from the larger one). Now I want ...
0
votes
1answer
35 views

What are the effects of using Ifeature.Delete() on a feature within a feature class? [closed]

I call Delete() on a feature in a feature class, then I want to proceed to the next feature by using ICursor.NextRow() but this produces an error. The code is simple: EDIT: More code showing the ...
0
votes
1answer
24 views

How to learn arcobject vba? [duplicate]

I am using arcgis from last 3 years. but it was only limited by button pressing. I want to learn arcobject VBA and .NET. kindly help me out. suggest me some reference book or mail me if anyone have a ...
1
vote
1answer
39 views

How to get the data in dbf file while creating shapefile using arcGis

I am using arcObject dll to create shapefile. I am successfully able to create the shape file but I am having some issues with populating the shapefile data into .dbf file. At present the .dbf file ...
2
votes
0answers
40 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 ...
1
vote
1answer
58 views

How do I programatically edit the layer 'Display Expression'

I'm wondering if someone has or knows where a tool is to edit the 'Display Expression' of a Layer, or more specifically, a TableView, in ArcGIS Desktop. I know that it can't be accessed with Python, ...
0
votes
0answers
32 views

How can I correctly delete a join from featurelayer using arcobjects?

If I create a join using ArcMap dialog definition query can be changed if joined layer contains a definition query. For example, layer A has definition query "A", layer B has definition query "B", ...
1
vote
1answer
27 views

Update attributes during edit session using ArcObjects

I have made an attempt to create an ArcObjects addin to help with some workflows here in the office. I apologize in advance if I have something fundamentally wrong with the code. This is my first ...
0
votes
0answers
23 views

Zoom to selected feature reducing MapFramesize using ArcGIS Engine and C#?

I am trying use the the following code for zooming to a selected feature using ArcEngine 10.2.1 and c#. It is performing, but it is reducing the Mapframe to the feature size. Which was not happening ...
0
votes
2answers
55 views

How to find the coordinate system of an existing Map in arcGIS using VB.NET [closed]

I already have a georeferenced base map loaded in ArcMap. I want to find the spatial reference of this map and assign the same coordinate system to a polygon that I created. I can not get a start with ...
1
vote
1answer
49 views

Distance analysis of 3-D surface in ArcGIS using VB.NET

Using VB.NET I created a 3D polygon in ArcGIS to model a fault plane and now I want to find two different distances from a point on earth's surface. How to go about this? Can some one help with the ...
3
votes
2answers
68 views

Automate Naming of Stormwater Network (Geometric network)

We have a geometric network representing our stormwater network. For anyone unfamiliar with stormwater drainage networks, they are composed of pipes and pits (simplified for this question). Pits are ...
0
votes
1answer
31 views

Difference between 'point' and 'WKSpoint' in ArcGIS

I have to add 3-D points to make a polygon in ArcGIS using VB.NET. I have defined an IpointCollection and want to add points to this. I have options to add 'point' or 'pointcollection' or 'WKSpointz'. ...
0
votes
0answers
31 views

vb.net arcgis add in, log4net works for the exe file, does not work for the esriAddIn

I want to use log4net in my vb.net for ArcGIS add-in. After I build the solution, it generates a .exe file and a .esriAddIn file. The problem is when I run the .exe file (without open ArcMap), the ...
1
vote
1answer
20 views

ISet.Next() not moving forward

I am trying to move features programmatically using IFeatureEdit:MoveSet() method. It works fine if I simply move one feature, but if I add more than one feature (from another FC of course), it hangs. ...
0
votes
1answer
60 views

Copy features between file geodatabase and ArcSde by using ArcObjects

I want to transfer all contents of a table from file geodatabase (*.gdb) to a table in ArcSde. In fact the data is meant to be replaced, so I need also to clear the table in ArcSde. Both tables have ...
0
votes
2answers
81 views

How to Create shapefile using Geometry field

I am working on ArcObject. I want to create shape file using arcObject. I am very close to it. but need some better alternative as i feel my solution may fall short in time when there are lakhs of ...
0
votes
1answer
79 views

How to programatically modify the placement properties for labels

Does anyone know how to modify the location of a label programatically? I'd like to make the labels sit directly below the symbol!
0
votes
1answer
46 views

C# Microsoft Visual: Setting text box value to null

I'm creating an attributes table in ArcObjects to show a bunch of values. They save just fine when I put them in, the problem is reverting them back to null. My text values all get turned into a blank ...