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

How to read a tile package file(.tpk) in ArcObject C#?

I should read and show some tile package file using ArcObject C# 10.x. However, I failed to find how to read an tile package file on My Application using ArcObject C#. So, please tell me about ...
1
vote
0answers
19 views

Validation on save in arcobject

I want to validate all the features that have been changed since last save. Currently I'm trying to do this in an ESRI.ArcGIS.Desktop.AddIns.Extension. My sde database is not versioned. public class ...
1
vote
2answers
38 views

Changing layout background from red to blue through button add-in with C# and ArcObjects?

I am working on Arc Objects using C# and I have to make a button add in, such that if I click button one time then layout background color changes to red and then if I click again then button add in ...
0
votes
1answer
41 views

Python-ArcObjects mxDocument Stand Alone

if I need to work with classes MxDocument with the MapDocument that I have selected to work , for example style gallery, How can I instantiate ? InitStandalone() pMapDoc = ...
3
votes
2answers
42 views

Which interface controls 'Place overlapping labels' for a feature layer?

I need to turn on the option to 'Place overlapping labels' for a feature layer via ArcObjects. In the ArcMap UI it is located here: I can get to most of the labeling options from the ...
2
votes
0answers
14 views

ArcGIS server extension: Marshal.ReleaseComObject() or not?

The ServerSimpleImageServiceRESTSOE example uses Marshal.ReleaseComObject(). The other examples seem to not use this. When should I use Marshal.ReleaseComObject()? As I understand if I am not using ...
0
votes
0answers
18 views

ArcGIS Server extension crashing after some time

I have developed an ArcGIS server object extension. It works fine the first hour or so no matter how many times I call it. However if I do some other work and start calling it after a few hours I get ...
1
vote
1answer
18 views

Displaying specific version of geodatabase on AxImapControl using ArcObjects in C#?

I am working on a sample ArcGIS Engine project which tries to map two versions difference on an AxImapControl i created two mapcontrol which first one loads the MXD file and for second one i make a ...
2
votes
1answer
46 views

Determine if Point is in feature class attribute table

I'm working with ArcObjects, C# and ArcMap. I have an attribute table that has several rows of data including a "shape" field that holds a point geometry. I also have a random point. How can I iterate ...
1
vote
1answer
42 views

ExportToPDF creates blank PDF

I have a MapDocument that I am trying to export to PDF. I am using this example. However, it always says it is finished but when I open the pdf file there is nothing in it. I have tried exporting to a ...
2
votes
1answer
36 views

ArcObjects in ArcMap 10.2.2 UpdateCursor refer to a calculated field value in the same Cursor

Is it safe to calculate a field value inside an update cursor and refer back to this calculated value to change another field value of the same row? I think some code will actually explain my ...
2
votes
0answers
23 views

How to connect to secured ArcGIS server shared on AGOL with ArcObjects

Our organization is hosting secured ArcGIS Server geodata and map servers (token based). The services are shared on ArcGIS Online, where specific AGOL users in a group are allowed access. Now I want ...
1
vote
0answers
18 views

setting a PictureFillSymbol via ArcObjects not wanted/allowed?

Have a problem in setting a PictureFillSymbol in polygon-layer-properties via ArcObjects. I just create the Bitmap not from file, it is "painted" in runtime. After loading the layer and setting the ...
1
vote
0answers
23 views

Control points in IAdjustXForm for georeferencing of raster (ArcObjects)

I am trying to create a georeferencing tool using ArcObjects in VB.Net. Though only a little text is available on this topic in forums as well as from ESRI; I found an esri article that states the use ...
2
votes
1answer
37 views

C# Arcobjects 10.3: Change the source version on a layer file

I'm using arcobjects (C#) to load my layers to the table of contents, and I need to update the data source to change the version. The layer file is set to the correct source at the DEFAULT version. ...
2
votes
1answer
40 views

Getting reference to existing reference of dockable window in class in ArcMap Addin?

I have an addin for ArcMap 10.2 that has a dockable window. For what it's worth, this dockable window has a DataGridView to which the user can add features for review. These features are added from ...
0
votes
2answers
19 views

Unable to make “IDataStatistics:UniqueValues” work in .Net

I would like to use IDataStatistics:UniqueValues to iterate through a set of unique values. This worked flawlessly in VB6 and VBA but I am having a difficult time making it work in VS 2013, ArcGIS ...
0
votes
1answer
21 views

