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

Getting Subtypes of feature Classes using arc Object Java

I am developing a tool to demonstrate subtypes of feature classes in a geodatabase. My code works until printing feature classes. Can anybody assist me by providing a right way to print subtypes of ...
4
votes
2answers
161 views

Common variable naming convention in ArcObjects

Not sure if this is really that important, but I'm wondering if there is a list of "common variable names" for different ArcMap objects... for instance, sometimes you see: IMxDocument mxdoc = ...
2
votes
2answers
558 views

Creating an ArcMap Extension

As ArcGIS 10 doesn't really support the full COM, I am looking at creating an extension. I am looking for samples to look through, to familiarise myself with them, but cannot find any. Any ...
1
vote
1answer
180 views

Access Personal geodatabase using java

Following example through ESRI is to access the features of file geodatabase (GDB) , ...
2
votes
1answer
914 views

Why does copy convert my Tiff raster value range?

Recently I have worked with some raster dataset. And I found there are different kind of raster dataset. Till now I have worked with grid type raster dataset and my add-in works fine with this type. ...
0
votes
1answer
311 views

How to add an existing feature class to a new feature dataset

I have a feature class. IFeatureClass AOIfc = AOIfws.OpenFeatureClass("BrigadeAOI"); I need to be able to put this feature class into a feature dataset that is newly created. The following line of ...
4
votes
1answer
421 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 ...
2
votes
1answer
263 views

Is there any way to reset feature cursor?

