ArcGIS Engine is for embedding GIS data, maps and geoprocessing into desktop and mobile applications.

learn more… | top users | synonyms (1)

3
votes
0answers
246 views

IUniqueValueRenderer on Polyline and Points made my Features all invisible

I am currently using IUnique value renderer like this: foreach (string nodeType in nodes) yield return new KeyValuePair<string, ISymbol>(nodeType, CreateNewSymbol() ); public static ...
3
votes
0answers
267 views

ArcObjects - WFS:

Hy, has anybody an example concerning accessing data from a WFS server by using the DataInteropability in ArcObjects? I'm getting the right field definistion, but don't know how to read the data. ...
3
votes
0answers
1k views

How to set margin on PageLayout in ArcGIS Engine?

When we create a PageLayout from the A4 Landscape template and print the layout on a pinter with A4 Landscape paper we get four pages instead of one. We are using the IPage.PageToPrinterMapping = ...
2
votes
0answers
203 views

Problem when executing Dissolve method in ArcEngine

I'm always having a problem in GP.execute() when trying to execute this method. Here is my code: Friend Function DissolveFeatures(ByVal pInFLayer As ESRI.ArcGIS.Carto.IFeatureLayer, ByVal ...
2
votes
0answers
78 views

Unable to retrieve custom extension state from a document in ArcEngine

I created a custom extension in ArcMap 10.1 which implements the IPersistVariant interface. State related to the extension features is persisted and retrieved via the Load and Save methods. ...
2
votes
0answers
106 views

Migration Issue With ArcGIS 10 in ExportOperationClass

