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)

1
vote
1answer
229 views

ESRI Raster Remap with Decimals

I have a requirement where the user would like to see the output value in a raster as a decimal. The user will input a series of ranges with a cost associated to them. For instance 0-5, 1.20 ...
1
vote
1answer
176 views

SDE FeatureClass Granting and Revoking Privilege with ArcObjects

Q: How can I with ArcObjects GRANT or REVOKE Privileges like SELECT, UPDATE on SDE FeatureClasses to/from Roles? The equivalent in normal Oracle would be something like this: GRANT SELECT ON ...
1
vote
1answer
213 views

IQueryFilter where Clause quering two feature class at a time

I need to query two feature class at the same time using IQueryFIlter. For eg - FeatureClass -- A has field OBJECTID FeatureClass -- B has field OBJECTID what i am tring to do is -- IQueryFilter ...
1
vote
1answer
582 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 ...
1
vote
2answers
226 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.
1
vote
1answer
141 views

What is the preferable value for setting tolerance for selecting a feature

I know it's really a basic question. But I am really confused about this. For selecting a point feature by mouse click, we need to set a tolerance value to create the envelope. And here is the problem ...
1
vote
1answer
260 views

Problem in splitting and removing Polyline

I am stuck at a problem for weeks, Please Help!!! I am making program in C# Here is what I need to do --- I have two polylines that are intersecting with each other at some points. I want to delete ...
1
vote
1answer
267 views

How to get the nearest line to a feature?

I have features on map, and i want to get the nearest poly-line to each one. How to write spatial query to get the nearest one. I tried to use ISpatialFilter but i couldn't reach anything.
1
vote
3answers
1k views

How can I permanently reorder fields in a feature class programmatically with ArcObjects, VB.Net?

Would someone be able to share the logistics on how to permanently programmatically reorder fields in a feature class with ArcObjects, VB.Net. I want to be able to do this in the geodatabase not in ...
1
vote
1answer
212 views

ArcGIS10 VBA requires library references

I just upgraded from ArcGIS 9.2 to 10.0, and I'm trying to create some tools using VBA. It doesn't recognize any of the ArcObjects Classes, Interfaces, or Constants unless the reference includes its ...
1
vote
1answer
885 views

Getting error in applyEdits function for ArcGIS

