POST
|
Hi FredericPoliart_EsriAU Thanks for your reply, but there is too much into if for me 🙂. I will try to understand this and will see. Thanks again
... View more
3 weeks ago
|
0
|
0
|
95
|
POST
|
Hi I have created a custom widget in ArcGIS Experience builder. This widget takes a selected feature from the map and show the attribute information of the selected feature. The widget is working fine. However I want to use it as follows. I don't want to place this widget in the map, instead I want to launch the widget on mouse click. Like use selects the feature and my widget should popup with the selected feature as a an input property. At the moment when i select a feature, the feature info dialog gets popped up and then i click my widget that is placed on the map. I want to directly launch the custom widget on mouse click and also i don't want feature info window gets opened. Any help will be highly appreciated. thanks
... View more
4 weeks ago
|
1
|
3
|
218
|
POST
|
After you login, and generates your token you can make the following query to see the url of your content. http://www.arcgis.com/sharing/content/users/<username>?f=json&token=<generatedToken> This will return you the json that contains the url of your published services.
... View more
10-14-2014
12:37 AM
|
1
|
0
|
331
|
POST
|
Hi I have been trying to create a GeoTransformation from a name. Actually I am using an an ArcPy ListTransformations function. This function returns the list of GeoTransformation names as strings. Now after I get the names of GeoTransformation I need to create IGeoTranformation object in ArcObjects. I can use ISpatialReferenceFactory.CreateGeoTransformation method to create a IGeoTransformation object but it requires esriSRGeoTransformationType, esriSRGeoTransformation2Type, esriSRGeoTransformation3Type constants. Now the question is that how can I create a GeoTransformation given that I have only the transformation Name as a string and not the enum that is required by ISpatialReferenceFactory.CreateGeoTransformation method. Thanks
... View more
10-11-2014
07:57 AM
|
0
|
0
|
2845
|
POST
|
Yeah right. The confusion occurs as probably you forget to provide the implementation of ExecuteTask function in your earlier reply.
... View more
10-06-2014
09:49 AM
|
0
|
0
|
700
|
POST
|
@Domenico. Thanks again for your reply. However if you note that the Execute function is not setting the output parameter, so we are getting nothing. I have found the solution for this problem. The following code works. Thank you for your help.
IGeoProcessorResult2 geoProcessorResult = null;
IGPValue output = null;
try
{
geoProcessorResult = geoprocessor.Execute("Transformations", parameters, null) as IGeoProcessorResult2;//Transformations is name of script
output = geoProcessorResult.GetOutput(0) as IGPValue;
IGPMultiValue GPMultiValue = output as IGPMultiValue;
for (int i = 0; i < GPMultiValue.Count; i++)
{
list.Add((GPMultiValue.get_Value(i).GetAsText()));
}
}
catch (Exception)
{
returnMessages(geoprocessor);
}
... View more
10-06-2014
08:54 AM
|
0
|
1
|
700
|
POST
|
@Owen Thanks for the reply, however I am getting HRESULT E_FAIL while I try to call IGeoprocessor.Execute(....) method. Please help in this regard. Secondly I could not find any other way to find the transformations methods between that are best suited for a given extent in Arcobjects. this script however runs perfect when I debug using ArcMap. If you know any way please share. I have only problems in running this from C#. Thanks.
... View more
10-06-2014
02:57 AM
|
0
|
0
|
700
|
POST
|
@Domenica, Thanks for your reply. I have alrady tried this method. I have 2 problems in this. 1. Please provide the implementation of Execute method.I tried to implement Execute but I got HRESULT E_FAIL while I call geoprocessor.Execute(....). 2. I have situation where I don't have feature layer. I have already inSR, outSR and extent. So i am going to pass 2 ISpatialReference objects and extent. I have written python script with these required parameters, tool and I am getting values when running from Arcmap. However I am getting HRESULT E_FAIL as I describe above. Please help in this regard.
... View more
10-06-2014
02:50 AM
|
0
|
4
|
700
|
POST
|
I need to call arcpy.ListTransformations function in C#. I have to pass 2 spatial References (ISpatialReference objects, I guess) and an envelope(IEnvelope object) to this function. This function returns the transformations list. I need to get these strings in C# code. Can anybody tell me how to accomplish this in ArcGIS Engine application. Thanks
... View more
10-05-2014
01:02 PM
|
0
|
8
|
3671
|
POST
|
Although as mentioned by feng, we may not use ArcObjects using licensing. However, the service that I have created was running from Network Service account. As per rlwatson when I changed the account to local user account, the call to checkout licensing was successful and my problem was resolved. Thanks a lot for your help
... View more
07-12-2012
10:29 PM
|
0
|
0
|
278
|
POST
|
Hello I am trying to write the licensing module of our mapping application. I am trying to checkout ArcGIS Engine license using a WCF Service. I have observed that when the licensing logic is in a WCF Service, the call to checkout license fails with an error "ArcGIS Licensing handle error". Any one has idea about this error and its resolution?
... View more
07-04-2012
03:34 AM
|
0
|
3
|
801
|
Title | Kudos | Posted |
---|---|---|
1 | 4 weeks ago | |
1 | 10-14-2014 12:37 AM |
Online Status |
Offline
|
Date Last Visited |
Saturday
|