Questions tagged [arcgis-engine]

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

ArcGIS Engine is a collection of GIS components and developer resources that can be embedded, allowing you to add dynamic mapping and GIS capabilities to existing applications or build new custom mapping applications.

Developers use ArcGIS Engine to deploy GIS data, maps, and geoprocessing scripts in desktop or mobile applications using application programming interfaces (APIs) for COM, .NET, Java, and C++.

343 questions
7
votes
4 answers

Is there a way to get a good human readable error from a COM error in arcEngine?

I'm trying to perform the following operation: IPropertySet addressProperties = reverseGeocoding.ReverseGeocode(point, false); And I get this error: Exception from HRESULT: 0x80040217 Is there some function to get a human readable form of this…
patrick
  • 2,730
  • 26
  • 50
5
votes
2 answers

IPoint -> Nearest Address

Summary: How to use the MDB file (link below) as a locator to reverse geocode (point->address) with ArcMap? I've implemented this…
patrick
  • 2,730
  • 26
  • 50
4
votes
3 answers

How can I programmatically determine if a shapefile contains points, polygons, or lines?

How can I programmatically determine if a shapefile contains points, polygons, or lines? ArcEngine 10, VS2010, C#
patrick
  • 2,730
  • 26
  • 50
4
votes
1 answer

Add Cache as a Raster?

According to step 4 of the MapCruncher sample, http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Multithreaded_MapCruncher/000100000mmm000000/ Once the cache is finished processing, open Engine or Desktop, navigate…
patrick
  • 2,730
  • 26
  • 50
4
votes
1 answer

Modify MapCruncher sample to make it generate tiles with GCS 1984 spatial reference

I want the MapCooker sample to generate tiles with a projected spatial reference of GCS WGS 1984. I currently initialize it with a path to a layer with the NAD_1983_HARN_Adj_MN_Isanti_Feet coordinate system. The sample is here:…
patrick
  • 2,730
  • 26
  • 50
3
votes
1 answer

How to make a custom ToolbarControl Item in ArcEngine?

I would like to create a custom toolbar item in ArcEngine. I add items like this ((AxToolbarControl)toolbarControl).AddItem( myCustomItem ) I need to know how to create a custom item in ArcEngine 10. I'm using C# and VS2010.
patrick
  • 2,730
  • 26
  • 50
3
votes
1 answer

Is there a way to figure out what files an MXD points to?

Let's say I load up two layers, and then save an .mxd file. Now I want to get the path names of my layers from the .mxd file. Is there a way to do this in ArcEngine? I'm using ArcEngine 10 with VS2010 & C#
patrick
  • 2,730
  • 26
  • 50
3
votes
1 answer

ArcEngine in WPF -> publish -> creates .msi install file -> installer fails

I am trying to install my custom ArcEngine application on another machine. I just uninstalled and reinstalled ArcGis Engine Runtime 10 and authorized it. "Unable to install or run the application. The application requires that assembly…
patrick
  • 2,730
  • 26
  • 50
3
votes
1 answer

Custom Dynamic Layer draws below annotations

My custom dynamic layer (moving vehicles) is at position 0, specified by this code: mapControl.Map.MoveLayer(customDynamicLayer, 0); //smaller numbers draw later But the annotations of the layer at position 1 (my map) still draw over my dynamic…
patrick
  • 2,730
  • 26
  • 50
3
votes
2 answers

Get heading from 2 IPoints

I am moving an object from one point to another and would like to update the heading of the dynamic display properties. I am using this code: m_dynamicSymbolProperties.set_Heading(esriDynamicSymbolType.esriDSymbolMarker, heading); But I am having…
patrick
  • 2,730
  • 26
  • 50
3
votes
3 answers

Can ArcEngine resolve unstructured address data?

In the following tutorial link, the code geocodes a structured address. In the example address fields are coded so that the program knows in advance 1) state = "CA" 2) city = "Redfield"...…
patrick
  • 2,730
  • 26
  • 50
3
votes
2 answers

Pass execution control from Context Menu BaseCommand to custom app

I got a context menu to work by following this tutorial: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000000v9000000 The interesting thing about the tutorial is that the context menu items are COM objects and…
patrick
  • 2,730
  • 26
  • 50
3
votes
2 answers

Add New Project -> Class Library (Engine) targets the .NET 2.0 framework

Any one have comments on why the ArgGis Extensions in the 10 framework still target the .NET 2.0 framework? For clarification do the following steps in Visual Studio: Add New Project -> Class Library (Engine) -> Click properties -> see that it…
patrick
  • 2,730
  • 26
  • 50
3
votes
2 answers

App using ArcGis Engine throws error at customers

I developed a program using the ArcGIS Engine 10.0. On my development computer it runs nicely, but when I deploy the binary to the customer computer the program throws an exception when trying to initialize the license. The exception: "ArcGIS…
Sam
  • 199
  • 1
  • 10
2
votes
3 answers

How to connect to bundle files?

I tiled my mxd document using the Multithreaded MapCruncher sample located here: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000mm8000000 It appears to work, the output directory has different level…
patrick
  • 2,730
  • 26
  • 50
1
2 3