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

NGO library Removal

NGO library is not available anymore, thats where my question comes in, those objects at bottom in code section, mean nothing because there is no reference for them in arcobjects v10.. this is what ...
0
votes
0answers
39 views

How can I show the identify of a feature in ArcMap own identify window using ArcObjects API?

I would like to show the identify of a IFeatureLayer in ArcMap's Identify window. I had used IdentifyDialog to create a custom dialog to show the identify, but it seems that the ArcMap's identify ...
4
votes
1answer
366 views

How to add individual layer of WMS group layer to ArcMap?

I am attempting to add a single WMS layer that is part of a WMS service group layer. I am writing code to do this using ArcObjects in C# .Net. So far I have been unsuccessful. I can either only add ...
1
vote
0answers
82 views

How to create a schematic view of a line feature?

DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far… I have a line feature (polyline with curves) in ArcGIS Desktop, and I want to create a linear representation (straigth line) of the ...
4
votes
2answers
261 views

Developing tools for ArcMap 9.x and 10.x

I've been asked to start developing something for ArcGIS 10.x, but here is the problem: in my computer I already have the SDK and ArcMap 9.3.1 installed. That means that I need to uninstall it before ...
0
votes
2answers
22 views

Why does the AxMapControl no longer expand to fill the space when I press the Show/Hide Map Legend button?

I have a .NET application dependent on ArcGIS 9.3.1 which I am upgrading to ArcGIS 10.2. I have an AxMapControl sat in a panel in a Splitter on a tab. There is a legend which can be made to ...
2
votes
3answers
86 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.2. I have an AxMapControl sat in a panel in a split container on a tab. The Dockstyle is set to Fill. Since ...
1
vote
0answers
21 views

How do you symbolise a 32-bit raster in ArcObjects?

For rasters that are ABOVE 16-bit - you cannot apply a colormap - so what is happening when you symbolise in ArcMap a 32 bit raster, it's certainly possible. I'm trying to emulate this funcitonality ...
2
votes
2answers
372 views

Using IWorkspace.Exists() method?

