Skip to main content

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
0 answers
9 views

How to handle GP Tool execution result asynchronously in ArcGIS Engine with Background 64bit

I am using ArcGIS Engine with background 64bit and calling GP tools using the ExecuteAsync event. I want to continue processing the results of the GP tool execution after it finishes. Following the ...
Aqulia's user avatar
  • 1
0 votes
0 answers
34 views

Updating about 700000 feature of featureclass using ArcGIS Engine & C# but memory breaks

Why does this code get a memory overflow error for datasets with more than 20k of data? int nMax = (int)numFIDTo.Value; int nMin = (int)numFIDFrom.Value; IStepProgressor ...
Zhaochenxu's user avatar
1 vote
0 answers
62 views

More than one ArcEngine GeoProcessor run at a time (concurrent)

I'm trying to run more than one AddRastersToMosaicDataset geoprocessor at the same from a test .NET 4.8 C# console application. So far I tried the below approach running in threads but it seems as if ...
Andy Arismendi's user avatar
0 votes
0 answers
88 views

Getting symbols parameters using ArcObjects

I have FeatureClasses (point, line and polygons) with symbology in cartographic representation. How I can get each symbol's parameters (e.g. for polyline: width, colour, style)? Dim featureClass As ...
dr.petr's user avatar
  • 13
0 votes
1 answer
101 views

Adding Basemaps in Map Control using ArcGIS Engine

I am developing a .Net application that is using ArcGIS Engine 10.8. I would like to add programmatically the "Add Basemap" functionality into the application's Map Control. How can I add ...
kamranation's user avatar
1 vote
1 answer
181 views

Project Tool without an exisiting Geographic transformation using ArcGIS Pro

I'm trying to insert a layer and in my project and while several other layers have been projected correctly on-the-fly by ArcGIS Pro, the final polygon layer is creating trouble. It slightly misfits ...
user avatar
1 vote
0 answers
22 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 ...
NewPotry's user avatar
1 vote
0 answers
140 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 ...
Navid Rsh's user avatar
  • 111
1 vote
1 answer
47 views

Why feature.shape can't use multipoint type?

IPointCollection pointcollection = new MultipointClass(); p.PutCoords(x.lon, x.lat); pointcollection.AddPoint(p); IGeometry geometry = ...
getti's user avatar
  • 13
1 vote
1 answer
367 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 ...
user3174598's user avatar
0 votes
1 answer
64 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....
getti's user avatar
  • 13
2 votes
0 answers
208 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 ...
WezeW's user avatar
  • 21
2 votes
1 answer
493 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 ...
Awwad's user avatar
  • 23
1 vote
0 answers
64 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://...
user3400760's user avatar
1 vote
0 answers
82 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, ...
user3400760's user avatar
0 votes
1 answer
158 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 ...
user93865's user avatar
2 votes
0 answers
201 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 ...
sidd's user avatar
  • 104
-1 votes
3 answers
331 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?
Mohammad Kazemi-Beydokhti's user avatar
0 votes
1 answer
117 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 ...
wdonahoe's user avatar
  • 123
0 votes
1 answer
392 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 ...
fajar ach's user avatar
2 votes
0 answers
371 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 ...
Steve Homayooni's user avatar
1 vote
2 answers
83 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 ...
gumo's user avatar
  • 631
1 vote
1 answer
78 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 ...
Saeed Mousavi's user avatar
2 votes
1 answer
1k 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 ...
bdk0172's user avatar
  • 119
1 vote
1 answer
85 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 ...
alireza rahmaty's user avatar
1 vote
0 answers
111 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 ...
Abhisek Gour's user avatar
1 vote
1 answer
192 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(); ...
Doan Phuong's user avatar
1 vote
0 answers
124 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....
alireza rahmaty's user avatar
2 votes
2 answers
544 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 ...
Steve Homayooni's user avatar
1 vote
1 answer
102 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....
Steve Homayooni's user avatar
3 votes
1 answer
4k 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....
Steve Homayooni's user avatar
2 votes
1 answer
927 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 ...
Steve Homayooni's user avatar
1 vote
1 answer
111 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 ...
Mahdi Ahmadi's user avatar
1 vote
0 answers
200 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 ...
dkushins's user avatar
3 votes
0 answers
131 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 ...
XtianGIS's user avatar
  • 792
3 votes
1 answer
369 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 ...
Doan Phuong's user avatar
0 votes
0 answers
159 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 ...
Dowlers's user avatar
  • 2,354
0 votes
1 answer
90 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 ...
Chris P's user avatar
  • 1,639
4 votes
2 answers
5k 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 ...
Dowlers's user avatar
  • 2,354
2 votes
1 answer
123 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 ...
GregH's user avatar
  • 141
1 vote
0 answers
134 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 ...
Arvin Sanaei's user avatar
0 votes
1 answer
237 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 ...
GIS Man's user avatar
  • 1,123
1 vote
1 answer
388 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 ...
EleventhDoctor's user avatar
0 votes
1 answer
116 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 = ...
EleventhDoctor's user avatar
1 vote
1 answer
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 ...
user1251774's user avatar
1 vote
0 answers
484 views

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

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 ArcGIS ...
Martin Wilkerson's user avatar
2 votes
0 answers
235 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 ...
Bob Folsom's user avatar
5 votes
1 answer
1k 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 ...
superrache's user avatar
3 votes
1 answer
622 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 ...
user1251774's user avatar
1 vote
1 answer
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....
g3r4n's user avatar
  • 43

1
2 3 4 5
7