When we search within a feature class, it returns a feature cursor. To get features from a feature cursor, I use following code snippet: private List<IFeature> GetFeatureList(IFeatureCursor ...
4
votes
3answers
250 views

Arcobjects .Net, suppress geoprocessing messages

I am executing the copy features tool via the geoprocessor inside my .net custom geoprocessing function tool. When the copy features tool executes it is writing it's messages to my tool's results. I ...
1
vote
1answer
232 views

Software program (or spreadsheet calculations) to find Borehole Deviation?

I was given a bunch of surveyed borehole data (azimuth, depth, dip, geology, etc) and am required to calculate a deviation variable. Besides querying the data and averaging the surveyed borehole ...
0
votes
1answer
164 views

ArcGIS desktop extension and prevent attribute editing

I am building an ArcGIS extension on desktop 10.1 (not add-in, but old extension). I built some forms to edit some feature class, where I implement business rules. I want to force the user to edit the ...
1
vote
1answer
617 views

Loading an extension-related mxd in ArcMap by double clicking it

I am currently working in a company offering GIS solutions, and using ArcGIS tools on a daily basis. One of their main products is an ArcMap extension, which I am assigned on to correct some remaining ...
1
vote
0answers
285 views

Can't order/sort String columns in ArcMap attribute table

I am new to this site as a registered user and new to GIS in general, and it has proven quite useful to me. I have a very annoying problem with the attribute table being filled by an ArcMap ...
3
votes
2answers
663 views

How to run a custom Geoprocessing tool using no parameters?

I created a custom geoprocessing tool called "CreateCoverLayer". It has no input or output parameters. I have the following snippet of code, but get an error message due to the fact that the Execute ...
3
votes
2answers
541 views

ArcObjects Geoprocessing Failures

I am working on launching the GenerateNearTable using the ArcObjects Assembly method. I have the advanced license (10.1), so the tool is available. The code to launch geoprocessing is: Private ...
3
votes
2answers
145 views

How can I hide a tool from command window under category

I have created a tool, a button and a dockable window under one project. To open/close the dockable window, button is used. For some specific work, by clicking some specific button from dockable ...
0
votes
1answer
91 views

Get Conflict Value from ConflictWindow

When I reconcile a version in Arc Map, if it has any conflicts it will stop the reconcile operation and open a window. The window shows the conflicts of that particular version with red dots. My task ...
2
votes
0answers
85 views

ArcObjects: Custom GP tools: GPCompositeDataType and DataType

I got an issue with the parameter value's datatype returned when using composite type parameters. In my case, I create a composite of DEWorkspaceType and DEFeatureClassType: IGPCompositeDataType ...
3
votes
1answer
229 views

ArcObjects (VB.Net) Python Integration with object passing?

This link illustrates one method for calling python scripts from within an ArcObjects environment. The results of these tasks are returned as strings. I wonder if it is possible to call a python ...
3
votes
0answers
100 views

drawing line from points [duplicate]

I have a series of XY coordinates. I want to use these points to draw a line in ARCMAP using arcobject10.1 using c#. I have saved this in a table inside geodatabase.Am i supposed to create a feature ...
0
votes
2answers
2k views

how to create table and layer in c#

I have used Make XY Event Layer to Creates a new point feature layer based on x- and y-coordinates using python and it worked for me. Now as a need of my project i want to apply the same in c# using ...
1
vote
1answer
141 views

Getting started with development for ArcGIS Server

I'm currently working on upgrading a C# web service I wrote a couple of years ago built against ArcGIS Server to ArcGIS Server 10. The application in question does some basic spatial queries and ...
0
votes
1answer
165 views

Is snapping working when changing from NAD83(decimal degree) to NAD83 Zone UTM 11N(meters)?

I've used the following ESRI snippet to Convert the display extents in Pixels (at the current map scale) and then return out the map units. public System.Double ...
1
vote
1answer
184 views

ArcGIS crashes with no error number in Visual Studio

I've been developing Add-ins for a while with Visual Studio 2008 and ArcGIS 10. But in my new Add-in development process, I receive no error from Visual studio and ArcGIS crashes with error "Arcgis ...
0
votes
1answer
226 views

Can I access the request URL in a AGS Server Object Extension (SOE)?

I would like to obtain the full URL of a REST request inside of an ArcGIS Server SOE. I would like to return the full URL to an output file. But, the service may be exposed on different servers or ...
1
vote
1answer
149 views

VB.Net Field Population Methods

Disclaimer: I am basically brand new to VB.NET and ArcObjects. I am computing some statistics as a component of a larger arcobject script. I write these components to an ITable. This ITable is ...
2
votes
1answer
803 views

Creating maps programmatically using ArcObjects. Adding legends, scale bars, north arrows?

I'm looking for some examples related to the publishing of maps programmatically to image format using ArcObjects. More specifically I would like to add standard map elements such as a scale bar, ...
1
vote
1answer
794 views

How to get polyline out of multipart feature using ArcObjects C#

I've got a polyline feature class and I've identified the first feature that is a multipart feature. I now want to find out which of the paths of this multipart feature intersects with a point. Up ...
3
votes
0answers
59 views

Differentiate between 10-based Locator and Other Locators

In ESRI documentation, it states that the IAdvancedIntersectionGeocoding interface is only available for use in older locators (9.3.1 and below). I have verified this statement. One major problem is ...
2
votes
1answer
203 views

Stand-alone Server Object Extension (SOE)

I would like to setup a REST service through ArcGIS Server. In this case I do not need a map service, but it seems like you can only deploy an SOE as an extension to another service. It seems ...
0
votes
1answer
164 views

Featureclass search failing in C++. But working in C#

I need to perform search on a FeatureClass using ISpatialFilter for a given Point (x,y). I wrote a program in C# to do that and its retrieving the features as expected. But the similar program in C++ ...
2
votes
1answer
297 views

Overlapping Polygons in same feature class using Arcobjects

I have a polygon feature classs with millions of records, I need to find list of overlapping or intersecting polygons in the same feature class, and how to do it efficiently? I need a ESRI ...
1
vote
2answers
326 views

How to write a file in an Server Object Extension (SOE)

I would like to create a file with an ArcGIS Server Object Extension and return the url. Is this possible? Where would I write the file? I'm working with .Net, IIS, and AGS 10.1.
3
votes
3answers
344 views

Get IWorkSpace from IGxObject

I am creating a tool that opens an IGxDialog which it's objects are filtered to show only workspaces, my question is how can I convert IGxObject to IWorkSpace or get the selected workspace without ...
1
vote
1answer
186 views

HRESULT - IPersistStream.Save()

I have converted a VB6 project to C#, and there is one problem I cannot find documentation on. I am saving an IPropertySet to file by using IMemoryBlobStream and IPersistStream, as seen here: public ...
4
votes
1answer
756 views

Customizing Identify Dialog in ArcMap

Any idea for customizing Identify Dialog in ArcMap.I want to use my control (for example a list view or a custom control) to show attributes of features in same native ArcMap Identify Dialog,mean ...
1
vote
1answer
425 views

ArcObjects IDataset.Copy causes program to crash

My implementation of IDataset.Copy continues to crash and I cannot figure out why. The program attempts to copy a shapefile from a temporary folder in one directory to a final folder in another ...
3
votes
1answer
48 views

Does IDistanceOP.EucDistanceFull require a projected coordinate system?

I have designed an implementation of ArcObjects' IDistanceOP.EucDistanceFull. It takes its input as a feature class and converts it to a GeoDataset with which EucDistanceFull can work with. It works ...
2
votes
3answers
918 views

How to Zoom and Pan using scroll wheel in ArcObjects?

is there any way to zoom using scroll wheel ? i have tried AutoMouseWheel of map control, it works well for the first used custom tool, but once i change the tool, it stops working , i would like to ...
2
votes
3answers
748 views

ArcObjects identify tool [closed]

I'm using ArcGIS 10.1 and developing an application using visual studio 2010 and ARCObject SDK 10.1. I would like to use identity tool in my application and if not possible I want to execute a query ...
2
votes
1answer
223 views

ArcObjects 10/10.1 Get rid of Invalid layer symbol in TOC

I've written an add-in (VS2010, C#) that finds specific invalid feature layers in ArcMap and fixes them. After the layer is fixed, the red invalid symbol still appears in the TOC. An ...
1
vote
0answers
231 views

How to get hold of the Activated Event for the ArcMap window?

I am using ArcObjects 9.3 .NET. In my ArcMap dockable window, I have a single element host hosting a WPF user control (That's the only means of using WPF for ArcMap extensions as far as I know). ...
2
votes
1answer
91 views

How to extend a custom NASolver in ArcGIS Server 10.1?

The past year we developed a custom NASolver with C# , it works fine and that job has finished. Now we are planning to use it from ArcGIS Server. The problem is that we have no information for that. ...
2
votes
2answers
495 views

How to convert existing lines to polygons with Arcobjects, preferably in C#?

Does anyone know how to convert existing line geometry to polygons with arcobjects as it works with the geoprocessing tool "feature to polygon"?
0
votes
1answer
299 views

Rendering layer in ArcMap using ArcObjects and Python?

I succesfully wrote a script to render a Uniquevaluerenderer in a layer in ArcMAP using symbols from 4 parameters (values) read from the attribute table of the layer. I used ArcObjects and VBA, but ...
2
votes
1answer
100 views

Trouble storing an IMap with ArcObjects 10 and IPersistStream

I'm storing a reference to an IMap in a custom object (which is stored by a custom extension) so that it can listen to map events. When I save the custom object using IPersistStream and then reload ...
1
vote
0answers
138 views

InsertFeature on a versioned layer [vba]

I am writing an application that takes data from an Excel Spreadsheet and loads it into an ArcSDE feature class. The Feature class is editable within ArcMap, but I am having trouble inserting a ...
3
votes
1answer
151 views

How to display point features w.r.t field values of a polygon file in arcobjects?

I have a point & polygon shapefile. Point file has a field namely, Type: atm,hospital,school etc... Polygon file has a field Zone: Zn1, Zn2, Zn3. There will be two combo boxes which will populate ...
3
votes
2answers
345 views

How to use shortcuts in dockable windows?

I have developed a custom dockable window with textboxes, comboboxes and buttons for use in ArcMap. After the user clicks on a button in the dockable window a function is invoked. How can I invoke the ...
0
votes
1answer
239 views

How to set Symbology On Create Feature Window using arcobjects?

programmatically I set the custom symbology for the layers. When i started the edit session programmatically, the create feature window did not show the respective symbology assigned to feature. pl ...