1
vote
1answer
27 views

Rotate the map to GPS heading / direction in ArcGIS using ArcObjects SDK 10 for .NET

Assuming I use ArcGIS or an ArcEngine application on a mobile PC. Is it possible to rotate the map in ArcGIS to the direction the device is travelling using a GPS receiver? If yes, how? I would like ...
0
votes
0answers
16 views

Customized tab does not show in ArcMap 10 Table of Contents after migration from 9.3?

I'm new to ArcGIS 10, and I have a huge block of code migrated from ArcGIS Desktop 9.3 to 10. Most of them work properly but some classes, which implement the "IContentsView" interface, don't show ...
1
vote
1answer
39 views

How to get the data in dbf file while creating shapefile using arcGis

I am using arcObject dll to create shapefile. I am successfully able to create the shape file but I am having some issues with populating the shapefile data into .dbf file. At present the .dbf file ...
1
vote
1answer
51 views

Distance analysis of 3-D surface in ArcGIS using VB.NET

Using VB.NET I created a 3D polygon in ArcGIS to model a fault plane and now I want to find two different distances from a point on earth's surface. How to go about this? Can some one help with the ...
0
votes
1answer
32 views

Difference between 'point' and 'WKSpoint' in ArcGIS

I have to add 3-D points to make a polygon in ArcGIS using VB.NET. I have defined an IpointCollection and want to add points to this. I have options to add 'point' or 'pointcollection' or 'WKSpointz'. ...
1
vote
1answer
20 views

ISet.Next() not moving forward

I am trying to move features programmatically using IFeatureEdit:MoveSet() method. It works fine if I simply move one feature, but if I add more than one feature (from another FC of course), it hangs. ...
0
votes
1answer
61 views

Copy features between file geodatabase and ArcSde by using ArcObjects

I want to transfer all contents of a table from file geodatabase (*.gdb) to a table in ArcSde. In fact the data is meant to be replaced, so I need also to clear the table in ArcSde. Both tables have ...
0
votes
1answer
13 views

How can one get the value of the point where the AxMapControl is centered at?

I am using the AxMapControl to display a map and I want to record a point where I am and want to be able to return to the same point later on using the CenterAt() method.
1
vote
0answers
20 views

Menu - onCreate Event

In ArcObjects, the Class 'BaseCommand' has 'OnCreate' method(to handle oncreate event). Similarly is there any equivalent method available for Menu ('BaseMenu' Class)?
1
vote
1answer
64 views

How to connect to ArcSDE for using the ArcObjects Erase tool in C#?

I want to make use of geoprocessing via .NET ArcObjects, in this case of the "Erase" tool. This is easy once dealing with a local gdb file what I did for feasibility study. The issue occurs when I ...
1
vote
1answer
56 views

ITopologicalOperator simplify takes more time

The objective is to cut the polygon where the lines are intersect. The polygon has 183182 vertices and taking more time while using simply method so process time is increased very huge. Please suggest ...
0
votes
0answers
75 views

cad to shapefile conversion

i have use arcgis10.1,arcobjects.net. i did following code ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true; ...
0
votes
1answer
65 views

Creating Network Dataset programatically

I'm trying to code to create a network dataset using a single line feature class with minimal attributes I'm looking for a nice tutorial which can guide me through the process.I have already looked at ...
0
votes
1answer
56 views

How to list all of feature class in SDE?

I am getting a problem: my SDE contains some feature classes, but after using the statement: var namesEnum = workspace.DatasetNames[esriDatasetType.esriDTFeatureClass]; var tempName = ...
2
votes
1answer
72 views

Is it possible to learn ArcObjects without VB?

I have some text in arcmap active view and I need to Change the font face as the licence does not cover the font type. I am using python script for Automation but arcpy can not select the text ...
3
votes
0answers
114 views

How to compute surface of raster or any point using ARCGIS?

I have a raster image whose values are a digital elevation model of terrain. I need to know the surface type (topographic characterization) of particular points along transects of this DEM. How to ...
3
votes
2answers
59 views

How to programmatically Summarize an ITable?

Is there a way in ArcMap plugin to make Summarize-function like functionality programmatically? There is a feature layer, lets say Building, And it has fields like OID, FloorNumber, Color, Height ...
0
votes
0answers
63 views

