POST
|
I need to add a function of conversion from Map (mxd) to KML to my project. It seems there is not much reference on the internet. I have gotten some sample codes here: http://forums.esri.com/Thread.asp?c=159&f=1707&t=232374 I converted the codes to C#. I did not have any problems when I compiled it. But I received an error when I ran the application: Source: ESRI.ArcGIS.Geoprocessing StackTrace: at ESRI.ArcGIS.Geoprocessing.GeoProcessorClass.Execute(String Name, IVariantArray ipValues, ITrackCancel pTrackCancel) at ESRI.ArcGIS.Geoprocessor.Geoprocessor.ExecuteInner(IGPProcess process, ITrackCancel trackCancel, IGeoProcessor igp, IVariantArray iva) at ESRI.ArcGIS.Geoprocessor.Geoprocessor.Execute(IGPProcess process, ITrackCancel trackCancel) Message: Error HRESULT E_FAIL has been returned from a call to a COM component. Please advise!
... View more
01-03-2012
10:39 AM
|
0
|
2
|
2038
|
POST
|
In my project, I hosted a ArcGIS mapcontrol in a WPF window through WindowsFormsHost. Everything works great. However, one issue bothers me. When the window size is not large enough, the window scroll bar shows up as I expected. However, the axMapcontrol displays on the top of the scroll bar, which makes the scroll bar be invisible. Please advise if there is a solution for this issue. Thanks!
... View more
12-28-2011
06:46 AM
|
0
|
0
|
387
|
POST
|
Actually the example "Draw text on a MapControl" coming with ArcGIS development kit has a better solution. http://edndoc.esri.com/arcobjects/9.2/NET/ViewCodePages/F54BEB08-DA6E-475a-8163-92439A754D06DrawText.cs.htm
... View more
12-22-2011
10:16 AM
|
0
|
0
|
20
|
POST
|
I have gotten one solution here: http://forums.esri.com/Thread.asp?c=93&f=993&t=99883 I converted the VB.net codes to C# codes, and the codes work fine to me. However, I am still open to other options. Thanks!
... View more
12-22-2011
09:04 AM
|
0
|
0
|
20
|
POST
|
In my C# project, I saved all the position information (longitude and latitude) in a database. After loading a default map, I would like to retrieve all these positions and link them with lines. I do not need to save these maps. Could you please advise what kind of object I can use to draw these lines on a map dynamically? Thanks!
... View more
12-22-2011
06:24 AM
|
0
|
2
|
2314
|
POST
|
Thanks! All examples of the new api for wpf I can have found need a ArcGIC Server. I am not sure if it is true or not. If the ArcGIC Server is need for the new api, certainly I can not use it. I'll take a stab at a response. Fellow developers, please correct me if my understanding is not correct. I think that you have to go with the Engine solution because I believe that both the Silverlight and WPF solutions require ArcGIS Server, i.e. they were not developed (as of yet) to support disconnected situations. FWIW, I believe that in 10.1 there is the new ArcGIS Runtime which provides an alternative to Engine.
... View more
12-09-2011
02:30 AM
|
0
|
0
|
3
|
POST
|
We develop a stand-along application with WPF. The application will run on laptops without internet access. The map files will be stored locally. It seems there are two solutions of using WPF with ArcGIS. 1, Use ArcGIS API for WPF; 2, Use ArcGIS Engine controls, which are Windows Forms controls, in a WPF environment. The WindowsFormsHost control will be used as a container. Could you please advise which one fit our project? Thanks!
... View more
12-08-2011
07:49 AM
|
0
|
6
|
1876
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|