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

learn more… | top users | synonyms (1)

2
votes
1answer
429 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 ...
3
votes
1answer
449 views

Draw text in PageLayoutControl in OnAfterDraw?

I have a PagyLayoutControl in a print preview dialog. It shows the same extent and layers as the master MapControl. Both controls are not syncronised, because changes made in the PageLayoutControl ...
0
votes
0answers
16 views

ILineResequencer implementation [closed]

I look for a way to sorting a set of lines and stumble upon this ILineResequencer. Base on the description, it does seem to be able to solve my problem but due to lack of example (in API ...
0
votes
1answer
30 views

How to set datum in GPS connection setup window in ArcFM Viewer for ArcGIS Engine Application

I have a custom application based on ArcFM Viewer for ArcGIS Engine. I want to use an external GPS receiver with that application and the setup window does not let me choose a different geographic ...
2
votes
0answers
51 views

“Geometry cannot have Z values” exception in ArcGIS Engine

I'm trying to put a list of point features (selected points) into a new FeatureClass. but when I add them to my FeatureClass I get the "Geometry cannot have Z values." exception on the line ...
2
votes
1answer
250 views

Adding INDEX to IFeatureClass with ArcGIS SDK for Java?

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
1answer
42 views

Putting features (IFeature) into ifeatureclass with ArcGIS Engine?

I am trying to get the selected features from axMapControl and put them in a new feature class. I can get the selected features but when i'm trying to put them in a IFeatureClass and then cast it as ...
3
votes
2answers
2k views

Zooming & panning to selected objects using ArcGIS Engine?

I'm writing a program using ArcGIS Engine, and need to zoom & pan into the map to show the selected content. Loading and displaying the map does work using something like this: AxMapControl ...
1
vote
1answer
10 views

Save IAGSServerConnection connection properties on MXD

I added some server layer from a server connection to mxd. I want to save connection in MXD to don't missed connection from layer when i reopened my MXD. I had bellow code to connect a server ...
4
votes
1answer
409 views

Importing external bookmark (*.dat) file using ArcGIS Engine?

Does anyone know how to use ArcObjects (specifically ArcGIS Engine for me) to import a bookmark (saved as a .dat) that was created and saved externally using ArcMap? I have an ArcGIS Engine ...
4
votes
1answer
304 views

Closing MeasureTool Window

I'm activating the built in ArcGIS measure tool using the following code: ControlsMapMeasureTool measureTool = new ControlsMapMeasureToolClass(); measureTool.OnCreate(_axMapControl.Object); // set ...
0
votes
1answer
468 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(); ...
5
votes
2answers
416 views

Enabling MapTips in ArcGIS Engine using ArcObjects?

My organization is working on a new version of our software using ArcGIS Engine 10. Previous versions of the software (running on ArcGIS Engine 9.3) displayed MapTips fine as long as they were enabled ...
3
votes
2answers
3k views

Labeling Selected Features Only using ArcGIS Engine?

I've been labeling using the LabelEngine and simple expressions and it is working for every layer. I want to offer the option of labeling only selected features and thought it would be this simple: ...
5
votes
4answers
380 views

Creating universal ArcGIS 'Current tool' property?

I have a base tool class which handles 90% of my custom logic, but some tools need to set themselves as the current tool. The operations between ArcGIS Engine's IToolbarControl and ArcGIS Desktop's ...
0
votes
0answers
21 views

“A fatal error has been detected By JVM” when I tried to open a CAD file twice

I want to use ArcEngine to read some CAD files on the server and I can not shut down the program. Now I meet the problem that when I open a FeatureClass of CAD file on the second time, A fatal error ...
1
vote
0answers
27 views

Scale Selection Symbols with Reference Scale using ArcGIS Engine?

With an ArcGIS Engine application, I am trying to figure out how to have the Selected Symbols scale with reference scale when selected using ArcObjects. They are currently not scaling correctly in ...
0
votes
0answers
34 views

How to find NetworkAnalysis extension with ArcObjects?

I'm using ArcGIS 10.0 My code: IAoInitialize init = new AoInitializeClass(); var a= ...
6
votes
2answers
922 views

Display map scale (like 1:20.000) next to ScaleBar

In my PageLayoutControl I add a ScaleBar. Additionaly I like to show the map scale/ratio (e.g. "1:20.000") next to it, but didn't find a way to achieve this with the ScaleBar. Am I missing something ...
2
votes
1answer
1k views

How to get cell size of raster shown in ArcMap using ArcGIS Engine and C#?

As the figure shows above, after classifying the raster, we can get the cell size by opening the raster Properties to its Source tab, and we can calculate the area by mutiplying the cell count and ...
2
votes
1answer
186 views

Unchecking items in IToolbar?

I currently have an app with two menu bars. One being the AxToolbarControl in a UserControl and one in a separate menu bar containing in-house stuff. I currently have the issue where if I select ...
7
votes
2answers
493 views

Exporting ArcGIS plugin data source to Shape?

I have implemented a plug-in data source for ArcGIS. In my case, the format read by the plug-in may contain point, line and polygon features within the same file. In my implementation the data file ...
7
votes
3answers
1k views

E_FAIL when calling ESRI.ArcGIS.Carto.IImageServer.Initialize()?

I am using ArcGIS Engine and Developer Kit 10 on Windows 7. Specifically, I'm writing an ArcObjects console program using Visual C# Express 2008. I am attempting connect to an image server via a URL ...
7
votes
1answer
281 views

Does ArcPy work for Engine or Server the same as Desktop?

I am contemplating a project where there is not going to be access to ArcGIS Desktop and wondering if Engine and/or Server install ArcPy and Python? Is this possible? Does anyone have an example?
3
votes
0answers
34 views

Is possible to create a shapefile with a specific encoding using ArcObjects?

I have the code to create a shapefile programmatically, something like this 28310 - Create a new empty shapefile programmatically moreover I am able to put the data from a layer in it. It works ...
3
votes
1answer
473 views

Runaway memory usage with Event Layers in ArcGIS Engine and Desktop?

I have an ArcEngine application, based off an MXD with an axMapControl. Several of the layers in the map are event layers built with XY data in a SQL table. It has routing info applied from a ...
2
votes
1answer
791 views

Snapping lines to points

I have a layer containing a vector 'Line 1', that originates at point 'A' on a second layer. I also have point 'B' on a third layer. I want to create 'Line 2' that has the same angle and length of ...
2
votes
1answer
820 views

Snapping Polygon vertices to Point features using ArcGIS?

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 ...
3
votes
2answers
419 views

Not scaling and/or rotating when exporting map using ArcObjects?

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 ...
0
votes
0answers
32 views

ArcGis Engine app crashes when map contains class extension

I have an ArcGIS Engine 10.1 app. It has been running fine. It opens an .mxd on initialization. The .mxd contains 3 feature classes that have class extensions applied. I just tried to make a change ...
2
votes
1answer
313 views

Printing semi-transparent elements using ArcObjects?

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. ...
3
votes
1answer
52 views

IApplication in AxMapcontrol (FindExtensionByCLSID in ArcEngine Application)

I have a small problem. I have begun rewriting code to work with an AxMapControl. Now at first this seemed to work and I was able to get a lot of code converted and working with the AxMapControl, but ...
0
votes
1answer
89 views

Prerequisites for running Visual Studio 2012 ArcGIS desktop application exe on any machine don't have ArcGIS installed

Scenario: i created an exe application using Visual studio 2012 ArcGIS Map Control Application. When running this application on any other machine which don't have ArcGIS installed on it. Its ...
3
votes
1answer
321 views

How to manipulate OpenStreetMap schema to be useful in ArcGIS applications?

I have a shapefile of OSM data. I plan to use the data for an ArcGIS Engine application, and I was wondering if there are any existing solutions to getting the data's schema into your typical GIS ...
3
votes
1answer
742 views

Duplicate ObjectID in ArcSDE Table

After making a check in from an arcpad AXF file, i notice that there's duplicate ObjectID records. This ArcSDE PostgreSQL table is versioned and edited by Axf checkins and a .net engine application. ...
1
vote
1answer
103 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 ...
0
votes
0answers
23 views

Exception: Objects in this class cannot be updated outside an edit session

I meet a Exception. When the code run at pWorkSpaceEdit.StartEditing(true); then the exception was threw and Visual Studio showed a word "Objects in this class cannot be updated outside an edit ...
3
votes
1answer
317 views

Access Trimble GPS on ArcGIS Engine App

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 and tables). I'm hoping to use ...
1
vote
1answer
687 views