I have been trying to add an entry to a featureLayer and in want to get a callback from this so I can update another field in it. below is my code clkListenerAddFeature = dojo.connect(map, "onClick", ...
1
vote
1answer
104 views

How to get 'IGraphicsContainer' from the map?

I tried to get IGraphicsContainer from Data View (active map) using FocusMap, ActiveView IGraphicsContainer graphicsContainer = (IGraphicsContainer)neApp.Document.MxDocument.FocusMap; but the ...
1
vote
1answer
61 views

Store global reference to a service/object

In developing with ArcMap, is there any way to register a service that can be used during the life-cycle of a document- for example to do something like: C# .NET ...
1
vote
1answer
65 views

meaning of createObject(Point.getClsid())

What actually does the createObject(Point.getClsid()) do?Does it create a new Point Object,and return the class id of the Point.Does it mean that each point created will have the same class id. I ...
1
vote
1answer
484 views

Implementing Custom Selection Tool (Adding to current selection) with ArcObjects

I am trying to implement a custom selection tool in ArcMap 9.3.1 that is functionally similar to the default ArcMap selection tool with "Adding to current selection" enabled. ie. the user can click to ...
1
vote
1answer
485 views

Custom C# tool populate field combobox parameter from layer parameter

I'm creating a custom tool for arcmap toolbox where user select FeatureLayer in one combobox, and in next combobox user can select a field from selected FeatureLayer. FeatureLayer combobox fills ...
1
vote
1answer
278 views

Dealing with overlapping grid (and graticule) labels using ArcGIS Desktop?

I do have 3 grids made by Grids menu in data frame properties. I do need them to display in certain layout and also to behave accordingly to couple of rules (overlapping issues), so I can automate my ...
1
vote
1answer
94 views

Is there anything obviously wrong with this hit test code?

I want to know if the IPoint of the mouse position is hitting an IPolyline, I wrote this code, and was optimistic that it would work, but it always returns false. IPolyline poly1 = pc1 as ...
1
vote
1answer
393 views

Obtaining friendly names for ArcMap layer data types

Using ArcObjects, is there a way to programmatically obtain the "friendly name" for a layer's data type as seen in the ArcMap Source tab for layers in a map document? e.g.: File System Raster ...
1
vote
1answer
116 views

Listen to edit events

I recently started working on ArcMap. I want to make some changes to the edit tools. For example I want to prevent the user from using the sketch tool when the time is between 1pm and 2pm But I ...
1
vote
1answer
2k views

Writing In-memory IFeatureLayer to Shapefile using ArcObjects (Engine SDK)

I've been working on this for a little while now, and can not seem to get this thing working. I've managed to export a geodatabase feature class and shapefile to a shapefile, but what I'm struggling ...
1
vote
2answers
896 views

Getting the workspace from IGxDialog:DoModalSave

I'm writing an application that allows a user to save data into a table in a variety of formats: dBase, File or Personal Geodatabase, or SDE. I'm trying to see if there's a way to determine what type ...
1
vote
1answer
488 views

How to determine if a LYR file has more than one Layer using ArcObjects?

In using arcpy, I have found that there are just a few lines of code needed to get a list of layers in a LYR file if more than one layer exist. How can I accomplish this same feat using ArcObjects in ...
1
vote
2answers
337 views

use existing function in arcmap use VBA in Arcobjects

I have a UI tool button, I would like to get and use the existing function (select elements tool) in Arcmap when I activate this button, does anybody know that how to call the existing function using ...
1
vote
2answers
158 views

Identity tool FID column name gets cut off

After my ArcMap extension executes the Identity tool, the resulting identity shapefile has FID columns for the "input features" FeatureClass and the "identity features" FeatureClass but the column ...
1
vote
1answer
502 views

Converting distance between nautical miles and degrees

This is such a basic question that I'm kinda of embarassed. Here is the situation: We have a certain funcionality developed that: Will check for a tolerance value (this input is given by the user ...
1
vote
1answer
1k views

How to get the “queried” value from attribute table and put it in a textbox?

I am new in VBA, I have a problem about querying an attribute table....: I have a table of a layer (wish.shp) with the fields: owner_ID, Value, Area. I made 3 textboxes in a userform, I input the ...
1
vote
1answer
104 views

Merge column data with a IFeatureClass

I have a points shapefile with City, State, Zip columns. I want to merge the column data together into a new column containing: City-State-Zip (with the hyphen). Can I merge column data like this ...
1
vote
1answer
341 views

How to Create and Rotate Raster Dataset using ArcObjects?

I'm following the "How to create a raster dataset" tutorial: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000464000000 The questions are: 1) How can I create ...
1
vote
3answers
2k views

How to merge several tables/feature classes into single geodatabase object in ArcObejcts?

My project is ArcGis extension, which uses a specific set of tables and feature classes. I want that this structure to behave like single geodatabase object, so user cannot delete part of it's schema. ...
1
vote
1answer
104 views

Named ITable removal

I am dynamically creating a join between a GeoFeatureLayer and an external ITable derived from a SQL query and opened with OpenQueryClass(). It works. Now if I could only delete the Join!? But even ...
1
vote
1answer
240 views

Dynamic defining of transformation type for ISpatialReferenceFactory.CreateGeoTransformation call

Suppose given a point (IPoint) in some coordinate system. Required to transform it to another coordinate system. If both of coordinate systems are predefined, we can use IGeometry2.ProjectEx with ...
1
vote
2answers
508 views

intersection between a geometry and a layer in Arcobjects VBA

i have to make an intersection between a polygon and a layer of parcels, the polygon used in the clip is not belonging to any layer and the result of this intersection should be all the parcels inside ...
1
vote
2answers
792 views

ESRI Desktop Zoom to the feature

i find a feature by using IFeatureClass.Search then i want to show the feature on the screen.How can i do that ? is there a zoom interface or else ?
1
vote
1answer
223 views

Check if a land parcel (polygon) has access on a road or not

I have a feature layer with land parcels as polygons. Polygons (land parcels) are either adjacent in all its around sides by other polygons but some of them have a road a which is not actually a ...
1
vote
2answers
517 views

Opening a custom model's geoprocessor window with ArcObjects

I have developed a custom model using ModelBuilder in ArcGIS, and I would like to use a .NET Base Command to open the geoprocessor parameter window for this tool so the user can enter their ...
1
vote
1answer
327 views

If a shapefile with geometry esriGeometryPoint is valid is it guaranteed to have a non null featureclass?

I have been given a point shapefile but it's feature class is null. I haven't seen this before so I'm wondering if the data is bad or if it's something I need to handle with code. //I was using this ...
1
vote
1answer
570 views

Adding an AddIns.Button to an Add-In Menu

I know the title sounds unwieldy but as I am beginning convert an existing COM interface to Add-Ins, I am having trouble adding a button to a root menu. I have an AddIn.Button that is used both as a ...
1
vote
1answer
304 views

Can I listen to the ICommandBar or ICommand OnClick event?

I have an ArcMap extension and I'm listening to the IEditEvents. When the OnChangeFeature, OnCreateFeature or OnDeleteFeature event is called, I want to know if it came from the "merge(Editor_Merge)" ...
1
vote
1answer
422 views

How to collect the graphics element drawn on a graphics layer?

The graphics element may consist of point, circles, polygon, free hand line drawing or marker symbols. I m using arcobjects.
1
vote
1answer
103 views

Configure SoundEx in ArcEngine

Is there a way to configure SoundEx properties in ArcEngine? This query: "100 Fairvew Rd returns "100 Fairview Rd" But this query: "100 Farview Rd" returns no results Is there a way to make the ...
1
vote
1answer
220 views

Extent in ArcGlobe

Does anyone know if it's possible to get an Envelope/Extent in ArcGlobe based upon what's visible on the globe. For instance, I'm looking to be able to zoom in over the state of Pennsylvania and get ...
1
vote
2answers
1k views

How do you update the ArcMap 10 Statusbar from an AddIn?

I'm using this statement in an add in to update the first pane of the ArcMap statusbar: ArcMap.Application.StatusBar.set_Message(0, message); When the method is called, no exceptions are raised. In ...
1
vote
2answers
442 views

DrawPolyLine not drawing completely on the right layer

I zoom into a map, then do a screenDisp.DrawPolyline(polyline); Now the line is in the correct place, but the map that is the background of the polyline object is actually the initial map and not the ...
1
vote
3answers
991 views

Drawing selection custom selection box - ArcObjects

I have some code that I'm using to selecting features in a certain extent. I already rigged the tool properly, so it selected the objects as needed, but I want to draw interactively the selection box ...
1
vote
1answer
328 views

Requirements for BaseCustomLayer in ArcScene?

What must be implemented/included to add a layer deriving from BaseCustomLayer to ArcScene? I have had success adding a BaseCustomLayer to ArcMap by implementing Draw, AreaOfInterest, Cached, ...
1
vote
2answers
201 views

IFieldChecker problem

I'm having some problems using IfieldChecker. I have this following code, which I'm trying to test permitted/not permitted fields, according to my workspace public IEnumerable<IFieldError> ...
1
vote
2answers
531 views

ArcObjects table views or sqlite3 in Python?

Given a larger csv (1000+ points) with attributes, I need to do both attrbute and spatial queries on the data. Would it be faster to read the points into an xy feature class, and do the spatial and ...
1
vote
1answer
29 views

How to use IWorkspaceName2

I'm trying to make a little utility to generate encrypted passwords for MSD files (change the XML inside the zip). I found this example online, but I'm not familiar with esri's API, so I'm not sure ...
1
vote
1answer
28 views

ArcObjects - Highlight something in TOC

Can someone help me please, I'm searching for a way to highlight a Feature Class in the TOC. I tried so many snippets and I didn't get the result I wanted So what I'd like to have is a function ...