ArcGIS Identity Tool Output Fields

I am using the Identity tool which takes 3 parameters: in_features, identity_features, and out_features. Does the output FeatureClass need to have fields that are a combination of the fields in ...
1
vote
0answers
21 views

Raster cleanup problem in ArcObjects

I am working on Raster cleanup tool and using below like but I can't understand what is the output rectangle or block. Could you please clear my doubt. ...
-3
votes
1answer
39 views

How to get midpoint of polyline in java arcobjects

Here I want the midpoint of every polyline and add that point to List. List<IPoint> pList = new ArrayList<IPoint>(); Polyline polyline = null; IPoint point = null; for(int ...
0
votes
1answer
45 views

How to iterate through each vertex in a line?

I am working with ArcObjects in building functionality for a toolbar inside of ArcMap. Once I start an edit session, I use the tools to manually draw a line. I am trying to loop through this line get ...
0
votes
1answer
138 views

Create a new BasicOverposterLayerProperties

ArcGIS 10.1 with VB.NET I have been trying to figure this out for days but can't seem to make the connection. For a layer I am trying to create a label. I create a new BasicOverposterLayerProperties ...
2
votes
1answer
43 views

Creating custom forms in Arcmap 10.3

I am hoping to make a custom form within ArcMap 10.3 where the end user can select a recently digitized shape file (or feature), and enter values of specific attributes through a custom form. This ...
0
votes
1answer
35 views

How can I delete an ITable?

I have created an ITable but I need to be able to delete it if it already exists. How can I delete an ITable? This is the code that I have so far which checks for an existing ITable. public static ...
1
vote
1answer
51 views

ArcGIS 10 arcpy to add a WMS Service to MXD

I want to batch insert WMS layer to my arcmap MXD project with python/arcpy script. Some issues has been unanserwed, here my "state of art": ESRI IDEAS ESRI GeoNet community #1 ESRI GeoNet ...
1
vote
1answer
26 views

Get the fill stipple of a predefined PictureFillSymbol in ArcMap

In ArcMap in symbol-dialog you can choose a predefined symbol for your polygon-features, i.e. agricultural area. This is a 1 bit picture with foreground- and background color. I grab this symbol as ...
0
votes
0answers
20 views

Does intersect result in non-simple geometry?

I have some features retrieved from SDE where I perform an Intersect on. Both feature-classes from which the features come from are polygon-featureclasses. IFeatureCursor cur = ...
0
votes
0answers
34 views

Storing Select Statements for ArcGIS Query Layers: LYR Files vs Views vs Application Code

I've inherited maintenance of an extension to ArcGIS Desktop (ArcObjects, C#) that allows users to view spatial data and related attributes from our databases (SQL 2008 R2). This is of course ...
0
votes
1answer
40 views

Highlighting selections using ArcObjects?

I have a problem you want help: In ArcMap 10.2.2 In my code I want to highlight selections but I can't. My code: void drawPoint(IFeature pfeature) { IRgbColor rgbColor = new RgbColorClass(); ...
0
votes
0answers
23 views

Having Trouble Masking Geoprocessing tool

The output TinLayer that is produced is the rectangle extent of the contour's feature. I want it to be the shape of the contour's feature instead. When I create a custom feature class in the ...
2
votes
1answer
46 views

How to symbolize multiple layers with different EMF's in ArcObjects C#

I'm trying to symbolize multiple layers with an emf logo. When debugging, it gets through the first layer then crashes. I'm thinking it might have something to do with the variable "emf1" not ...
1
vote
0answers
30 views

ArcObjects 10.1 Misplaced graticule labels after map export to jpeg

I´m currently working on an ArcObject 10.1 Extension which 'produces a Map' and exports it´s Page Layout to 'jpeg' after completion. The code follows the snippet for 'Create JPEG (high-resolution) ...
1
vote
0answers
19 views

Activating new Snapping feature in ArcGIS Engine while editing features and vertices?

I'm working on new Snapping Capability of ArcGIS Engine. I want to use snapping capability using ISnappingEnvironment class while users are editing a feature or moving vertices. I tried ...
1
vote
1answer
33 views

Create a mapping between polyline and raster in ArcObjects

In my case I have two sources of data: a vector shapefile with a polyline (expressing the path) and a raster with some integer metadata values available for each cell. What I would like to do is to ...
1
vote
0answers
55 views

ArcObjects OnChangeFeature event not firing unless you move feature

I am displaying points, lines and polygons on ArcMap as features with an addin. I want my end users to be able to change features (move geometries, add vertex, delete vertex etc) and get the updated ...
0
votes
0answers
20 views

hold some data at layer object

Is there in arcobjects the ability to store some data at the layer in table of content sth. like ILayer.Tag or an Interface which I can misuse for this?
2
votes
1answer
41 views

Create Feature Class from another Feature Class

I have a Feature Class and I want to create another Feature Class that is basically a subset of the first Feature Class. For example, I have a Feature Class containing public parks which I want to use ...
0
votes
2answers
56 views

AddIn button/tool force Arcgis 10.2.2 to close

Issue : AddIn button/tool force Arcgis 10.2.2 to close. Development environment: Visual Studio 2013, .Net framework 4.5 (I tried with 4.0 also), Arcgis for desktop 10.3 Works fine on development ...
1
vote
1answer
96 views

Spatial reference does not match data frame for Bing Maps

In ArcObjects I am loading Bing Maps as a base layer. It's coordinate system is esriSRProjCS3Type.esriSRProjCS_WGS1984WebMercatorMajorAuxSphere. On top of the base layer, I am trying to load points, ...
0
votes
2answers
41 views

Converting dimension feature into image using ArcObjects?

I have a task to convert dimension feature into image with ArcObjects. I need to get real image that I see in ArcMap (with right size and spatial reference, of course) instead of turning feature ...
2
votes
1answer
69 views

ITopologicalOperator::Simplify not removing self-overlaps

I maintain an application whose main job it is to take esri-ish things from users and turn them into sql spatial objects in our database (2008 R2). Below is an excerpt that may be useful: public ...
0
votes
0answers
10 views

Editor/EditTemplate: Creates empty feature and Delete's graphic after draw

ClassModels Contain Samples which represent our Feature. The user clicks add on a classmodel to add features (or samples to it). The editor loads the tool and the correct template but when the user ...
1
vote
0answers
28 views

Can not export some annotaton layers using QuickExport in ArcObjects.NET

I develops add-in for ArcMap that exports different layers to .mif format using ESRI.ArcGIS.DataInteroperabilityTools.QuickExport Geoprocessor gp = new Geoprocessor(); gp.OverwriteOutput = true; ...
0
votes
2answers
61 views

How to change Raster symbol values (Unique Values) in ArcObjects

I want to change Raster properties symbology using with Arcobjects. Unique Values change as per below attached snapshot. Dim pWSFact As IWorkspaceFactory Set pWSFact = New RasterWorkspaceFactory ...
1
vote
2answers
54 views

Using pop-up dialog to change properties of northarrow in ArcObjects?

In ArcMap, users could double-click on elements like north arrow and then change its properties in a pop-up dialog. I was wondering how to accomplish this using ArcObjects?
1
vote
2answers
118 views

Visual Studio 2015 Error when running ArcMap add-in

I'm running a simple ArcMap add-in in Visual Studio and am getting this error: Severity Code Description Project File Line Suppression State Error The "ValidateAddInXMLTask" task ...
1
vote
0answers
23 views

LayerUILib.dll Error in ArcGIS 10.3

I am struggling to get rid of the below error, the program can't start because LayerUILib.dll is missing your computer. try reinstalling the program to fix this problem. Note: this error ...
1
vote
1answer
35 views

Arcmap Addin 10.3.1: Cancel/control loading of addins, based on a condition

I'm creating Add-in for arcmpa in C# , for 10.3.1. These add-in are to help with client workflows for the business needs. I need to be able to control whether an add-in can load or not. (control of ...
0
votes
0answers
39 views

Runtime error R6034 running a java/arcobjects program

I made several programs using ArcObjects for Java always getting this error at different times of execution: If this error occurs, we just have to click OK and the program continues without ...
0
votes
2answers
44 views

Is the ArcObjects SDK for .NET available with an ArcGIS for Home Use or free trial license?

I currently have a 6 month free trial of ArcGIS Desktop 10.1 that I got online with an authorization number from an Esri Press book and I've read that ArcObjects is bundled with the Desktop license ...