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)

1
vote
1answer
169 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
608 views

Converting distance between nautical miles and degrees using ArcObjects?

We have a certain functionality developed that: Will check for a tolerance value (this input is given by the user as NM); Buffer a polygon by that value (all polygons are in WGS-84); Iterate through ...
-1
votes
1answer
28 views

ArcObjects / Oracle12c / EZCONNECT

i am having some trouble connecting to Oracle12c via ArcObjects and EZCONNECT. Results so far: • Can connect via ArcCatalog 10.2.2 using an *.sde file. (EZCONNECT) • Can connect via ...
1
vote
1answer
64 views

Which interface can replace IArcPadExtension?

I trying to migrate a code written for arcgis desktop and I have there a IArcPadExtension, but here ...
2
votes
1answer
21 views

Getting the New Map When the FocusMapChanged Event Fires

Normally, in ArcMap, when an event handler to catch the FocusMapChanged event is set up, and a new map (data frame) is activated, when the event fires, a reference to the FocusMap returns the map that ...
0
votes
0answers
42 views

How to get features “not getting” intersected in arcobjects?

I have two feature classes. I'm intersecting both of them. I have to return features which does not intersect with the other. Lets take an example. I have two feature classes: villages and colleges. ...
2
votes
2answers
82 views

Run C# form when ArcMap mxd is opened

I have created a form in C# which collects data such as name, date, workspace and several other fields from the user and stores this data in a temporary .txt file to be used later by other functions. ...
5
votes
1answer
330 views

Geodesic buffers for polygons in ArcObjects?

How can I create geodesic buffers around polygons? I'm on 9.3.1 ArcMap, but I need a programatic solution. IBUfferConstruction only does geodesic buffers for points. What are my options?
1
vote
1answer
353 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
23 views

Uploading raster to ArcGIS Server dynamically

I am building an new web tool related to agriculture research, this tool is linked to another backend GIS process done in c# and ArcObjects. I want to find a way to visualize this backend output ...
2
votes
4answers
2k views

AxMapControl: How to set map extent in ArcObjects?

I have a stand-alone application written in C#. I want to be able to save and restore the current map view (extent) that the user sees. I assumed that it would be as simple as saving the active view's ...
1
vote
0answers
27 views

Returning (x,y) from axMapControl to use in zooming by ArcObjects?

i'm new to ArcObjects and i'm trying to make a program that uses an axmapcontrol and i wanted to zoom in and zoom out using the pointer , i've searched here and i've found this link which shows how to ...
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 ...
1
vote
1answer
2k views

Writing In-memory IFeatureLayer to Shapefile using ArcObjects (Engine SDK)

I've been working on this for a little while now, and can not seem to get this thing working. I've managed to export a geodatabase feature class and shapefile to a shapefile, but what I'm struggling ...
1
vote
1answer
33 views

INTERSECT tool in arcobjects

I am using geoprocessing tool Intersect in Arcobjects. How to pass two input feature classes in to in_features option in INTERSECT tool could you please tell me how to pass. Geoprocessor gp = new ...
2
votes
1answer
34 views

Show selection set in Attributes Window

I have an ArcObjects extension that creates a selection set and then zooms to the selected features. This part works as expected. The problem that we are having, however, is that the selection set ...
1
vote
1answer
46 views

how to create custom items or commands for a context menu

I have read and searched the web for an answer, but nothing is working. so I need someone's help please. I have an extension that implements I command, I have the method OnContextMenu(x,y) which ...
0
votes
0answers
20 views

What is the cheapest way to make all objects from GraphicsContainer transparent?

I am changing arcobjects 10.1 project with a lot of legacy code. I need to make all objects transparent on the map. This objects (points, different sectors, polygons, etc) are persisted in ...
0
votes
0answers
10 views

UniqueValueRenderer on GUID fields doesn't work?

Have anyone been using ArcGIS UniqueValueRenderer on attribute fields of type GUID? I've created a UniqueValueRenderer that has a default symbol. If I do: renderer.Fields.Add("OBJECTID"); or ...
1
vote
1answer
44 views