I am migrating my Application built in Version 9.3.1 to version 10 In my code I am getting execption: {"Retrieving the COM class factory for component with CLSID {4147A362-EFC4-11D3- ...
2
votes
0answers
196 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 ...
2
votes
0answers
558 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 ...
2
votes
0answers
123 views

Remove Layer Labels

public void LabelOff( IActiveView view, IGeoFeatureLayer geoFeatureLayer ) { IAnnotateLayerPropertiesCollection annotationProperties = geoFeatureLayer.AnnotationProperties; ...
2
votes
0answers
327 views

Rendering raster layer from DTED based on height color map

I have a raster layer that was create from DTED file (dt1 specifically), created by the following code: var rasterLayer = new RasterLayer(); rasterLayer.CreateFromFilePath(dtedFilePath); The dted ...
2
votes
0answers
216 views

How to turn off tool tip for the Identify button?

When using the esriControls.ControlsMapIdentifyTool tool, the (i) button, whenever you click it, it says "Click on or drag a box over a feature and place on the map where you want to identify" in a ...
2
votes
0answers
304 views

How to Create Custom ZoomIn Button that is Windows Tools Button with Custom Cursor?

I want to create large zoomin Button without toolbarbutton. I created a 'Zoomin Script' on axMapContorol. It worked is fine but I can't set cursor. My code is as follows: IMapControl3 mapControl = ...
1
vote
0answers
12 views

How to deploy ArcGIS Engine (Standalone) with License Agreement?

I've completed a standalone app in ArcGIS Engine and in the process of deploying it, but I have a license agreement and supposed to add a licenseagreement.rtf file format in the properties menu while ...
1
vote
0answers
22 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
57 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 ...
1
vote
0answers
143 views

How to implement Google Earth style zoom in/out and pan animation in ArcGIS Engine applications?

I am developing an application using ArcGIS Engine 10 and the C# language. I wish to add some more animation capabilities into my application. In other words, I want to add animation to zoom in, ...
1
vote
0answers
82 views

How can i import Google map or Bing map to my application using ArcEngine?

I'd like to create an application using ArcEngine 10 . I want to import google map or bing map to my application as base map. I surf in the internet but couldn't find any tools or API to import these ...
1
vote
0answers
76 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
0answers
108 views

Why use C# rather than Java API of ArcGIS Engine (or vice versa)?

I'm going to lead a development of an ArcGIS Engine application and facing the choice mentioned in the title. We have all licenses to develop our application in C#, so Microsoft's licences are out of ...
1
vote
0answers
72 views

joins relates in arcgis 10 using vb.net

i have Tow tables in geodatabase : parcel and person 1 or + parcel can have 1 or + person (relationship is pll_person) using vb.net i can display all the parcel with annotation "id" what i want ...
1
vote
0answers
93 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: ...
1
vote
0answers
128 views

Error Input FeatureClass Arcgis 10 VB.net And 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 diso() ...
1
vote
0answers
84 views

Creating a custom, local Route Task

I'm trying to replicate something similar to the ArcGIS WPF Runtime SDK (C:\ArcGIS\WPF1.0\SDK\Samples\Sample Application\Sample Application.exe) "Routing with Barriers Online" sample with two major ...
1
vote
0answers
55 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
112 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 ...
1
vote
0answers
67 views

Why are the special fonts in a .mxd-project not used/found?

I have a .mxd-project file from a customer which uses special fonts (TrueType). I installed these fonts in Windows but my application (mostly a MapControl) doesn't use these fonts for displaying. I ...
1
vote
0answers
68 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 ...
1
vote
0answers
31 views

Dark Lines in ToolbarMenu

When I do this: // toolsView is the ToolbarControl IToolbarMenu2 toolbarMenu = new ToolbarMenuClass(); toolbarMenu.Caption = "Top"; toolbarMenu.AddItem( new NewDocumentCommand( synchronizer ), 0, 0, ...
1
vote
0answers
159 views

Table not found ConvertFeatureClass how to project?

I get a Table [Streets] not found when I try to convert a shapefile to a geodatabase. I'm thinking I'll try setting the spatial reference like in this post, ...
1
vote
0answers
209 views

How to wrap ArcEngine Sketch Control?

I've created a small API to wrap ArcEngine controls so I can customize them (my own toolbars, my icons, etc) and I'm having problem with the ControlsEditingSketchToolClass control. I basically have a ...
1
vote
0answers
104 views

Set Numeric Format for Class Breaks Labels?

Why doesn't this code change the numeric format of the labels generated when I build this renderer? When I execute the set_Break() this nnumeric format is correctly set in the renderer but I still get ...
1
vote
0answers
110 views

How can I interact with ArcObjects from a windows service?

How can I interact with ArcObjects from a windows service? It appears that I can't work with an AxMapControl object from a console or service, because it complains about the activeX state. How does ...
1
vote
0answers
113 views

What does SetHistogramData do?

I run the following code: IClassify classify = new NaturalBreaksClass(); ITableHistogram tableHistogram = new BasicTableHistogramClass(); IBasicHistogram basicHistogram = tableHistogram as ...
1
vote
0answers
235 views

UniqueValueRenderer and ClassBreaksRenderer configuration

So I can create one of these renderers based on parameters I let the user set. Some parameter combinations either create invalid conditions or no conditions at all - missing data, too many breaks or ...
1
vote
0answers
111 views

Annotation and Renderer Interaction

I have code that creates either a UniqueValueRenderer or a ClassBreaksRenderer and applies it. I also have code that uses AnnotateLayerProperties to set labels. When I create a renderer and then an ...
1
vote
0answers
57 views

Strange Behavior for TOCControl PopupMenu

The sample "TOCControlContextMenu" demonstrates how to display a context menu from the AxTOCControl. When I run this sample and right-click on the TOC control the context menu pops up and remains ...
1
vote
0answers
76 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
65 views

QueryClass samples

Anyone have sample code on the actual use of a QueryClass. I can read the help and figure out how to make one but there is no code demonstrating the usage of a QueryClass.
1
vote
0answers
285 views

Convert FeatureLayerClass to shape file error : Item not found in collection

so following this link http://edndoc.esri.com/arcobjects/9.2/NET/91e3e8a0-d355-43d2-a201-0a8ceb719334.htm I am able to convert my featureLayer into a shape file and export it. However, some how for ...
1
vote
0answers
258 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
301 views

Argument is not a com object : null

With ArcEngine 9.3.1 in java (but I suppose, it's the same in .NET), I'm developping an application which loads a mxd file. This file contains about 20 layers with shapefile, JPG's, TIFF's files. This ...
1
vote
0answers
162 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
33 views

ArcGIS Engine, How to change IMarkerSymbol size in runtime?

I'm using ArcGIS Engine 10 with C# Winforms to visualize some elements on a globe control. All elements are of type IMarkerElement which have symbol of type IMarkerSymbol. Now I want to add two ...
0
votes
0answers
12 views

Binding licence for using ArcEngine

I have just started developing with arcengine and some how I am stick in first steps.. When I want to bind licence to start appplication I get an error which means I haven't any licence..(I think ...
0
votes
0answers
51 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
35 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
41 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
36 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 ...
0
votes
0answers
55 views

How to calculate specified region area with raster in ArcGIS Engine?

By using the "Image classification" tool we can classify the raster image by "supervised classification",but how to calculate their area? I mean, for example, in regard for a produced class '4', how ...
0
votes
0answers
49 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 ...