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
17 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 ...
0
votes
0answers
17 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
14 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
0answers
56 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 ...
0
votes
0answers
15 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. ...
0
votes
0answers
22 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 ...
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 ...
0
votes
0answers
8 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. ...
0
votes
1answer
31 views

Using Intersect result

With the help of @Durga I have a working java code for the intersect: gp = new GeoProcessor(); gp.setOverwriteOutput(true); Intersect newintersect = new Intersect(); String in = "(" + ...
0
votes
0answers
24 views

kml to FeatureClass

I'm new to ARC, and am trying to create a tool to fetch KML for sources and import to the central arcserver database. I see that there is a the kml to lyr tool, but it creates a personal sde. Is ...
0
votes
0answers
28 views

How to delete a feature class from a GDB using ArcObjects for Java?

I've seen this solution which may works in ArcObjects for VB/.Net: How to overwrite a shapefile or feature class using arcobjects When I try to convert it into Java, I get a ClassCastException on ...
0
votes
1answer
38 views

.net arcobjects draw polygon(rectangle) can not start at the preferred location

I am using the sample code (draw a polygon on the screen) provided by Esri but it seems I cannot start the drawing from a location I want, every time it starts at wherever the function(or tool) ...
0
votes
0answers
21 views

INetworkBuild throwing exception of file read/write error?

I Have a code that executes well in winxp but recently i am working in win7 the earlier code runs well in win7 also but only the build network is throwing me an exception of file read /write error can ...
0
votes
0answers
46 views

Searching for features added in an edit session with QueryFilter only works when using object id or no WhereClause

I'm getting strange behaviour reading added features from a feature class while within an edit session. The feature class is in a personal geodatabase and is open in the map control in an ArcEngine ...
0
votes
1answer
46 views

ArcObjects WPF Legend Toolkit Control doesn't show layers

I'm starting to develop GIS applications using ArcObjects for c# and WPF. I have to say: what a difficult disorganized and not well documented API, but that's another story. I'm trying to migrate a ...
0
votes
0answers
56 views

How to embed ArcMap graph into winforms dialog using .NET/C# and ArcObjects?

I am creating an addin for ArcMap in csharp and want to add a graph to a dialog. The native arcgis graph control doesn't seem to been available from the visual studio toolbox. I can't figure out ...
0
votes
0answers
25 views

ITopologicalOp simplify

I want to simplify a polyline geometry so that at the intersection line was torn, that is added EndPoint (see figure below). Polyline Feature class is stored in a file geodatabase in the dataset, it ...
0
votes
0answers
40 views

argis 9.3 to arcgis 10.2 arcobjects connection AutomationException: 0x5 - Access is denied. in 'Invoke'