Unable to load DLL 'ArcGISVersion.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I recently migrated my desktop from ArcGIS 10.1 to 10.3.1 and visual studio from 2010 to 2013. I am now getting a problem trying to run an Engine application. It builds fine but when I try to debug it ...
2
votes
1answer
271 views

Error in Symbol Selector Sample for ArcGIS Engine?

I am stuck at running this ArcGIS Engine Sample code, when I get: COM EXCEPTION WAS UNHANDLED BY THE USER I'm looking for any working example of Symbol Selector. I'm working on XP SP3, ArcGIS ...
2
votes
1answer
35 views

JAVA GIS create shapefile from FeatureLayer

The title kind of saids it all. I am attempting to export a featurelayer to a shapefile and am not having any luck finding a library which includes this functionality or relevant code to see where to ...
0
votes
0answers
67 views

hDC of DynamicDisplay is always zero

When I try to access the hDC of my dynamic layer the result is always 0. Is there a way to get a non zero hDC from a layer that inherits BaseDynamicLayer? public class BalloonCalloutLayer : ...
1
vote
1answer
56 views

Prompting Dialog Box to Have User Enter Information without ArcGIS Engine?

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 ...
2
votes
2answers
293 views

ArcGIS standalone application deployment

I'm trying to build a deployment for a ArcGIS standalone application. I'm using ArcGIS 10 Engine controls in a WPF application with desktop and spatial analysis license. I'm using classes that only ...
2
votes
4answers
3k views

Where can I download ArcGIS Engine 10?

Can anyone help me find the link to download ArcGIS Engine 10? I have tried to find it, but unfortunately I have not found it.
1
vote
1answer
170 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
51 views

Converting coordinate system of feature layers and datasets programmatically

I am trying to convert coordinate system of featurelayer and datasets using ESRI.ArcGIS.DataManagementTools.Project . The tool works fine in ArcCatalog . I have doubts about the parameters i am ...
7
votes
1answer
1k views

Open source GIS engine that is similiar to ArcGIS Engine?

If I was to develop a mapping application to be a standalone windows app, is there an open source GIS engine that is somewhat comparable to ArcGIS Engine?
2
votes
4answers
2k 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 ...
0
votes
0answers
28 views

Map Control Didn't Show Editing Result

I have created an application with data from SDE Geodatabase (Oracle). I've registered it as version without tick on the option to move edits to base. Anyway, in my application there is a part where ...