ArcGIS Engine Map Control application

I am new to ArcGIS. I am trying to create a map control application but when I am adding my digitized map in map control it is only showing raster data (i.e. picture map) not the digitized features ...
1
vote
1answer
255 views

How to create point feature from longitude/latitude coordinates using ArcObjects and VB.net?

i Want to add a point feature to my feature class. an i want to enter the coordinates manually. here is what i am trying to do pworkspaceedit = pFeatureWorkspace ...
0
votes
1answer
52 views

How do I create an IFeature object from an IPolyline or ILine object

I am having some problems with some code i am trying to write. The application i am creating allows the user to click on the map and a point will be createD, when they click again to create another ...
2
votes
2answers
73 views

Is it possible to create an addin for a specifc MXD?

I am currently in the process of creating Addin's and also converting our VBA projects to .NET addins. With the VBA applications, they would only work with specific MXD's. Is this possible to do with ...
1
vote
1answer
118 views

Get Polygon or IGeometry from Envelope in ArcObjects

I would like to create a Polygon Feature from the geometry of an IEnvelope in C# ArcObjects SDK 10. Is there an easy way how to do it?
0
votes
0answers
34 views

NextBuffer operation takes a long time when there are no rows in a table

We're trying to get data from a table which contains no rows. The query runs fast, but the SDE gets stuck on NextBuffer command. Some code that we're using: IQueryName2 queryName2 = (IQueryName2)new ...
2
votes
0answers
34 views

Getting value from IRow is slower while edit mode is on? [closed]

When I access a value in an IRow using get_Value(index), it usually takes 0 to 1 ms. But when edit mode is on, the same operation takes 0 to 15 ms (most common values are 0 and 10 ms)! What could be ...
2
votes
2answers
170 views

How to get Database name for layer in ArcObjects?

I am writing an ArcGIS ArcMap Add-In and need to determine what database a given layer from. How can I determine this information? I attempted to use the FeatureLayer to get a FeatureClass, and then ...
1
vote
0answers
127 views

ArcObjects - Export map to PDF - graphics not appearing

I'm having an issue with our ArcObjects code for exporting a map to PDF. There is a section of code that adds graphics on to the map (polygons, lines, text etc). This seems to work fine for the first ...
1
vote
0answers
74 views

GP-Tool: Detect if running in background or foreground ? (ArcObjects)

I got a geoprocessing tool which I want to prevent from running in background, due to some weird crashes that happens. Is it possible to programmatically detect if background processing is enabled ? ...
1
vote
1answer
101 views

What is the correct approach to handle mouse events for a tool that is called by a button?

I have a dockable window with a 2 buttons that call 2 different tools (Draw Marker and Select Features), What i want to happen is when the user clicks on the relevant button on the dockable window and ...
1
vote
0answers
36 views

Is it possible to add dynamic controls to a dockable window?

I am writing a small application that uses the dockable window. What will happen is that for each layer in the TOC a label and checkboxes will appear within the dockable window. However what do i need ...
3
votes
1answer
67 views

How can i uncheck leader lines show in piechart using ArcObject?

I'd like to uncheck the leader lines of my piecharts programmatically . I surf in the internet and found nothing about this.It's simple to uncheck the leader lines in ArcMap. Just go to properties of ...
3
votes
0answers
145 views

converting a distance to a map distance

I have a point and a polyline. I need to find the perpendicular distance between each segment of the polyline and the point. By each segemnt of the polyline I mean that, each polyline may contain more ...
1
vote
0answers
54 views

How to return shapes from geo service?

I have a geo service that seems to finally be working. I have the service setup with a list of Polylines as the returned object. This is what I'm trying to implement but it doesn't work: ...
1
vote
1answer
364 views

How to create windows form based tools as add-ins in arcgis 10.0 using vb2010

Here i am again with a query again. Let me explain the project layout first. I am writing a project in vb2010 in which i want to add a package having 4 toolbars with about 48 tools in them in ArcMap ...
1
vote
1answer
139 views

Why does my ITopologicalOperator Intersect result have incorrect area?

I have used ITopologicalOperator for getting common Area of two polygons but the result is not correct. May anyone please tell me how to get the common area of two features. //Make Topological ...
2
votes
2answers
112 views

