ArcGIS Engine is for embedding GIS data, maps and geoprocessing into desktop and mobile applications.
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
27 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
60 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
51 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
1answer
85 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
42 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 ...
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
28 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 ...
1
vote
1answer
33 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
57 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
49 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
103 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
45 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
173 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
89 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
240 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
52 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
30 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
161 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
71 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
455 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
63 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
162 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
117 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
0answers
115 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 ...
0
votes
0answers
107 views
How to Reclassify Raster using ArcGIS Engine?
i'd like to create an application that reclass a raster . user enter his/her range of class in a listbox . the application calculate minimum and maximum of band value . the problem is that i couldn't ...
2
votes
1answer
73 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 ...
2
votes
3answers
1k 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
253 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
565 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
53 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 ...
3
votes
2answers
204 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
154 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
250 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
47 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 ...
0
votes
0answers
75 views
Why is the layer list in the Snapping Settings dialog empty?
I am using ArcGIS Engine and would like to display snap settings to the user. I'm using the Snapping Settings dialog (esriControls.ControlsEditingSnappingCommand) to provide the ability to choose ...
-2
votes
1answer
191 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 ?
6
votes
1answer
477 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
79 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
297 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
211 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
174 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
408 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
359 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
29 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
190 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
220 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
740 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
852 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 ...
0
votes
1answer
122 views
how to save layers in combobox
I'd like to develop an app so that user introduce the layers in comboboxes ( layers are slope,aspect,elevation etc) then user use these layers for processing in another form(processing form) and dose ...