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

vb.net arcobjects enable customized context menu item only if a feature is selected

The solution may be very simple, but I haven't made it work. I want to enable a data view context menu item only if a feature (in polyline layer) is selected, all other places the item should in ...
0
votes
1answer
275 views

How to call a GP service from ArcObjects in .NET using ArcGIS Engine 10.2?

I published and successfully accessed a GP service in ArcMap 10.2, but I couldn't make it work in my .NET program using ArcObjects 10.2: IGeoProcessor gp = new GeoProcessorClass(); ...
0
votes
0answers
9 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 ...
3
votes
1answer
262 views

Performing action upon refresh command in TOC using ArcObjects?

We are using custom layers in our plugin used in ArcScene/ArcMap. For quite some time we were trying to figure out how to hook into the event occuring when the user selects "Refresh" in the right ...
0
votes
0answers
24 views

ConverRasterToPolygon failed with exception ERROR 010328 Syntax error at or near symbol?

We have a complex process where we compute the distance a boat will travel. We then take our waterway rasters, apply any blockages and delays to them, and create the FullCostArray to get the time it ...
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?
2
votes
1answer
39 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
14 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 ...
2
votes
1answer
149 views

Syntax for ArcGIS ICalculator object?

I have a code snippet that I can't figure out: 'Define a calculator for NewArea field pCalculator = New Calculator With pCalculator .Cursor = pCursor .PreExpression = "Dim ...
2
votes
4answers
107 views

Workaround for AxMapControl painting issue (only problematic at certain screen resolutions)?

I have a .NET application dependent on ArcGIS 9.3.1 which I am upgrading to ArcGIS 10. I have an AxMapControl sat in a panel in a split container on a tab. The Dockstyle is set to Fill. Since ...
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 ...
1
vote
4answers
2k 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 ...
-1
votes
0answers
37 views

how to export feature classes from geodatabase [closed]

I have geodatabase USA.gdb and feature class is state,field values are California,Atlanta, etc.I want output California featureclass
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 ...
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 ...
0
votes
1answer
58 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 ...
2
votes
2answers
298 views

Exception handling in ArcGIS .NET custom geoprocessing tools?

I'm working on a set of C# GP tools for use both in Desktop and Server 10.1. The only soup-to-nuts treatment of writing geoprocessing tools in .NET appears to be Building a custom geoprocessing ...
2
votes
1answer
612 views

How to split zAware polyline by points programmatically with C#?

I'm trying to split a polyline by the boundaries of a polygon using IPolyCurve2.SplitAtPoints using C#. The polyline I'm trying to split is zAware and holds elevation values at a regular interval. ...
75
votes
5answers
13k views

How do I access ArcObjects from Python?

I would like to be able to script some things that are not exposed via arcgisscripting or ArcPy. How do I access ArcObjects from Python?
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 ...
2
votes
2answers
373 views

Throwing E_FAIL errors so edit operation is aborted

I need to abort an edit operation somewhere, determined by a certain condition. Heres the code I'm using: private const int E_FAIL = -2147467259; private void ...
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 ...
0
votes
1answer
162 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
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 ...
7
votes
1answer
85 views

Customizing Create Features window in ArcMap?

Can I customize Create Features window in ArcMap? (whether by using ArcMap capabilities or by writing ArcMap-Addin) I've read about Creating custom ArcMap TOC views, is there something similar for ...
6
votes
2answers
2k views

ArcObjects + comtypes at 10.1 and newer

Has anyone played around with using ArcObjects in Python at version 10.1? I am having all sorts of problems, such as TypeErrors when wrapping the ESRI OLB modules and AttributeErrors when attempting ...
2
votes
1answer
224 views

Obtaining map service url from within Server Object Extension (.NET)?

I'm having trouble figuring out how to obtain the full url to the map service a Server Object Extension is running on top of. I bascially want: IMapServer4 mapServer = ...
2
votes
1answer
249 views

Can I update the service on ArcGis Server programmatically?

There is Windows Service. This service adds user raster data to the Raster Dataset in sde database. The Raster Dataset registred on the ArcGis Server. This Raster Dataset also was publishing on ...
4
votes
1answer
146 views

Create layer from ArcGIS REST URL in ArcObjects using C#

I am trying to create a layer and add it into a MapControl from ArcGIS REST URL. For example I use the following URL ...
4
votes
1answer
71 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 ...
3
votes
1answer
167 views

How to add image base tool control to a drop-down list in ArcGIS 9.3.1

I have to retrograde an ESRI add-in application from ArcGIS 10.1 to ArcGIS 9.3.1. My challenge is how in the drop down list can I add base tool control( will be shown as icons inside the drop down ...
4
votes
1answer
265 views

Exporting Featureclass to Shapefile with field names changed using ArcObjects?

I have some annotation feature classes stored in a Pgdb.I want to export them to a shape file.Some field name need too be changed in that shape file.I am using vb .net to do this.Any help is ...
2
votes
1answer
1k views

ArcMap Geoprocessing vba code/tool - smooth polygon

I would like to execute the smoothpolygon tool within ArcMap vba and I'm having some trouble defining the parameters syntax for the tool. I'm getting this error below: ERROR 000622: Failed to execute ...
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
vote
1answer
168 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
605 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
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 ...
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
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
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
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. ...
5
votes
1answer
329 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
351 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
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 ...