Questions tagged [arcgis-engine]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Using one FeatureClass to clip another in ArcGIS Engine [closed]

There is a tool in ArcToolBoxs named Identity. Now I Want to write some codes to realize a function like Identity with ArcGIS Engine, so which interface I should use? I do not want use Geoprocessor....
1
vote
0answers
17 views

Who can teach me how to reach the StackProfile method in ArcEngine10.2? [closed]

I try my best to write code to get it. The codes list below, but I think I don't understand these parameters so that I can't run the gp Tool successfully. So I want to consult someone who can tell me ...
1
vote
0answers
42 views

Implementing new Snapping in ArcGIS Engine C# Application?

As I can find, there are two kinds of snapping in ArcGIS 10.2.2: 1- Classic snapping. 2- New ArcGIS Snapping, which doesn't have any specific name as I know. I can't implement the New ArcGIS ...
0
votes
0answers
28 views

Rotating features using ArcGIS Engine?

Using ArcGIS Engine I want to rotate several selected features simultaneously, like the Rotate-tool in ArcMap allows me to do. I haven't found a similar tool yet. Is it even possible, and if so, ...
1
vote
1answer
22 views

Why feature.shape can't use multipoint type?

IPointCollection pointcollection = new MultipointClass(); p.PutCoords(x.lon, x.lat); pointcollection.AddPoint(p); IGeometry geometry = ...
1
vote
1answer
122 views

Using ArcGIS Engine with Background Geoprocessing (64 bit)

Could someone suggest how to use ArcGIS Engine Background Geoprocessing (64 bit) in ArcGIS Engine 10.4 ArcObjects console application? I am using C#, .Net 4.5.2 framework, ArcObjects SDK 10.4 to ...
0
votes
1answer
37 views

Error when using IFeatureCursor to inquire feature

As you can see the other attributes are doing well, but the shape of the feature throw an exception "Shape = "(pFeature).Shape" raises an exception of type "System.Runtime.InteropServices....
1
vote
0answers
115 views

Adding to group layers in loop is slow in ArcGIS Engine?

I am using ArcGIS Engine 10.5.1. I wanted to ask and see if anyone else has encountered this and or found a work around. I have a loop in c# where I am taking a large set of layer files and adding ...
2
votes
1answer
104 views

How to Remove Decimal Points From Measured Grid Label C#

I'm creating a map layout with a measured grid using visual studio and ArcGIS Engine 10.4. I was able to change all the properties for the grid label (color, font and font size), except for the part ...
1
vote
0answers
40 views

Displaying NorthArrow on ArcObjects axSceneControl?

