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
1answer
44 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
20 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
37 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
149 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
74 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
78 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 ...
1
vote
0answers
12 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 ...
2
votes
1answer
57 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
64 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
1answer
101 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
39 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
67 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
29 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
80 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
42 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
88 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
39 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", ...
2
votes
1answer
74 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
67 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
77 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
76 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
100 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
50 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
59 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
23 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. ...
1
vote
1answer
160 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
222 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
93 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
2answers
377 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 ...
2
votes
1answer
51 views

GDB conversion to MongoDB

I'm interested in converting a GeoDatabase to a MongoDB database. more specifically, given I have a GeoDatabase (.gdb files), how do I convert these files to fit into a MongoDB Database (.bson files). ...
-1
votes
1answer
37 views

Trying to use Near to relocate points to the waterways

We are trying to relocate elements that are near the water but not quite on the water and relocation them to the nearest point. I'm trying to build the parameters to use the Near tool ...
0
votes
0answers
51 views

Open attribute table without highlight selected feature in ArcObjects

I am using ArcGIS 10.2.1, I have a need to display the attribute table only for selected features, but I don't want to highlight the selected features. The purpose of open the attribute table is to ...
1
vote
2answers
140 views

Ring to Polygon

I want to get an exterior ring from a polygon. I need to itopologicaloperator.intersect a line with the polygon (exterior ring) to read attributes from the line. I have the original Polygon I can get ...
1
vote
0answers
91 views

Snippets applicable for ArcObjects 10.2.1

I am trying to create ArcGIS desktop add-in using Visual Studio Professional 2012. But when I use ArcGIS Snippets Finder to insert code, I found the applicable versions as follows: ' Applicable ...
0
votes
2answers
56 views

Inverse of Selected Records using ArcObjects? [closed]

What is the Process to find the inverse of selected data from featureclass using vb.net arcobject?
0
votes
2answers
212 views

Find centroids of polyline and create point using Arcobject [closed]

I have one road feature class and one area feature class .What i have to do is i have to create a point at the centroids of the polylines of (road feature class) and find intersection of point with ...
0
votes
1answer
57 views

Query WMS GetFeatureInfo with known latitude and longitude

My issue is that normally, when you want to query a WMS layer, you need to pass width & height of a map, and x,y (in pixels) which describe a point on the map where user clicked. I want to do ...
0
votes
0answers
23 views

Map scaling in ArcObjects?

I am using below code to set mapscale of mapFrame. This frame I am using in PageLayout IMapFrame pMapFrame2 = new MapFrameClass(); pMapFrame2.Map = new MapClass(); pMapFrame2.Map.SpatialReference = ...
1
vote
1answer
44 views

IProximityOperator.ReturnDistance returns incorrect result

I try to implement search of nearest features in ArcObjects.NET (please, don't suggest existing tools like Near) and I use IProximityOperator.ReturnDistance to get distances between features and to ...
0
votes
1answer
21 views

How can one get the value of the point where the AxMapControl is centered at?

I am using the AxMapControl to display a map and I want to record a point where I am and want to be able to return to the same point later on using the CenterAt() method.
1
vote
0answers
22 views

Menu - onCreate Event

In ArcObjects, the Class 'BaseCommand' has 'OnCreate' method(to handle oncreate event). Similarly is there any equivalent method available for Menu ('BaseMenu' Class)?
0
votes
1answer
51 views

ITableWindow2 does not show all records

I have to develop an extension in C# for ArcMap 10.2 and I need to show information from a datatable in an a table window. I can show the table without problems, but I have a problem I can´t resolve. ...
0
votes
0answers
27 views

ArcObjects open report wizard

ArcMap provides a function to create report and after the creation can save as different formats. Now I want to allow user to skip the intermediate steps. I want do the report function using ...
1
vote
1answer
140 views

How to connect to ArcSDE for using the ArcObjects Erase tool in C#?

I want to make use of geoprocessing via .NET ArcObjects, in this case of the "Erase" tool. This is easy once dealing with a local gdb file what I did for feasibility study. The issue occurs when I ...
1
vote
1answer
33 views

How to show multiple features selection button/dialog box on the map using .NET?

If you use the Edit tool to click a location on the map with overlapping features, a small icon Selection chip pops up with a dialog box previewing the selectable features where you clicked, so you ...
1
vote
1answer
91 views

ITopologicalOperator simplify takes more time

The objective is to cut the polygon where the lines are intersect. The polygon has 183182 vertices and taking more time while using simply method so process time is increased very huge. Please suggest ...
2
votes
1answer
54 views

What is the correct way to pass a polygon to a geoprocessing service successfully

We have a geoprocessing service that has been in limbo for 6 months. Finally after a great decision to eliminate one element of the service, we got it working this week. I am now at the point where ...
1
vote
0answers
66 views

Can a custom add-in execute code upon install of the .esriaddin [closed]

I have made a custom add-in using C#.NET(a toolbar that contains buttons) and I was wondering if it is possible to have some code execute upon the install of the .esriaddin file. Basically I want to ...
1
vote
1answer
29 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 ...
0
votes
0answers
12 views

ArcObjects - IXMLPropertySet2.SaveAsFile XSL Translate Error

I'm stuck on this issue and really unsure what the problem is. I am trying to simply save the (IXMLPropertySet2)IMetadata.Metadata using the IXMLPropertySet2.SaveAsFile() method with the following ...