I have a valid and existent workspace (file geodatabase) in a specific folder. [TestMethod] public void WorkspaceHandler_TestConstructor_FileGdbWorkspace() { workHandler = new ...
3
votes
3answers
872 views

Transfering a lot of features from geodatabases?

I'm having a problem where I need to export a large amount of content from 2 geodatabases of different nature (SDE -> File). I have three options: Spatial Select, a regular SQL select and the full ...
5
votes
2answers
536 views

Is it possible to modify the ArcObjects IProgressDialog2?

It turns out that the best way to run long tasks in ArcMap is to use the IProgressDialog2. The BackgroundWorker in combination with ArcObjects (STA Threads) is a mess. However, it seems that the only ...
0
votes
0answers
18 views

ESRI internal process fails using data created by ESRI — suggestions?

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 ...
4
votes
1answer
116 views

Cannot use SnapAgent alone?

I'm trying to use a standalone snap agent. Is that not possible? Here's some code: // instantiate these agents. _snapSupportAgent = new FeatureSnapClass(); ...
3
votes
1answer
333 views

ArcObjects - WFS:

Hy, has anybody an example concerning accessing data from a WFS server by using the DataInteropability in ArcObjects? I'm getting the right field definistion, but don't know how to read the data. ...
1
vote
1answer
88 views

How to serialize IStyleGallery Object? [duplicate]

Possible Duplicate: Can I store an ArcObject inside a BLOB or XML field? I am saving shape file in database and now i want the symbology selected for the feature layer also get stored in ...
1
vote
0answers
101 views

Measuring Angle of two Points from North in ArcGIS 10.3 C# SDK

What is the most reliable method to calculate angle of a line from north, defined by it’s from and to points? I used to use IMeasurementTool interface found in defense solutions namespace found in ...
6
votes
4answers
482 views

Migrate in a new programming GIS language

The last five years I have been working with VBA and ArcObjects for developing a specific application within ArcGIS. That project that began around 2008-2009 carried out with VBA and ArcObjects which ...
2
votes
0answers
21 views

Is it possible to add an ArcGIS attachment to a row in Oracle/SDE using oracle stored procedures?

So far I have been able to attach files to features within a featureclass using the python tools and ArcObjects. Within Oracle I have been able to add features with geometries using the ST_Geometry ...
3
votes
1answer
124 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 ...
1
vote
0answers
111 views

ArcGIS Engine BaseTool derived classes stops receiving OnKeyDown messages?

I have two BaseTool derived classes in a custom ArcGIS Engine application. Both tools do the same thing: start a INewBezierCurveFeedback on a first mouse click and then stop it and return the ...
2
votes
2answers
75 views

Export ArcGIS Metadata as a .pdf

I've been asked to automate the exporting of metadata from ESRI feature classes into .pdf files. We don't want the .xml files, rather a .pdf version of what you see in the Description panel in ...
6
votes
1answer
103 views

How to create ArcSDE Geodatabase in PostgreSQL without ArcGIS Desktop?

I am programming a small application using Arcobjects, and I need to create an ArcSDE geodatabase on PostgreSQL. In ArcSDE at 10.2 there is no Post Installation Wizard. How do I create a Geodatabase ...
0
votes
0answers
29 views

run the GP tool “create enterprise gdb” from ArcObjects

hello i work with arcobjects and c#.net , i try to create entreprise geodatabase in Postgresql using the following code using ESRI.ArcGIS.Geoprocessor; using ESRI.ArcGIS.DataManagementTools; public ...
0
votes
0answers
15 views

Adding a layer can sometimes load raster footprint!

Just trying to refine my ArcObjects code to add a layer into ArcMap based on passing the fully quailified (String) name of the layer - problem is, if it's a raster, it will load in the vector ...
0
votes
1answer
154 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 ...
2
votes
1answer
251 views

Setting up Eclipse for ArcGIS Engine Java development?

I'm trying to setup Eclipse for ArcGIS Engine 10.0 development. I've been reading for days and weeks through the documentation and through the forums here and elsewhere. It seems that no one has this ...
6
votes
4answers
390 views

Storing ArcObject inside BLOB or XML field of geodatabase?

Is it possible to store an ESRI object inside a blob field inside a geodatabase? If not, perhaps a serialized XML representation? I'm thinking about storing IFeatureRenderers inside these fields. ...
2
votes
2answers
70 views

ArcObjects: ExportOperationClass causing error and not exporting

I'm trying to export each row in a shapefile, but I get an error I haven't seen before (see below). I feel like it might be the labyrinth of interfaces that I have to cast between that may be causing ...
2
votes
2answers
593 views

What issues exist with using log4net as a logging framework for ArcGIS Desktop?

While updating some ArcObjects projects to ArcGIS 10, I realized that I don't have a comprehensive logging strategy. Sometimes it's log4net. Sometimes it's System Trace/Debug. Sometimes custom ...
4
votes
0answers
64 views

What is the function of the ESRI.ArcGIS.AddIns.targets file?

I am currently upgrading from 10.2 to 10.3 and as expected there are always some issues with recompiling addins and upgrading the the visual studio version. There is now a known issue for which ...
0
votes
0answers
5 views

Arcobjects Java event on featurelayer symbology change

I am working on an Java AddIn project for ArcMap. I need to find the event when user changes the symbology for a layer added in TOC. So far my best bet is to useIActiveViewEvents class on map, and ...
-1
votes
1answer
33 views

Partitioning Polygons layer to smaller partitions

I Have a huge polygon layer which contains many thousand polygons> i am going to operate an intersect loop for every point in the layer with near polygons. i use ITopologicalOperator op = ...
1
vote
2answers
154 views

Debugging 'module' object has no attribute 'SdeWorkspaceFactory'?

I am new to python, am debugging one of existing python code, where am facing an error "'module' object has no attribute 'SdeWorkspaceFactory". Earlier this code was working fine but suddenly does not ...
0
votes
0answers
65 views

How to find co-ordinates of two intersecting features (circle and polyline) in vb.net using arcobjects?

I am new to arcobjects and i want to find the co-ordinates of the intersection points of a circular arc and a polyline. Can somebody please help me with this. I've tried the following code but it is ...
2
votes
1answer
1k views

Running Model within ArcMap using VBA?

I would like to Run/execute a model within ArcMap 9.3.1 vba. I can run it in vba by exporting out the VBS script and importing it into vba, however I'm wondering if there is an easier way to just call ...
0
votes
0answers
26 views

How to refresh the page layout and the data frame in an ArcObjects console application?

I made an ArcObjects/Java console application to open an MXD and export several maps to PDF. Every thing worked fine until I decided to convert a layer's labels to annotations in order to modify it. ...
1
vote
1answer
89 views

How programatically activate data frame in ArcMap?

I want to: create new data frame, give it a name, activate it and then fill with layers, etc. in ArcMap .NET custom command. With this code I achieve 1. and 2., but don't know how to activate ...
1
vote
2answers
882 views

Extracting lat/long from screen when using British National Grid projection in ArcGIS Desktop?

Using ArcGIS Desktop 10.0, is it possible to click anywhere on the map (projected to British National Grid), but return the coordinates in WGS84 lat long?
0
votes
2answers
338 views

ArcGIS 10 IGPFunction2 and IGPFunctionFactory Implementation

I'm creating a custom ArcToolbox tool in C# .NET in ArcGIS 10 SP2. Though I seem to be having two issues which maybe related: Firstly, my tool is run as a background task i.e. the GP dialog does not ...
3
votes
2answers
131 views

Dockable window close event

Is there an event that fires when a custom dockable window is closed in ArcMap? My dockable window uses the Add-in pattern and hosts a WPF user control. It opens via a command button which is nested ...
2
votes
2answers
2k views

How to find nearest line to point using ArcGIS Desktop (ArcObjects/Python)?

I am new to building custom ArcObjects, and am looking for a custom python script for arcgis version 10 that will loop through a point shapefile to find the nearest line segment of a line shapefile ...
3
votes
2answers
1k views

Finding path where add-ins are installed for ArcGIS Desktop?

I see that my add-ins are installed to C:\Users\Me\AppData\Local\ESRI\Desktop10.0\AssemblyCache{6C90269B-D233-4122-3747-C2AE1131E22C} Is it possible to find that file path from within the Add-in ...
1
vote
1answer
35 views

ArcMap Crashes when inserting new feature in multi-Threading add-in

I'm developing a ArcMap add-in that get dynamic feeds from the network and append the newly arrived data to a suitable featurelayer. I'm using InMemoryWorkspace, FeatureBuffer, FeatureCursor, Thread. ...
11
votes
12answers
7k views

Learning .NET for ArcGIS (mainly Desktop) use?

I have basic programming skills (I program simple vba python and lisp scripts and had gone through a java course a long time ago), but it seems to me (judging by ESRI publications) that there is no ...
1
vote
1answer
45 views

How to properly initialize ArcMap data frame created with IMaps.Create method?

In a custom ArcMap command implemented in .NET C# I create a new data frame this way: // mxDocument is IMxDocument IMap newMap = mxDocument.Maps.Create(); // create new data frame newMap.Name = "I ...
0
votes
0answers
37 views

How to fill combobox with attrbute data

I am coding using vba in the visual basic editor given ny arcgis9.3, I have u user form,in user form there is a combobox and a commandbutton. I have also added four shape files.so i want to fill the ...
2
votes
2answers
348 views

Creating join between feature class and table created with InMemoryWorkspaceFactory?

I'm trying to join a featureclass contained inside a pgdb with a table created with an InMemory Workspace. The in-memory table contains results that I want to use to define symbology on the ...
13
votes
8answers
4k views

ArcObjects Resources

What are the best books/web sites for C# development with ArcObjects? The ArcGIS Resource Center is very helpful, but I am trying to find sources with more examples. Thanks
4
votes
2answers
2k views

Programmatically alter AliasName for fields defined in layer file (not underlying source)

Is there a way to alter the AliasName on a layer file only, and not the underlying shapefile or feature class? I have a few hundred layers that define joins between hundreds of tables with census data ...
0
votes
0answers
10 views

How to refresh layout view Oleframe with embedded XLSX in 10.2.1 using C#

I have a 9.3.1 mxd with 3 embedded xlsx files in the layout that I programatically refresh using oleframe.open. In 10.2.1, programatically refreshing of the xlsx docs in the ole frames is failing. ...