How to use IFeatureCursorBuffer in VBA

I tried to use IFeatureCursorBuffer to create and dissolve the buffered features.I am trying to get the solution since some days using dissolve and UnionOverlappingBuffers, but not being able to get ...
1
vote
1answer
41 views

IElement, extract Element from GroupElement nested in GroupElement

As per title. I am trying to extract Element from nested GroupElement. I can not find any code sample for that. Please refer to one or point me in to right direction, how to do that. It sounds ...
3
votes
2answers
293 views

.net Geoprocessing object: 000816: The tool is invalid

I am currently trying to build an ESRI Addin that supports multiple versions of ArcGIS (10.0 & 10.1). The project targets .net framework 3.5 and is built in the ArcGIS 10 environment. The ...
1
vote
1answer
87 views

Is it possible to disable an Extension Addin on Startup

I am currently creating an Addin, that can be toggled on/off from the extension manager. What I want to do is when ArcMap is being loaded, to check the license level being used (which I have done), ...
1
vote
0answers
120 views

What is a good way to cluster point data by item counts in ArcGIS?

I have point features that have as an attribute an asset count. For instance, point A may have 3 assets whereas point B may have 300 assets. My goal is to have each point be in two categories: ...
1
vote
0answers
37 views

What is the difference between a Custom Layer & a plugin data source?

You can add custom data to ArcGIS desktop in two different ways: Plug-in Data Sources Custom Layer What is the difference between these two? I'm looking at the possibility of creating an editable ...
1
vote
1answer
146 views

“The Fields collection did not contain an expected geometry field” (ArcGIS 10)

I am writing a fairly simple application to build simple polylines. I got most of the application working for the most part, but this part is just baffling me to no end and there is nothing I can ...
1
vote
1answer
91 views

ArcGis: Rotated grids and cell size

I am using ArcObjects, namely RasterGeometryProc, to apply rotation on grids. The transformation works fine. However, when looking at the grids properties in ArcGis, the cell sizes has changed. ...
1
vote
1answer
97 views

Create Feature and store to different FGDB

Create Feature and store to different FGDB I'm creating a feature and I want to store it to a specific geodatabase. At the moment I'm using feature.Store() but it's not storing it to where I want. How ...
1
vote
0answers
210 views

Drawing Curves/Bezier Lines with ESRI WPF Runtime

I'm looking for some pointers on how to draw a curved line or bezier line in WPF runtime. The WPF runtime sample application has a drawing mode for straight line, polyline, and freehand. However, no ...
0
votes
0answers
60 views

Dateline wrap issue in ArcObjects / ArcGIS Engine

I am having issues manually creating a polygon that crosses the dateline (long=180). My x coordinate goes from 178, 179, 180, -179, -178, etc. Anyway, can anyone give me some guidance? I am using ...
0
votes
0answers
49 views

AO GP tool: Using .sde files as input in a DEWorkspaceTypeClass parameter

I got a tool where the user selects a workspace for storing feature classes, defined as follows: IGPParameterEdit3 parameter = new GPParameterClass(); parameter.Name = "out_workspace"; ...
0
votes
0answers
25 views

INAStreetDirectionsAgent.Execute fails with ArcGIS 10.1

I am working on an extension for ArcMap using the INAStreetDirectionsAgent class to generate the itinerary directions and display them. The example given in the documentation was followed step by ...
0
votes
1answer
114 views

ArcGIS Custom Toolbox crashes ArcMap 10.0

I have prepared Custom ArcToolBox using ArcObjects in java. It was working fine before though was giving NullPointerException but this something java related error and that is fine. Later I have ...
1
vote
2answers
518 views

Objects in this class cannot be updated outside an edit session

HI i am trying to update my feature class with some new parameters using IEditWorkSpace, Following is my code --- IWorkspaceFactory workspaceFactory = new AccessWorkspaceFactory(); IWorkspace ...
0
votes
2answers
200 views

Destop application using arcobjects library

I develop a destop application with following environment - 1) Java jdk version 6 update 25 (for 32bit ). 2) Java Arcobjects Library. 3) Window Xp. Its working smoothly on 32 bit Computer , my ...