I have standalone application (ArcObjects C# 10.3) uses axSceneControl. How to display on the scene NorthArrow or Directional Arrow or something like that? I found an example for NorthArrow http://...
1
vote
0answers
57 views

ArcGIS Elevation and Z Coordinate

I have standalone application (ArcObjects C# 10.3) uses axSceneControl, I'm trying to get a mouse click point: private void M_axSceneControl_MouseDown(object sender, ...
0
votes
1answer
120 views

Installing ArcGIS Engine Runtime via image copy?

We have about 400 ArcGIS Runtime Engine 10.4.1 licences, where we will install on devices for emergency. These devices already up and running and using ArcGIS Engine Runtime 9.3. The time we are going ...
2
votes
0answers
126 views

Create a shapefile from inMemory workspace

I am trying to convert a raster dataset into a shapefile using IConversionOp.RasterDataToPolygonFeatureData API. See the code below: IConversionOp conversionOp = new RasterConversionOp() as ...
0
votes
3answers
256 views

Building desktop map applications in ArcGIS Engine using Python?

Is it possible to build custom desktop mapping applications in ArcGIS Engine with Python language?
0
votes
1answer
66 views

Porting ArcGIS Engine to ArcGISRuntime SDK for .NET, dealing with interior/exterior polygon rings

I've inherited some code that converts ArcGIS Engine IPolygon4 objects to GeoPackage-compatible objects. The format is very specific in terms of what's permitted with exterior and interior rings. I ...
0
votes
1answer
207 views

Making point move to right or left using ArcObjects?

I want to make a point and the point can move to the right or to the left. To make the point I can handle it , but I can already confused in the movement of the point. This code for draw point ...
2
votes
0answers
245 views

Convert Blob file to an ArcObjects object

I have a blob file which I take from a database. This blob is actually an MXD file. I want to load this MXD to an axLayoutControl (ArcGIS Engine). But for security reasons I do not want to write this ...
1
vote
2answers
76 views

Adding several shapefiles to GroupLayer fast using ArcObjects

I want to add a bunch (several hundreds) of shapefiles (all feature layers) to a GroupLayer. When I add them file by file this takes too long: IWorkspaceFactory pWorkspaceFactory = new ...
1
vote
1answer
62 views

Creating multi-row toolbar in ArcGIS Engine?

I am using ArcGIS Engine 10.1 and Visual Studio 2010 I created a MapControl App, (New Project>Visual C#> ArcGIS>Extending ArcObjects > MapControl Application) and added a toolbar (In MainForm and ...
2
votes
1answer
725 views

ArcObjects 10.0 Add-Ins

I'm using 10.0 because that's what our customer that I'm attempting to build a custom add-in for is using. I am following the "Walkthrough: Building custom UI elements using add-ins" from the ...
1
vote
1answer
63 views

Displaying specific version of geodatabase on AxImapControl using ArcObjects in C#?

I am working on a sample ArcGIS Engine project which tries to map two versions difference on an AxImapControl i created two mapcontrol which first one loads the MXD file and for second one i make a ...
1
vote
0answers
100 views

Control points in IAdjustXForm for georeferencing of raster (ArcObjects)

I am trying to create a georeferencing tool using ArcObjects in VB.Net. Though only a little text is available on this topic in forums as well as from ESRI; I found an esri article that states the use ...
1
vote
1answer
173 views

Highlighting selections using ArcObjects?

I have a problem you want help: In ArcMap 10.2.2 In my code I want to highlight selections but I can't. My code: void drawPoint(IFeature pfeature) { IRgbColor rgbColor = new RgbColorClass(); ...
1
vote
0answers
111 views

Activating new Snapping feature in ArcGIS Engine while editing features and vertices?

I'm working on new Snapping Capability of ArcGIS Engine. I want to use snapping capability using ISnappingEnvironment class while users are editing a feature or moving vertices. I tried IPointSnapper....
2
votes
2answers
409 views

Get the coordinates of the snapped and clicked point in ArcGIS Engine

I am developing an ArcGIS Engine program. I am using the code below to activate snapping to a layer programmatically. I want to get the coordinates of the snapped point (clicked point). I know I must ...
1
vote
1answer
82 views

The type 'ESRI.ArcGIS.Geodatabase.WorkspaceClass' has no constructors defined

I am using a map application (ArcGIS Engine). I am trying to start an edit session and i want to use IWorkSpace interface in the WorkSpaceClass. but i am getting "The type 'ESRI.ArcGIS.Geodatabase....
3
votes
1answer
1k 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 "buff....
2
votes
1answer
668 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 ...
1
vote
1answer
83 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 ...
1
vote
0answers
169 views

Scaling 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 ...
3
votes
0answers
85 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
303 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
0answers
131 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 ...
0
votes
1answer
73 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
1answer
4k 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
74 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 ...
1
vote
0answers
115 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 ...
0
votes
1answer
205 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 showing ...
1
vote
1answer
300 views

Two versions of ArcGIS Engine SDK on same computer?

I wish to be able to develop against both ArcGIS Engine 9.3 and 10.2, so that for example, an application could depend on either at runtime. Are there any issues with having the SDKs for both on a ...
0
votes
1answer
93 views

COM Exception when setting the DisplayField property

I have a C# .NET application referencing ArcGIS Engine 10.2. The last line of this fragment of code causes a COM Exception: gridLayer = new FeatureLayerClass(); gridLayer.FeatureClass = ...
1
vote
1answer
1k views

Start Editing Return Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))

I'm using IEngineEditor.StartEditing method to start an edit session on SDE Workspace. My workspace is having a right value because I have no problem to get a feature class using it. I'm not sure ...
2
votes
0answers
415 views

Searching for features added in an edit session with QueryFilter only works when using object id or no WhereClause

I'm getting strange behaviour reading added features from a feature class while within an edit session. The feature class is in a personal geodatabase and is open in the map control in an ArcEngine ...
2
votes
0answers
212 views

ArcGIS Engine PageLayoutControl Get Page Coordinates from geographic coordinates

I have an ArcGIS Engine application that contains a PAGELAYOUT CONTROL In the code progressing I have acquired the centroid's of some selected polygons in real world coordinates (ie x = 2484242.45 ...
5
votes
1answer
996 views

How to set up graduated colors for a layer using ArcObjects?

I have to render a feature layer with a graduated colors renderer, using the ArcGIS API for Java (or VB, .NET). As the feature layer data is created dynamically using webservices, I don't in advance ...
3
votes
1answer
448 views

Setting Up Snapping Environment Snapping Type using ArcObjects

I try to setup snapping environment snapping type by referring to this source (http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000001s1000000) but I can't combine ...
1
vote
1answer
1k views

Using intersect method of ItopologicalOperator gives error 0x80040239? [duplicate]

I would like to intersect a polygon and a polyline to know if the polyline is in the polygon. The code works but when i do it on more than 100 000 times in a for, there is this error : System....
2
votes
2answers
945 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 ...
3
votes
0answers
133 views

Using Spatial Analyst Classification in ArcGIS Engine? [closed]

I tend to use ML classification of Spatial Analyst ToolBox in ArcGIS Engine, I wrote this sample code: ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop); IAoInitialize ...
2
votes
1answer
645 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
278 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 ...