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
3 answers

remove shared edge after the union of two polygons

I have two polygons that are next to each other (left image). After performing a union of the two polygons, I have a single polygon with outlines similar to the left image. What I am looking for is a way to remove the shared edges of the two…
Hoang Dang
  • 298
  • 2
  • 9
0
votes
1 answer

Turn off field programmatically in VB.Net

I'm creating an addin button in Arcmap via VB.net that when clicked, runs the identify tool. But I want only selected fields to appear in the identify dialog. I thought of hiding the unnecessary fields and then showing them again after the button is…
spearman
  • 21
  • 3
0
votes
1 answer

IDatabaseCompact.Compact() on an used IWorkspace

I am writting an ArcMap-AddIn with vb.net. I got an error when trying to compact my IWorkspace(mdb), the error is: COMException You tried to open a database, which was already opened by the user 'ADMIN' on Computer 'XXXXXX'. Try it again when the…
Munchies
  • 444
  • 6
  • 14
0
votes
1 answer

Is it possible to use AutoMapper or ValueInjecter to map a Source Property to a Target Method?

I am trying to map a simple, plain source object to a destination object which implements an interface (IFeatureClass) and only has a public method named SetValue(index, value) for setting the destination 'properties'. I want to be able to…
Christian Junk
  • 1,000
  • 1
  • 8
  • 22
0
votes
3 answers

Extending ArcGIS

I've been tasked with a thesis project where i have to extend the features of ArcGis. I've been asked to create a model written in Python that can run out of ArcGIS 10. This model will have a simple user interface where the user can drag/drop a…
goonerify
  • 1,668
  • 25
  • 27
0
votes
1 answer

Using "MakeRouteEventLayer" in ArcGIS

I'm trying to use the MakeRouteEventLayer tool but can't seem to get the different pre-conditions met. The routes are hosted on an SDE database. So far, I am setting the workspace by making a connection to the database server but I don't know how to…
El Weon
  • 385
  • 1
  • 3
  • 12
0
votes
2 answers

How do I capture an application close event of an application hosting my vb.net class libary tool?

I have a set of tools that I've built as a class library that is hosted/referenced within a main application (ESRI's ArcMap). I'd like to manage the case where a user may pull the pin on the main application while they have unsaved/unmanaged edits…
0
votes
2 answers

How to determine the amount of memory used by unmanaged code

I'm working against a large COM library (ArcObjects) and I'm trying to pinpont a memory leak. What is the most reliable way to determine the amount of memory used by unmanaged code/objects. What performance counters can be used?
Peter
-1
votes
1 answer

WKID for Unknown Vertical Projection

I am creating an ArcGIS 2d featureclass with the projection WKID = 3308. The HasZ option is false. To get the Spatial Reference for WKID I am using the IGeometryServer interface: int iWKID = Convert.ToInt32(sWKID); IGeometryServer pGeomServer =…
John M
  • 53
  • 7
-1
votes
2 answers

'Point' is ambiguous in Arcobject.net

Ipoint declared as New Point showing the error . "'Point' is ambiguous,imported from the namespace or types 'ESRI.ArcGIS.Geometry,System.Drawing'"
-1
votes
1 answer

How to creating point features and add data in attibute table at the same time?

I created point features. but ı cant do add data attribute table. IMxDocument pMxdoc = ArcMap.Application.Document as IMxDocument; IPoint pPoint = pMxdoc.ActivatedView.ScreenDisplay.DisplayTransformation.ToMapPoint(arg.X, arg.Y); IFeatureLayer…
-1
votes
1 answer

ArcObjects Mobile SDK, how do you get length/distance of a polyline

I programmatically select a polyline using an attribute query statement and returning the geometry of it. Then I use that to zoom-in to the area. I'm needing to the length of the polyline in order to zoom-in to the area based on the length.
GGarcia
  • 1
  • 1
-1
votes
2 answers

ArcObjects SDK's for .net free download

Anyone can suggest where I can freely download Arc-Objects SDK's for Arc GIS 10.2 version?
Arun
  • 121
  • 2
  • 9
-2
votes
1 answer

what does it mean "private xxxxxxx" in visual studio ArcObjects using c#?

I am new to ArcObjects using c# in visual studio 10. In some code, it often have something like this: private bool m_isMouseDown = false; private ESRI.ArcGIS.Display.INewLineFeedback m_lineFeedback; private IActiveView m_focusMap; Can someone tell…
user1293655
  • 31
  • 2
  • 5
-2
votes
4 answers

Releasing Com Objects Doesnt Affect Memory Usage

When I release com objects by Marshall.ReleaseComObject method, memory usage of application doesnt change. Instead of using Marshall.ReleaseComObject, using Garbage Collector (GC.Collect()) can release memory area of com objects but the UI is…
Salih
  • 47
  • 3
1 2 3
13
14