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

learn more… | top users | synonyms (1)

1
vote
1answer
117 views

ArcGIS IOS not displaying all layers of a TPK file

I have an ArcGIS tpk file with 12 layers in it (Created a Tile package with 12 levels of detail). I used the tpk file as a local tiled layer and added it to my mapView but when i debug it, it seems ...
1
vote
2answers
132 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
121 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: ...
0
votes
0answers
85 views

Create Layer including drawing objects

I draw some polylines on map. How create new layer with this features? Map and Polylines must be in different layers. public void DrawPolylineUsingInputGeometry(IActiveView activeView, ...
1
vote
0answers
156 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() ...
2
votes
1answer
126 views

Why does a raster in Gauß-Krüger has a little offset to a shape in UTM?

I have raster data (TIFF files) where I think it's spatial reference is in Gauß-Krüger ("DHDN_3_Degree_Gauss_Zone_3") and some shape files in UTM ("ETRS_1989_UTM_Zone_32N_8stellen"). As you can see in ...
2
votes
2answers
652 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 ...
2
votes
0answers
236 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 ...
8
votes
2answers
896 views

Is there workaround for very slow ArcSDE 10.1 data display

I'm suffering from very slow viewing data of and ArcSDE database from an Arcgis engine application, the SDE database is in localhost so there's no network issues. but i still don't know the reasons ...
4
votes
5answers
534 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 ...
1
vote
1answer
46 views

Prompting Dialogue Box to Have User Enter Information? Without ArcGIS Engine maybe?

Working with the ArcGIS family v10.1 on Windows 7. So, I have this vision for a GIS project that does the following: User opens up ArcGIS Explorer (ideally) or ArcMap (still fine), or I guess even ...
1
vote
1answer
82 views

OGC webservice engine like geoserver in .NET

In java there are a lots of third part libraries which can used to create OGC webserivce like wcs/wfs/wms etc. However I have not found anything similar in .NET. We are currently using ArcGIS ...
2
votes
0answers
85 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
1answer
175 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
75 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
338 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 ...
0
votes
1answer
163 views

Life cycle of an AxControls - license missing in some point of the execution

DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far… Some knows the lifecycle of an AxControl (AxTOCControl) ? Why this question??? ok , lets put in this way.....I have a complex ...
2
votes
4answers
526 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
96 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
58 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 ...
3
votes
1answer
225 views

Access Trimble GPS on ArcGIS Engine App

Hopefully this isn't too obscure. I have a Trimble Yuma tablet running Windows 7. I need to build an application that allows viewing of points on a map and editing of a geodatabase (feature layers ...
1
vote
0answers
119 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 ...
0
votes
0answers
585 views

Retrieving the COM class factory for component with CLSID

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

SDE 10.1 Layers Not Loading in ArcGIS Engine Application

I have an ArcGIS application that works great when loading layers from SDE 10.0 but fails when trying to load the layers when they're pointing to a SDE 10.1 server. The only difference is the layer ...
2
votes
0answers
222 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 ...
0
votes
1answer
189 views

How to delete an image from axMapControl component?

I have a problem in arcgis c#. I am using Arcgis axMapControl component and adding image to it but I can not delete image when wanted to delete from axMapControl component... I have get a exception ...
2
votes
1answer
112 views

ArcEngine: Drawing graphics returned from BackgroundWorker

My application is drawing graphics objects on the map(as simple as adding IElement to GraphicsContainer). When I create graphics elements and add them to GraphicsContainer in BackgroundWorker DoWork ...
4
votes
2answers
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 ...
0
votes
1answer
374 views

how to list table rows of a layer in a listbox?

I'm new in using c# and Arcengine . i would like to list table rows of a feature in a Listbox like select by attribute in ArcGIS such that when i click a button, table rows list in a listbox . i use ...
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 ...
1
vote
0answers
71 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 ...
4
votes
2answers
798 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
290 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 ...
1
vote
1answer
217 views

How to print semi-transparent elements?

I highlight some features with a semi transparent color via an ILayerExtensionDraw. When I print the ActiveView of the PageLayoutControl with IPrintAndExport the highlightning is not on the printout. ...
2
votes
1answer
437 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
71 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 ...
-2
votes
1answer
234 views

I have a shapefile containing three types of polylines, how can I color each type with different colors? [closed]

I have a shapefile containing three types of polylines, how can I color each type with different colors ?
7
votes
1answer
767 views

Open source engine that is similiar to ArcEngine

If I was to develop a mapping application to be a standalone windows app, is there an open source engine that is somewhat comparable to ArcEngine?
2
votes
1answer
81 views

Does ArcEditor use ArcEngine?

If I use ESRI ArcEditor / ArcView / ArcInfo is it using ESRI ArcEngine under the hood?? I think the answer is no, but please enlighten me.
7
votes
2answers
508 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
331 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 ...
1
vote
2answers
271 views

How to save and load elements to/from a layer in correct z-order?

I copy elements from one layer to another like this: IGraphicsContainer container = _mapControl.Map as IGraphicsContainer; IGraphicsContainerSelect containerSelect = container as ...
1
vote
2answers
1k views

Select and highlight features

I have 2 ESRI feature layers on my map; points and polylines. I can select them just fine either by rectangle or polygon. What I am missing is how to highlight (larger size and different color) the ...
2
votes
0answers
625 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
0answers
33 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
1answer
303 views

How draw a Rectangle with INewRectangleFeedback?

I´m developing in ArcGIS Engine and my question is how to draw a rectangle with INewRectangleFeedback interface. Here is my code but it does not create the rectangle. If someone could help me it would ...
3
votes
2answers
334 views

Slow FeatureClass Sort

I am passing in a geofeatureLayer to a method that creates a UniqueValueRenderer. I am using the following code to sort that renderer so my values will be in some kind of order. This seems very slow, ...
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 ...
7
votes
5answers
2k views

What are standard scales, or zoom levels, for map applications?

I am working on an ArcEngine program that is restricted to a set of scales. It currently has: 1:187.5 1:375 1:750 1:1500 1:3000 1:6000 1:12000 1:24000 1:50000 1:100000 I don't think there's ...