Is it possible to change the current map document from a geoprocessing tool

I'm writing a BaseGeoprocessingTool with the ArcObjects API and I need to open an Mxd then change the current document by this opened document. I managed to open the Mxd document: IMapDocument ...
1
vote
0answers
37 views

C# geoprocessing tool output file

I'm trying to use file output parameter in arcobjects geoprocessing tool which will be used as rest service on ArcGis server 10.1 IGPParameterEdit3 outParam = new GPParameterClass(); ...
8
votes
2answers
258 views

How to efficiently (programmatically) determine whether two datasets have / don't have identical content?

Given: a geodatabase A that contains 100 datasets named a1 .. a100 a geodatabase B that contains 100 datasets named b1 .. b100 I want to programmatically (*) determine for each dataset pair (ai, ...
3
votes
0answers
146 views

Temporary File GDB-based scratch workspace is not deleted after it is released

I have created a temporary File GDB-based scratch workspace as follows: var factoryType = Type.GetTypeFromProgID("esriDataSourcesGDB.FileGDBScratchWorkspaceFactory"); var factory = ...
0
votes
0answers
25 views

Intellij IDEA equivalent of ArcGIS Eclipse plugin

I'm a beginner in Java and a geomatics student. I work with Intellij. I would like to work with ArcGIS, but without Eclipse. There is a good plugin on Eclipse ...
8
votes
1answer
932 views

Getting units from ISpatialReference of ArcObjects?

How do I get the units (meter/feet) from an ISpatialReference object in ArcObjects?
9
votes
1answer
257 views

ArcObjects equivalent to ArcMap Flip button?

In an ArcMap extension, I need to flip multiple lines from a selection. The ArcMap Flip button only allows you to flip one feature at a time. What's the ArcObjects equivalent to ArcMap's Flip ...
5
votes
6answers
8k views

ArcObjects - Create and Draw a Transparent Polygon

I'm trying to create a transparent Polygon in ArcMap; however, it's never transparent. Here's the code I have. // Create polygon IPolygon polygon = new PolygonClass(); // create & add ...
3
votes
1answer
196 views

Making thematic map for each column in table using ArcGIS Desktop?

I have a table with header like LocationId, Jan, Feb, Mar,.....Dec I would like to make a graduated symbol map for all the locationIDs for each month, and make an output as a jpg/pdf file. What is ...
1
vote
0answers
47 views

IWorkspaceEdit2Proxy equivalent in ArcGis Javascript api

Is there any equivalent for IWorkspaceEdit2Proxy in JS ArcGis API ? I've gone through the whole JS API documentation and haven't seen anything that would help to implement grouping edit operations. I ...
0
votes
0answers
29 views

How to add barriers and flag to geometric network through code

I'm developing an ArcMap add-in that will run a trace against a water main that the user has selected using the selection tool. The geometric network is already defined and I can run the trace by ...
2
votes
1answer
283 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 ...
1
vote
1answer
18 views

polygon vertex to vertex distance calculation in arcobjects

I have polygon with multipart (donuts) I want to calculate vertex to vertex distance. I tried to get outer ring vertex to vertex distance and it is working. Could you please tell me how to get inner ...
0
votes
0answers
21 views

creation of fixed size dockable window

,I created dockable window by using addins and specified size as height="150" width="250" by using initialplacement tag in esri config as 'InitialPlacement height="150" width="250" state="unpinned" ...
0
votes
0answers
26 views

how to fix the size of dockable window using arcobjects

I created a dockable window with the following attributes buts spanning across and taking the same height of table of contents (TOC) ,but its height should be 345 only which is not ...
1
vote
1answer
134 views

How to make a freehand polyline option from drawing toolbar enabled throughout in arcmap

Following code selects freehand polyline as default draw tool on first go: final ICommandBars commandBars = app.getDocument().getCommandBars(); final UID windowId = new UID(); ...
1
vote
2answers
43 views

how to export perimeter of a drawline tool to textbox arcobjects?

I had a custom drawing tool which is available in samples of arcGIS 10.1 Sdk for .Net. When we draw a line or any perimeter on the map, and right click on the line and go to properties, it display a ...
3
votes
0answers
80 views

Memory issue inserting a large dataset in GDB with ArcObjects

I am using the ArcObjects API for Java to load a very large dataset in a File Geodatabase in one feature class. The whole dataset I have to load is composed of 200 datasets of 30k polygons, and I ...
9
votes
6answers
4k views

Is there an existing library for converting ArcGIS Features to Json?

Is there an existing library for converting ArcGIS IFeature types to and from Json/GeoJson?
1
vote
1answer
1k views

How to use default identify tool in ArcMap from C#?

I made a custom "Find" tool (winform) which is called after specific button pressed in an ArcMap toolbar. In this new "Find" form I need to use identify for one or more selected items in DataGridRow. ...
1
vote
0answers
29 views

Create FileGDB using Geoprocessor on ArcGIS 10.3 ArcObject

Exact same code working fine with 10.0. But, 10.3 usual Esri "Error HRESULT E_FAIL has been returned from a call to a COM component". Geoprocessor geoprocessor = new Geoprocessor(); ...
1
vote
1answer
15 views

Catch the VisibilityChanged event for TopologyLayer

I can set up a handler to catch the VisibilityChanged event of every map layer returned by: pEnumLayer As IEnumLayer = My.ArcMap.Document.ActiveView.FocusMap.Layers(Nothing, False) Then with each ...
0
votes
1answer
42 views

In Arcobjects, what is the difference between feature.shape and feature.ShapeCopy?

What is the difference between Feature.shape and Feature.ShapeCopy in ArcObjects. I am using Feature.shape could you please tell me difference?
1
vote
1answer
39 views

ArcObjects/Python: Add JPG to layout

I am attempting (and failing) to add an image to a map layout using ArcObjects via Python comtypes. I do need to run this outside of ArcMap (i.e. not in the ArcMap Python window). The basic idea is: ...
10
votes
4answers
565 views

Does SHAPE_Length take into account elevation values?

Does the Shape_Length attribute take into account the elevation? For instance, if I have 3 points: A, B, and C A.X = 10 A.Y = 10 A.Z = 10 B.X = 10 B.Y = 10 B.Z = 50 C.X = 0 C.Y = 0 C.Z = 10 Then I ...
1
vote
2answers
100 views

Creating Panning Buttons in C#

I am new to this and still trying to learn. I have a bunch of VBA code that I am trying to convert to C# and even the most basic things are hanging me up. Currently I am trying to build a button ...
4
votes
3answers
309 views

Add and remove tools from ArcMap toolbar via C# Button and ArcObjects?

OK I updated the draft with some of the suggestions but am still having some issues. I am trying to create a custom button in arcmap that when pressed will edit a toolbars content. Doing things like ...
5
votes
1answer
279 views

How should I publish an arcgis toolbox via arcobjects (c#)?

I've been able to create map and image services by creating, adding, and starting configurations through an IServerObjectAdmin interface to a version 10.0 (sp4) ArcGIS server. Now, I'm shifting my ...
0
votes
0answers
23 views

Questions on raster math using ArcObjects

BACKGROUND INFORMATION: I'm using the 10.2 .NET API and what we are doing is this: I have a boat moving on the water at a cruising speed of 30 nm/hr. (and we don't care about currents affecting the ...
0
votes
2answers
42 views

How do I programmatically access a feature's symbol property in a schematic layer?

I am building a simple app that changes the size of the symbol of the selected feature. Is this possible? Here is a simple case for a selected feature: public void onClick(){ IFeature spliceClosure ...
9
votes
1answer
3k views

Editing shapefile in ArcMap programmatically?

Is this something that can be done? For instance if I created an overlay on a map and saved it as a shape file, I want to go and edit this (pre-existing file.) overlay...Either add points/remove ...