A legacy code, written in 9.3, made connections to the server via the following code public String connect(String domain, String user, String password) { new ...
0
votes
1answer
58 views

How to batch export to PMF using ArcGIS 10.2 and VB.Net

This is my first post, and was hoping I might be able to get some assistance. I have modified a code I found online to batch export a series of map documents (mxds) to ArcPublisher files (PMFs). I ...
0
votes
0answers
41 views

Cast, Convert Esri.ArcGIS.Geo.IRecordset TO system.Data.Dataset solutions?

I have a bunch of tools that are still running on Arcmap 9.2 drive and I am updating my tools so they can run on 10.1. I came across this problem in one of my functions, where I needed to cast an ...
0
votes
1answer
30 views

Identify feature which is set for editing

While creating custom tool for ArcMap I found problem which couldn't be solved even with try-catch block. When start editing I must to choose which layer I want to edit (if they are from different ...
0
votes
1answer
54 views

Adding Field using C# winform and ArcObjects?

How to add a field in featureclass by using C# winform,arcobjects? It means when we click on command winform should open and afetr field entries it should be add in to table.
0
votes
1answer
45 views

Selecting a Graphic Element on button click using IGraphicContainerSelect

I am having trouble type casting and using the right interfaces. I have a function that loops through all text elements with a specific property set. Once a match is found, I want to be able to select ...
0
votes
0answers
29 views

Finding What version a PGDB is programtically

So i have a list of 681 personal geodatabases. I want to figure out what version (9.x, 8.x, 10.x) these things are. So i want to write a program that will read the filepath from a database table and ...
0
votes
1answer
30 views

ArcGIS / .Net - Load pyramids in thread

I need to display a large raster with ArcGIS. To do so, I'm using pyramids, and it is working, but they can be long to build. So I would like to build the pyramids in a separate thread. When doing so, ...
0
votes
0answers
5 views

Filter pointcollection in geocoords set

i'm working with .Net v3.5 and ArcGis 9 and i must say i'm pretty newbie with this. I have an application with different layers, one of them is used to draw the world using WGS84 coords, what i'm ...
0
votes
0answers
16 views

Arcobjects: Track new point from button click in DockWindow

I am wondering if anyone might have a potential solution for a problem i'm encountering in ArcObjects. I am trying to track a screen location on the map. after a button is clicked in my DockWindow ...
0
votes
1answer
51 views

how to make attribute read only arcobjects

I have created add-in toolbar with C# arcobjects. I am creating some empty geodatabase shapefiles. While creating featureclass i want to assign some default value to attribute and then make it ...
0
votes
1answer
36 views

how to use IUniqueValueRenderer for empty geodatabase point file with ArcObjects

I have empty geodatabase file with point geometry created programatically. I have style file with several symbols. I basically want to add all these symbols to my shape file before creating ...
0
votes
1answer
52 views

Change layer properties

How can I edit name of lines of layer in ArcMap from Visual Studio C#? E.g., change STR_NAME = "Pushkin street" to STREET = "Pushkin street"?
0
votes
1answer
59 views

Layer cannot be found

public Int32 GetIndexNumberFromLayerName(String layerName) { IMxDocument doc = ArcMap.Application.Document as IMxDocument; IActiveView activeView = doc.ActiveView; ...
0
votes
0answers
46 views

Using ListTransformations function in ArcObjects, C# and ArcGIS Engine?

I need to call arcpy.ListTransformations function in C#. I have to pass 2 spatial References (ISpatialReference objects, I guess) and an envelope(IEnvelope object) to this function. This function ...
0
votes
3answers
93 views

Arcmap Refresh Button

I am working with ArcMap and C#. In the bottom left hand corner, there is a menu where you can toggle between Data view and Layout View, a Pause button, and a refresh button. I have created an Add-in ...
0
votes
0answers
27 views

WhereClause to get the row with least datediff to given date

I have an SDE running on Oracle10-database from that I need to retrieve that row that has least datediff to a given date. So I tried to order the rows and get the very first row, but I do not have a ...
0
votes
0answers
66 views

how to create map package programatically using C#?

I'm using .NET SDK to create ArcMap toolbar with arcgis 10.1. how do i create map package .mpk programatically? http://resources.arcgis.com/en/help/main/10.1/index.html#//006600000403000000
0
votes
0answers
87 views

ComboBox Addin to populate Layers .NET C#

I am using Arcgis 10.1 and created following class derived from ComboBox. class LayersComboBox : ESRI.ArcGIS.Desktop.AddIns.ComboBox I want Combo box Add-in to populate added layers(in table of ...
0
votes
0answers
25 views

Drawing geometry and attaching it to featureclass with arcobjects and Add-in button

I am newbie to ArcObjects and exploring classes. I want to have form created on add-in button click.(Form contains certain text boxes for input) That shall create a new feature class and then allow ...
0
votes
1answer
60 views

How to run spatial query get fields value of 2 layers?

Last month I ask a question "vb.net arcobjects spatial query get fields value of desired layer only", url vb.net arcobjects spatial query get fields value of desired layer only. Now there is some ...
0
votes
0answers
32 views

Releasing FeatureLayer COM object

I am going through some code and trying to implement correct COM object releasing because currently in an error situation we cannot remove some generated files as the databases are kept locked. I ...
0
votes
0answers
43 views

Sorting by geometry

I'm trying to implement sorting of features by set of fields. These fields can contain geometry one. For geometries I want to use adjustable XY- and Z-tolerance. My thought was to use ITableSort with ...
0
votes
1answer
133 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
0answers
60 views

IMap.FeatureSelection get the selected feature field value always return -1

I am following the sample code of ArcObjects (vb.net) of IMap::FeatureSelection, I want to get 1 field value of all selected features. unfortunately I always get the value -1, any idea on it? The ...
0
votes
0answers
47 views

Dynamically created toolbar doesnt show in Toolbar in ArcMap

I am trying to troubleshoot an application that allows creation of a tool bar based on a config file, which contains information about the tool bar like Name, ProgId, ESRIType, CLSID, Tooltip etc. ...
0
votes
1answer
197 views

The best way to convert points to polygons using ArcObjects

I have a set of points from GPS I want to convert them to polygons..I have two approaches to do this.1- convert points to polygon..I do this with below code: private IPolygon ...
0
votes
0answers
30 views

Can arcobjects validate topology globally

I want to develop a function which allow user to validate a topology in the whole map wide. But from what I searching from internet, to validate a topology, a dirty area (polygon) must be defined, ...
0
votes
1answer
53 views

Code to get featureclass name from existing topology

I am creating and validating topology through vb.net and arcobject code.Things are running fine as I am able to add rule and validate it . Problem is when once the program is run and topology is ...
0
votes
1answer
206 views

How to edit feature in sqlserver geodatabase

I am using arcmap 10.2.1 and arcobject 10.2.1,I just want to conncet to a geodatabase and edit,add,delete a feature from a feature class using arcobject,I tried to connect to database and it works ...
0
votes
0answers
24 views

Customized tab does not show in ArcMap 10 Table of Contents after migration from 9.3?

I'm new to ArcGIS 10, and I have a huge block of code migrated from ArcGIS Desktop 9.3 to 10. Most of them work properly but some classes, which implement the "IContentsView" interface, don't show ...
0
votes
0answers
332 views

Converting VB code to C# for coverting Polyline to polygon

It is a while that I am stuck at converting polylines to polygon and I couldent find any solutions into it.I have tried some diffrent methods like using ...
0
votes
0answers
72 views

Why do converting GPS points to polygon using ArcObjects differ from manual converting?

I am working on a project where I have a .gpx file, convert it to a polygon and save it in a geodatabase. I wrote the code and it works fine. But when I rewrote the code in ArcMap using the gpx to ...