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.

learn more… | top users | synonyms (3)

1
vote
0answers
173 views

Problems with Multipatches

I have some polygonal features that have minimum and maximum z values. I'm trying to calculate the difference between a fixed extruded polygons and the sum of extruded related polygons. Here's how ...
1
vote
0answers
69 views

Compound Key to Relationship

If tableField = "Process ID" and layerField = "PID" then this works: IRelationshipClass relationshipClass = memoryRelationshipFactory.Open( "Join", table as IObjectClass, tableField, ...
1
vote
0answers
449 views

Change the symbol for a single feature in ArcObjects?

Is it possible to change the symbol for a single feature in ArcObjects? If so how? I know it's possible to setup the map symbology for different field values of a feature class, but I'd like to ...
1
vote
0answers
268 views

Intersecting with Geodatabase.ISpatialFilter - no results

I'm trying to intersect two layers and get resulting features with the following code I've written: ESRI.ArcGIS.Geodatabase.ISpatialFilter spatialFilter = new ...
1
vote
0answers
107 views

How to get SplineWithBarriers to work in C#

I have been having fits trying to get SplineWithBarriers to work but to no avail. My environment: Windows 7 64 bit Visual Studio 2010 Team Edition ArcMap Release Version 10.0 Product Version: ...
1
vote
0answers
171 views

Assign Custom Band Combination To Image Catalogs In ArcGIS

I have an image catalog composed of 4 band rasters. I would like to use the same image catalog, and set custom renderers for a true color and false color combination and save each of those catalogs ...
1
vote
0answers
112 views

Arcobjects - Properties Grid

Does anybody know a way, in VBA, to change the grid interval? For example: if my layout´s scale is 1:2000, my grid will have 200 meters interval and my layout´s scale is 1:5000, my grid will have 500 ...
1
vote
0answers
222 views

Spatial Reference and Area/Length Attributes relationship

I currently allow users to add a shape file in. From the shape file, allow the user to generate a new layer base on the polygons from the shape file's polygon they imported. Generating the new ...
1
vote
0answers
231 views

topology rules for structuring topology data to get line feature as topoparent in topology graph

i Created topology graph of a polygon feature and i copied geometry of topology edges into line feature class,and topology nodes into point feature class i created topology layer containing ...
1
vote
0answers
369 views

ArcObjects: How to get the size of the formatted text part only of a TextElement whose text contains formatting tags?

I'm working in ArcGIS 10.0 and Python 2.6.5. I have a string, say 'mMx', that I want to enter into a TextElement (in the data view). The lowercase letters are to be substituted with a graphical ...
1
vote
0answers
237 views

export topology tables to txt files using arcobjects, generating directed graph , finding intersections

I want to export topology tables to text files: for points: 1 id x y for lines: line id fompoint.x from point.y topoint.x topoint.y for polygons: id line id 1, line id 2... 2 arc ...
1
vote
0answers
83 views

AddData tool stop working after Interoperability connection has been used?

Bug in ArcGIS Engine? Has anyone seen this behavior? We get an exception from our ArcGIS Engine test projects after we had been testing the Interoperability connection in ArcEditor. We had to enable ...
0
votes
0answers
3 views

Get Conflict Value from ConflictWindow

When i reconcile a version in my Arc Map. I am getting conflicts which i was able to see in a conflictwindow. I want to read conflict values only from the conflictwindow. So that i can generate a log ...
0
votes
0answers
33 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 ...
0
votes
0answers
26 views

Can I access the request URL in a 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 ...
0
votes
0answers
45 views

Snapping with mutiple custom tool using diffrent snapping types

I have a custom tool with snapping type is (snapping to point + snapping to edge), and the second tool having snapping type is snapping to point only, so when i select the first tool it works well, ...
0
votes
0answers
22 views

identify tool in arcobject

Please see the attached layer. I have used following code in the OnMouseDown event. my objective is to select the X_coor , and Y_coor field from the layer based on the arg.X and arg.y. However when ...
0
votes
0answers
27 views

add data to toccontrol

When i open MXD file, it isn't add to TOCControl, but it is dispalyed. How solve it or it is imposible? Code from standart ArcEngine MapControll APP private void menuOpenDoc_Click(object sender, ...
0
votes
0answers
31 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.
0
votes
0answers
36 views

ArcEngine crashes on IProjectedCoordinateSystemEdit.Define

I need to create a projected coordinate system in my ArcEngine (Version 10.0) application from this .prj-file. Since I don't want to load from a file (with ...
0
votes
0answers
143 views

How to convert Graphic Layer to Feature Layer in ArcGIS 10.1

In general Graphics can be converted into Features manually from Drawing Toolbar option convert Graphics to Feature. My requirement here is i want to convert through code using Arc Objects and C#. ...
0
votes
0answers
39 views

Migrating code to 10.1 and recycled search

I am migrating 9.3 Desktop extension to 10.1 I am getting this bug when I am trying to update a row in the geodatabase "Cannot call Store on a recycled row while editing" And seems the reason is, I ...
0
votes
0answers
29 views

creating hyperlink form by arcengine into c#

I want to hyperlink three files to one point from a point layer,when I added this layer into Axmapcontroller I need to create a form to show a list of three files in order to choose by user, I could ...
0
votes
0answers
29 views

ICommandBar vs. IToolbarDef

I am migrating .NET, C# code for custom extension from version 9.3 to 10.1. The code is creating many toolbars on the fly and add commands to them. The code snippets for creating one toolbar is like ...
0
votes
0answers
39 views

Making ArcObjects Java application independent of eclipse

I have a ready Java + ArcObjects application. Inside I create, delete folders in the "bin" directory of the project. There are two folders "input" & "output" without which the application will ...
0
votes
0answers
25 views

How to capture the “OnFeatureChange” or “OnFeatureChange” for a parcel in a cadastral fabric?

The normal "OnChangeFeature" and " OnCreateFeature" don't fire when editing in a cadastral fabric and I'm looking for similar events where I can hook into editing events that are occuring for ...
0
votes
0answers
31 views

How can i fix the error of IApplication in Visual studio

I want to use IApplication interface in my program . but when i run my code, an exception occured in visual studio . i create an object from IApplication (IApplication paap) but i can't use it. help ...
0
votes
0answers
53 views

How to display font with UTF-8 coding charset in MapControl (C#) ?

I can display Unicode font without error. But, I got font error when trying to use UTF-8 font. Are there anyone know how to fix it ? I used below statements to set font for Text: IFontDisp pFont = ...
0
votes
0answers
39 views

Possible to manipulate data in a postgres database with psql using JDBC or Python's psycopg2 with something else?

I ultimately want to manipulate data in a postgres database programmatically, and I am much more comfortable programming in Python than Java, but I'm not sure whether arcpy can ultimately use psql, ...
0
votes
0answers
51 views

Zoom a line feature based on two points on the line using vb6?

I would like to zoom certain part of features using vb6 code. It is not the full extend zoom. In details say several lines are selected, this may be a stretch of a river or road. If I use full extend ...
0
votes
0answers
112 views

Problem building raster attribute table in ArcObjects

We are converting some polygon features to raster using ESRI.ArcGIS.GeoAnalyst.IConversionOp. The conversion is based on an integer field and the output raster is being correctly produced with integer ...
0
votes
0answers
48 views

How to do Spatial Query by Objects On Graphic Layer?

I have created a graphic layer and put some Points on it, now I want to click on points and Intersect them with lower layers. Any help is appreciated.
0
votes
0answers
116 views

convert from c# to python

I develope an application with c# to create offset in arcgis . i want to convert this application to python . how can i do these in python? I try to use this sample . it was very helpful for me but i ...
0
votes
0answers
139 views

Why do I get an error when using CalculateField in a loop with a Windows form?

I have developed a command button for ArcGIS 9.2 (Visual Studio 2005) that copies the selected features of a featureclass to a shapefile. It then examines the attribute table of the shapefile (via a ...
0
votes
0answers
242 views

Unable to add SDE featureclass to map using arcobjects

I am currently in the process of converting our VBA apps to .net (C#) using Visual Studio 2010 and ArcGIS 10.1. On my current project, I want to add a layer to the map from SDE. I have the ...
0
votes
0answers
10 views

E_RPC_ServerFault exception when i am querying SDEFeatureClass

I am querying 100 SdeFeatureclasses Inside a for loop using a Polygon using following code. //This List of SDE.FeatureClases.. List FeatureClassList=GetFeatureClasses(); Code: 'for(int ...
0
votes
0answers
70 views

Can i assign a list or array to IRowBuffer Row without Row.set_Value()?

Is it possible to assign a list or array to IRowBuffer Row? I have something like the following: I have a fields (list) with values and i have to fill a Row with that values. public void ...
0
votes
0answers
137 views

ArcObjects: spatial queries based on intersection of shapefiles in different layers

The problem we are attempting to solve is what is assumed to be a series of spatial queries based on features in distinct layers of an ArcGIS map published as a map service on a local ArcGIS Server. ...
0
votes
0answers
40 views

How to add a MapControl to PageLayoutControl using C#?

I am having a PageLayoutControl on Form that display objects: text, lines,.... Now, I want to add a MapControl to this PageLayoutControl to display a small map (dgn file). Do you know how to do this ...
0
votes
0answers
137 views

IBufferConstruction.ConstructBuffersByDistances2 - “Attempted to read or write protected memory” error

I have a polyline layer that needs to be buffered a specific direction (left or right of the line) and a specific distance. The polyline layer has fields in the attribute table that define each of ...
0
votes
0answers
71 views

How to set symbols on argis classbreaksrenderer from colorramp file?

I'm creating an add-in button that will allow the user to create a cloropleth map from a layer they choose. I create a classBreaksRenderer, then I can set it's colorRamp, for example: ...
0
votes
0answers
182 views

How To List Fields of a Shapefile and Add a New Field using C# and ArcObjects?

Can someone please help me to figure out how to get list of attribute fields name from a shapefile? For example , let's say I have a shapefile called "NewDH.shp" stored at "D://GIS". How I can list ...
0
votes
0answers
183 views

Error 1001. InstallUtilLib.dll, unknown error

Here is my scenario: I am working on migrating a 931 extension to version 10. As per the ESRI link, I have made changes and the revised installer and it works fine. When we went for deployment, the ...
0
votes
0answers
54 views

Adding ArcCatalog Root Object in Java

I've been trying to add a new root object in ArcCatalog using ArcObjects and the java library. I've created my own class that implements IGxObject, IGxObjectContainer2, and IGxObjectUI. In the ...
0
votes
0answers
98 views

ArcObjects - How to move a point to the nearest allowed location

I want to compute a route programmatically. I have a network dataset and a set of points. Some of these points are placed on locations that are restricted. Some of them are restricted because of the ...
0
votes
0answers
55 views

How to make billboard Marker Symbole in GlobeControl

I'm using a 2D symbol style library for elements' symbols in a draped graphics layer in GlobeControl and it succeeded. Now I'm trying to make the symbols billboarded, how to do this by ArcObjects ?
0
votes
0answers
304 views

-2147220936 Coordinates Or Measures Are Out of Bounds — IFeature.Shape

I current have two tools that draw polygons using the same method. I dissolve the zones, delete the undissolved zones, and then add the dissolved polygon to the map. I keep getting "Coordinates or ...
0
votes
0answers
89 views

Run time error for GP objects

I have a code with toolbars which I tried to run it in another PC but it failed. I get a run time error "Method Addtoolbox of object I GDispatch failed". The line that the code stacks is the last one ...
0
votes
0answers
49 views

Why is IQueryGeometry crashing when ITextSymbol:Text contains more then one AMPERSAND (&) symbol?

I have a bit of an issue with my addin which converts annotations (text) to polygons. To do this I use the ITextSymbol obtained from the Annotation Feature which is then implemented by the ...
0
votes
0answers
110 views

Is there any geodatabase schema & data migration library for .Net exist?

I'm performing code refactoring and database normalization in my project and looking for any .Net library for geodatabase schema & data migrations. Is there any solution exist for ArcObjects?