-3
votes
0answers
31 views

How to edit a specific layer on the map? [closed]

I want to edit only one specific layer on the map, this is my code : public static void Start(IEngineEditor _engineEditor, IMapControl4 map, string targetLayerName) { //If an edit session has ...
2
votes
1answer
28 views

Access CommandItems programmatically with ArcObjects in ArcGIS Engine application

I'd like to programmatically execute a command in my ArcGIS Engine application with ArcObjects. I know in Desktop I would do it like this: ESRI.ArcGIS.Framework.ICommandBars commandBars = ...
1
vote
1answer
38 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
116 views

Converting VB code to C# for coverting Polyline to polygon

It is a while that I am stuck at converting polylines to polygon and I couldent find any solutions into it.I have tried some diffrent methods like using ...
0
votes
0answers
40 views

Zoom to selected feature reducing MapFramesize using ArcGIS Engine and C#?

I am trying use the the following code for zooming to a selected feature using ArcEngine 10.2.1 and c#. It is performing, but it is reducing the Mapframe to the feature size. Which was not happening ...
0
votes
3answers
93 views

Get Coordinates of selected item on map using ArcGIS Engine

I have IFeatureSelection. Then select from it items by QueryFilter. How can i get coordinates of selected item? (If there are more then 1 object, then select first)? Selected item is Point in ...
1
vote
2answers
101 views

Get IFeatureLayer from ILayer using ArcGIS Engine?

I try to select object from layer by name. I think i found sollution here. First problem i got is that i use GroupLayer. So i made research how to get subLayer from GroupLayer. Sollution is here. Now ...
0
votes
1answer
89 views

How to call a GP service from ArcObjects in .NET using ArcGIS Engine 10.2?

I published and successfully accessed a GP service in ArcMap 10.2, but I couldn't make it work in my .NET program using ArcObjects 10.2: IGeoProcessor gp = new GeoProcessorClass(); ...
1
vote
0answers
87 views

Is it possible to run ArcGIS Engine 10.2 in Java 7?

Does anyone know if it's possible to run ArcEngine 10.2 in Java 7 ? Currently in Java 6, I need to use both ArcEngine 10.2 and Java 7 functions in the same standalone program. (I don't talk about ...
1
vote
0answers
93 views

ArcEngine BaseTool derived classes stops receiving OnKeyDown messages

I have two BaseTool derived classes in a custom ArcEngine application. Both tools do the same thing: start a INewBezierCurveFeedback on a first mouse click and then stop it and return the resulting ...
0
votes
0answers
102 views

GPS tracking in ArcGIS Engine application

Is there an ArcGIS api for ArcObjects /.Net that I can use to build a function in an ArcGIS Engine 10 application that allows me to track a GPS signal and display the movement plus lets me export and ...
0
votes
0answers
71 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 ...
0
votes
0answers
61 views

Arcobjects/Arcgis Engine — geoprocessing within a buffer?

I have a point layer and a polyline layer (each contains more than 100k records), I would like to process the polyline layer within point buffer zones. For example, for each point in the point layer, ...
0
votes
0answers
55 views

How to convert raster to polygon that I classify in C# ArcGIS engine?

by " IMultivariateOp.MLClassify" method,I just can classify the raster into many classes,but how to convert each of them to polygons,and give them properties like names? I need some code in C# in ...
1
vote
1answer
81 views

How do I perform a raster overlay analysis in ArcObjects?

Using the "IMultivariateOp.MLClassify" Method, it will create a field call "Count",which can be used for calculating area, as shown in the figure below: But now I want to calculate the increase ...
-1
votes
1answer
174 views

ArcGIS Engine--load mxd file to map control or pagelayout control?

When load a mxd file using ArcGis engine,how to automatically detect whether it's saved in mapcontrol or pagelayout control?Thanks!
3
votes
2answers
292 views

Why unable to edit ArcSDE from multiple computers on LAN using custom ArcGIS Engine application?

I cannot edit an ArcSDE database from multiple computers on a LAN network using a custom ArcGIS Engine application, I have tried both versioned and non-versioned feature classes, but they cannot be ...
3
votes
1answer
70 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 ...
1
vote
1answer
111 views

Importing Bing Maps into application using ArcGIS Engine?

I'd like to create an application using ArcGIS Engine 10. I want to import Bing Maps into my application as base map. I surf the internet but couldn't find any tools or API to import these maps to ...
3
votes
1answer
979 views

Difference between ArcObjects SDK for Java and ArcGIS Runtime SDK for Java and ArcGIS Engine

What is the difference between ArcObjects SDK for Java and ArcGIS Runtime SDK for Java and ArcGIS Engine. I have ArcGIS Desktop 10.1 on my laptop. What do I need to create ArcGIS desktop applications ...
0
votes
0answers
62 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 ...
3
votes
2answers
620 views

How can I split a polygon into its sub polygons?

I am trying to define user generated polygons with Esri's ArcGIS Engine 10.1. Here's how it works at the moment: User clicks on the map and creates points User connects the points I have a ...
1
vote
0answers
92 views

How to create FeatureLayer without Legend in Table Of Contents (TOC) using ArcGIS Engine?

So what I am trying to accomplish is having a IGroupLayer that contains an IFeatureLayer and in the table of contents (TOC) there would be no + next to the feature layer (i.e. there is no legend). So ...
1
vote
2answers
587 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
0answers
87 views

How to get The character spacing from a ITextElement arcgis engine 9.3 C#

i have a problem.I can set character spacing to a IElement as ITexElement like : TextSymbolClass pTextSymbol = new TextSymbolClass(); pTextSymbol.CharacterSpacing = 10 ; //etc ...
4
votes
2answers
481 views

What is needed to develop an ArcGIS application? (C#?)

I am trying to fully understand the genius that is ArcGIS. I want to develop a piece of software that uses the engine. This application needs to import user data (GeoTIFF, etc) and allow users to put ...
1
vote
2answers
136 views

cast from IFeatureClass to ISchemaLock

I'm programming with the ARCGIS Java SDK, in Eclipse. I need to cast an IFeatureClass to an ISchemalock. This cast is supposed to be allowed. There is an example of this cast in: ...
1
vote
0answers
130 views

add an INDEX to an IFeatureClass with ARCGIS Java sdk

I want to add an index to a feature class. To do so, I used the very short and complete example given there: ...
2
votes
2answers
687 views

ComException -2147467259 Arcgis 10 VB.net +Geoprocessing

I have a problem when i execute GeoProcessing in ArcEngine 10 with VB.net i had create the toolbox : Models.tbx and Model Process : disolveRoute with 2 parameters My Function is : Sub ...
4
votes
5answers
557 views

Intersection of two lines tool

Is there any way to make intersection of two lines tool with extending lines option, so the result would be a point. the hardest part is when the lines have to be extended to intersect. the tool will ...
2
votes
1answer
178 views

Error in Symbol Selector Sample

This question can seems to be n00b, but really im stuck at running this Arcengine Sample code, then i got this error i'm looking for any working example of Symbol Selector. i'm working on XP SP3, ...
1
vote
2answers
78 views

How to edit the position of a banner text's pointer?

I have build an ITool where one can add text (ITextElement) to the map. The user can choose the symbol from the ESRI symbology. There one can choose a symbol called "Banner Text" which looks like this ...
1
vote
1answer
349 views

Problem Initializing License for ArcEngine application

I have written an ArcEngine application using vb.net and Visual Studio 2010. When I initially started the code, I indicated an ArcInfo license was available during the project setup. This worked ...
2
votes
4answers
552 views

Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?

I try to add a single buffer around the shape of the selected features. So I step through each selected feature and add it's shape to a GeometryBag. With ITopologicalOperator2.ConstructUnion I create ...
1
vote
0answers
62 views

IMapControlEvents2.OnKeyDown not hit on Alt + key

I want to catch the Alt key plus an addionally hit key in the MapControl's OnKeyDown. I did already set MapControl's KeyIntercept to esriKeyIntercept.esriKeyInterceptAlt but the event handler doesn't ...
1
vote
0answers
121 views

How to show size/length of sketch while creating new feature?

While adding a new feature to a feature layer I like to show the size (area)/length of the sketch so that the user has a better feedback while placing the vertexes. So I hook up MapControl's ...
2
votes
0answers
236 views

How can I free esriControls.ControlsSelectTool? Or is it leaking memory?

In my application I have isues with unfreed memory. After several tries I broke down the problem to a simplified WPF project. It opens a simple System.Windows.Window with a Button, which starts the ...
5
votes
3answers
4k views

Remove lock on feature class

When i try to delete a feature class , after or during the use of an Arcgis engine app which uses the same feature class i got an error concerning the lock , so i can't get ride of this lock until i ...
1
vote
1answer
1k views

How do I add TIFF files to one layer/raster catalog?

We have several TIFF images (already tagged with position information) we want to load as a single layer into the map. It's the first time I dig into this raster/topology thing, but at least I managed ...
4
votes
2answers
840 views

Running ArcPy script from ArcObjects?

the standard method requires to run ArcPy script in command line, i've struggled with it to run but without a result, i can import arcpy, set the workspace to the geodatabase path and describe the env ...
3
votes
2answers
294 views

ArcMap: Not scaling and/or rotating when exporting a map

I am writing a console application using ArcGIS (engine or desktop). I'm trying to rotate and scale a map based on a polygon, and I'm not having any luck at all. With some tinkering, I can usually do ...
2
votes
1answer
457 views

Snap Polygon vertices to Point features

I have a set of polygons drawn using an inaccurate GPS PDA. these polygons are sharing nodes. after post-processing GPS data to get accurate coordinates i have a set of all the nodes, then i have to ...
1
vote
0answers
74 views

Is there a way to reshape graphics in ArcEngine?

Our GIS-tool should allow the customer to reshape self drawn (polygon) graphic elements, like one can reshape features in edit mode with the Editor. Is it possible to reshape graphic elements? If ...
7
votes
2answers
522 views

Is it a bad idea to hold references to ArcObjects inside business classes?

According to best practices is it a bad idea to cache features and geometries inside business objects? If it is bad, what is the alternative way? References to features may be replaced with their ...
2
votes
1answer
336 views

How to use multiple graphics layers in ArcEngine?

My organization is working on an ArcEngine application that displays a GPS cursor for the user's current position. We are using custom-made GPS code since ESRI's is buggy in ArcGIS 10. Whenever the ...
2
votes
0answers
639 views

Make a Join Permanent

So I've been using a dynamic join (IRelQueryTable to attach a SQL query to a feature layer) but now I want to make a permanent (or semi-permanent) join. How do you go about doing this in ArcEngine ...
1
vote
4answers
1k views

AxMapControl: How to set map extent in ArcObjects?

I have a stand-alone application written in C#. I want to be able to save and restore the current map view (extent) that the user sees. I assumed that it would be as simple as saving the active view's ...
-2
votes
1answer
129 views

How can I access the AddShapefile method in HookHelper?

I'm new to ArcEngine and ArcObjects. I'd like to develop an extension for ArcMap where I have to use IHookHelper instead of AxMapControl. I am looking for the AddShapefile method, which is available ...
0
votes
1answer
696 views

how do i calculate polygon area with arcobjects?

i'd like to develope an application with arcengine that can calculate area of a polygon . i wrote the below code to select a polygon in combobox for (int i = 0; i < pmapcontrol2.LayerCount; ...
4
votes
1answer
561 views

Need help with Merge GeoProcess task in ArcEngine (C#)

Help! Having the hardest time getting the correct syntax when adding layers as gp parameters to call the Merge_management GeoProcessing Task. Below is just one of MANY, MANY ways I have tried with ...