Questions tagged [arcobjects]

ArcObjects is a development environment for ArcGIS applications by ESRI.

Overview

ArcObjects is a set of COM-based APIs from ESRI Inc. that are used in several of their products, ArcGIS Desktop, ArcGIS Engine and ArcGIS Server.

The APIs can be used several developer platforms including .Net (VB.Net/C#...), Java, C++.

Tag usage

For non-development questions, see GIS Stack Exchange

196 questions
0
votes
0 answers

jpanel overeride the other compoent zorder in java swing application

I am making a network managemant system with arcgis map using arcobject java and swing application but the problem is that one panel zindex override the others. the result is that Jpopup menu and tab menu list not showing in the main frame. I think…
neeraj bharti
  • 361
  • 1
  • 3
  • 20
0
votes
3 answers

ArcObjects: Is buffering a point faster than buffering a line / polyline?

I can write my code logic to either buffer a polyline or to buffer the to and from point of the polyline. Working with the points will be easier, so it is the preferred way. Logically my reasoning tells me that buffering a point will be faster as it…
Jacques Bosch
  • 2,165
  • 3
  • 25
  • 36
0
votes
1 answer

How to buffer an IPoint or IGeometry? (How to do buffered intersection checks on an IPoint?)

How would I buffer an IPoint to do an intersection check using IRelationalOperator? I have, for arguments sake: IPoint p1 = xxx; IPoint p2 = yyy; IRelationalOperator rel1 = (IRelationalOperator)p1; if (rel.Intersects (p2)) // Do…
Jacques Bosch
  • 2,165
  • 3
  • 25
  • 36
0
votes
1 answer

Execute custom ArcGIS model with Visual Basic

I made a function which should execute a custom ArcGIS model. I use VB 2010 with ArcGIS 10.2. The button which should execute this function is placed on a dockable window. Dim model As Geoprocessor = New Geoprocessor() …
Chris Driessen
  • 15
  • 1
  • 1
  • 5
0
votes
1 answer

ArcObjects - IWorkspaceExtension and Component Category Registration

I have coded an implementation of IWorkspaceExtension (along with IWorkspaceExtensionControl, which declares the Init method), and registered it in the ESRI Geodatabase Workspace Extensions Component Category. However, when I connect to the…
grefly
  • 1,181
  • 2
  • 12
  • 28
0
votes
2 answers

How to automate the finding of an M value along a route

Kirk Kuykendall had given a script example a few years back in an ESRI forum http://forums.esri.com/Thread.asp?c=93&f=996&t=88246&mc=4 as to how to find the M (measure) value of a point in a shapefile along a route when you clicked on the point. …
0
votes
1 answer

Open Filesystem Raster Dataset in ArcGIS using ArcObjects 10.2 in Java

SOLVED: see my answer below I am trying to open .tif, .img, and .dat Raster files to a new layer in ArcMap. I have tried all the methods I have found in the documentation and a few implementations on StackOverflow. This is the current code: File…
Vok250
  • 11
  • 4
0
votes
1 answer

ArcObjects - Will the Post/Reconcile Operations Fire the IObjectClassEvents Event?

Just wondering if anyone had experience with this before I go down that rabbit hole...
grefly
  • 1,181
  • 2
  • 12
  • 28
0
votes
1 answer

Which Command Item is activated on the Command bar

I am working with Add-Ins in ArcMap using VS2010 and C#. I have a question in regards to ArcObjects ICommandBar and ICommandItem classes. I've looked at these and have been able to produce code, that on button click, will select or activate a…
user1898629
  • 329
  • 1
  • 4
  • 22
0
votes
1 answer

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 this text element or make it active or…
user1898629
  • 329
  • 1
  • 4
  • 22
0
votes
1 answer

How do I listen for TimeSlider Event in ArcMap using C#

I am updating rows of featureclasses via a plugin using C# and ArcObjects. For some reason the featureclasses then are not refreshing properly when the slider is moved, they do display properly if I manually refresh the map, however. I want to test…
0
votes
1 answer

Run A Function Every Time a Map Document is Opened

I am working with C# and ArcObjects. I have some functions that I need to run every time a map document is opened (.mxd, or any other type of map file as well). I have no idea of the code needed to accomplish this though. An example would be that…
user1898629
  • 329
  • 1
  • 4
  • 22
0
votes
1 answer

How to compile an ArcGIS Desktop add-in in Visual Studio 2013

I have several projects made in Visual Studio 2010, those projects are ArcGIS Desktop Add-in's. I have been change of computer, and my new one only have Visual Studio 2013 due to some company politics I'm not allowed to install VS2010. I tried to…
XtianGIS
  • 967
  • 16
  • 39
0
votes
3 answers

How to check if an actual map document is loaded / opened up in ArcMap

I'm working with C#, Visual Studio 2010 and ArcMap. I have a fairly simple question that I am not sure of the answer because of my Noob status with ArcObjects and ArcMap. I am familiar with many of the ArcObjects Interfaces such as IMxDocument,…
user1898629
  • 329
  • 1
  • 4
  • 22
0
votes
0 answers

Why does this querytask always go in the failed method?

I'd like to show some informations in a popup, wherever the user has clicked. The Query and QueryTask works, but every time the method for the query (MapMouseclick()) is done, it jumps into IdentifyQueryTaskFailed(). I have no idea why the execute…
ArmandoS63
  • 693
  • 1
  • 6
  • 21