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
8 views

Help impelmenting ILayerEffects in Graphics layer to use transparency

I tried to get graphics in an ILayar class and implemented ILayerEffects to get transparency but it does not help can you help me? I am attaching the class file. using System; using ...
2
votes
1answer
33 views

How to get a feature class from a File Geodatabase in ArcObjects? (VB.NET)

I just started out with ArcObjects and I've been stuck on this for days. How do you open up a File GDB and read out a simple feature class? The snippet for retreiving a shapefile from a regular ...
0
votes
0answers
8 views

EpaNet2.dll gives 305 error code from arcmap addin application

I have an input file(.inp) of EpaNet project. I want to use this .inp file to run the project with the help of epanet2.dll from my arcmap addin button. In EPANET project , there is a portion that is ...
0
votes
0answers
32 views

Arcmap export select By Graphics with query

I use select By Graphics then I use this code to see what I can export but it don't work 100% it export Sample Line-40 and Line-40 is not in the area I select By Graphics can anyone help me with this ...
0
votes
1answer
32 views

How to add arcgis templates to .NET

How can I add ArcGIS 10 templates to my .NET 2013. and is it for free?
-1
votes
0answers
33 views

how to export feature classes from geodatabase [on hold]

I have geodatabase USA.gdb and feature class is state,field values are California,Atlanta, etc.I want output California featureclass
0
votes
1answer
29 views

Arcgis Addin don't upgrade

I am try to upgrade Addin for ArcGIS finish to install new upgrade but Arcgis run the old one I am finish to remove and install still I see version 1 not version 2 How can I fix this are any temp ...
0
votes
1answer
32 views

Update Feature records in ArcGIS 10

I have to update multiple feature records in ArcGIS through ArcObjects. Below is my code. It's running fine for first time but it's giving me error while it's going to run the queryfilter for ...
0
votes
1answer
57 views

ArcObjects 10.3 Page Layout

We are upgrading ArcGIS from version 10.0 to 10.3 and need to update our server object extensions. Esri state that when upgrading: "Avoid using ArcObjects from the Carto library that are ...
3
votes
1answer
31 views

Close DockableWindow in ArcGIS AddIn

I have an ArcMap 10.x AddIn in which I've developed a dockable window. Everything works great except that I want the dockable window to be closed when ArcMap first starts. If the user closes ArcMap ...
0
votes
0answers
17 views

Spatial filter taken more time for running any other way to improve speed

I had number of buildings in data (around 600000) i want to check if any building captured less than shape area 25sqm should snap to existing building. i have used spatial filter but it is taken more ...
1
vote
2answers
92 views

Since upgrading to ArcGIS 10, my application doesn't rescale the map when the window is resized

I am upgrading a .NET application from ArcGIS 9.3 to ArcGIS 10.3. I've noticed that the map control behaves differently: the map no longer automatically rescales itself when the window is resized. To ...
2
votes
2answers
41 views

Repointing Datasource of layers using ArcObjects

I'm currently working on a ArcObjects C# project that will repoint datasources for layers of various types. Basically a database is maintained that holds the old datasource connections and the new ...
2
votes
1answer
20 views

ArcObjects 10.1 IPixelFilter (IClipFilter) not filtering for IMosaicDataset

I am attempting to extract an irregular polygon from a Mosaic Dataset using ArcObjects in C#. This sample shows how to open a mosaic dataset in ArcObjects. Referencing existing (VB) code, this snippet ...
-1
votes
1answer
25 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 ...
4
votes
1answer
69 views

Which ArcGIS SDK to use ArcSDE SDK, ArcGis Runtime SDK, ArcObjects SDK?

I have a geodatabase on SQL Server 2008 R2 and ArcGIS 10.2.2 installed. Both are on my local computer. I will interface to a Delphi Application and my aim is to query some records/fields line by ...
2
votes
2answers
76 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. ...
2
votes
1answer
20 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
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 ...
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 ...
0
votes
0answers
41 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. ...
1
vote
1answer
29 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 ...
0
votes
0answers
19 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 ...
1
vote
1answer
42 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
34 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(); ...
0
votes
0answers
22 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 ...
0
votes
0answers
27 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 ...
0
votes
0answers
19 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
25 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
16 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 ...
1
vote
1answer
44 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
8 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
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 ...
1
vote
2answers
37 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 ...
1
vote
0answers
28 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(); ...
0
votes
1answer
40 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
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 ...
3
votes
0answers
77 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 ...
1
vote
1answer
38 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: ...
0
votes
0answers
21 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
0answers
18 views

Feature Rotation Exception

I am getting an error when I try to change the value of a feature's Rotation Value. I have a schematic feature that I would like to rotate by changing the field's ROTATION value, but everytime I try ...
0
votes
0answers
30 views

How to get changed spatial reference of any layer in ArcMap using ArcObjects?

I have several layers in arcmap. I can access these layer's spatial references too. But if user changed one of spatial reference properties(eg. name, central_meridian etc.)of any layer, then how can I ...
1
vote
1answer
35 views

How to know spatial references of two layers are same?

I have two layers . Now I want to say that the spatial references of these layers are same or not .. I am using .Net technologies in arcmap. I have successfully got spatial reference information ...
0
votes
1answer
50 views

How to add graphics to map at lowest level?

I am able to create graphics and add them to the map, but they are getting added as the top-most layer. The labels (if active) of another layer get hidden due to this. I want to know how to add ...
1
vote
2answers
103 views

How to identify, spatial references of two layers are same?

I have two layers. Polygon layer Polyline layer Now I want to check if spatial references of these two layers are same. How can I achieve this ?? In spatial reference there are many property ...
2
votes
0answers
46 views

Understanding lifecycle of .NET geoprocessing tools on ArcGIS for Server?

I've done a number of .NET geoprocessing tools for ArcGIS 10.1 that get published as geoprocessing services on ArcGIS Server. Lately we've seen behavior that makes me question something I thought I ...
2
votes
2answers
92 views

Using .NET Runtime SDK or .NET ArcObjects?

I want to build a desktop GIS application with following features in it: It can be able to read all the attributes of any digitized map It can be able to draw polygon or line With the help of that ...
0
votes
1answer
19 views

ArcObjects Anno Classes

In ArcCatalog, getting the properties on an Annotation Feature Class exposes an Annotation Classes tab and within that is a list of the names of the associated annotation classes. Assume an MXD with ...
0
votes
2answers
41 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 ...