DOC
|
Thanks Robert for taking time and providing information about it.
... View more
05-16-2019
12:46 PM
|
0
|
0
|
14588
|
DOC
|
Thanks Robert for the URL button widget. I was able to use this, but instead of using the url - "https://www.w3schools.com/" - I am using a login webpage url, where it prompts to enter the username and password. I am looking to store the username and password in the config.json file, and when I click on the URL button widget - it should open the login page of and should signin with the username and password provided in the config file. Could you please provide your thoughts on it. Thanks Sri
... View more
05-16-2019
11:45 AM
|
0
|
0
|
14588
|
POST
|
Thanks Kelly for looking into it, I copied your code and executed - it doesn't provide any results. Am I missing anything? Thanks Srikanth
... View more
05-25-2017
08:42 AM
|
0
|
1
|
1580
|
POST
|
Hello, I am looking to find a way where I can convert JSON data to HTML table - where it should capture and display only the "name" and "alias" attributes into the HTML table from the following external json url : https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/0?f=pjson Could you please provide your inputs on it. Thanks Srikanth
... View more
05-24-2017
11:35 AM
|
0
|
4
|
9818
|
POST
|
You're binding call is set to Engine or Desktop. Try changing that to Desktop only. The way you have it now it could be binding to the Engine product, which doesn't include the interface you're trying to use. Thanks a lot Neil. I really appreciate for taking time from schedule and replying to my message. It's really nice of you. Your solution did resolved my issue. Thanks
... View more
05-07-2014
08:23 AM
|
0
|
0
|
707
|
POST
|
Is your Engine application binding to the Desktop product and checking out a Desktop license? Yes Neil, the Engine application is binding to Desktop product and checking out for Desktop License. This is how the code looks when the form gets loaded : Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop) Dim ESRI_SW_CLASS As String = UCase(Environ("ESRI_SOFTWARE_CLASS")) Dim ARCGIS_LICENSE As String = UCase(Environ("ARCGIS_LICENSE_FILE")) Dim ESRI_SEAT_PREF As String = UCase(Environ("ESRI_SEAT_PREFERENCE")) pnlZoomToBtn.BackColor = AxToolbarControlMap.BackColor 'Create a new AoInitialize object m_pAoInitialize = New AoInitialize If IsNothing(m_pAoInitialize) Then MsgBox("Unable to initialize. This application cannot run!", MsgBoxStyle.MsgBoxSetForeground, "Error") Me.Close() Exit Sub End If Dim licenseStatus As esriLicenseStatus If (ESRI_SEAT_PREF = "FLOAT") Then If (ESRI_SW_CLASS = "VIEWER") Then licenseStatus = CheckOutLicenses(esriLicenseProductCode.esriLicenseProductCodeBasic) 'Not licensed If (licenseStatus = esriLicenseStatus.esriLicenseNotLicensed) Then
... View more
05-07-2014
06:43 AM
|
0
|
0
|
707
|
POST
|
The reason for the error is clear - you're trying to use a Desktop-only interface in an Engine application. If the only thing you have installed on the target machine is the Engine runtime then that interface is not there because Engine doesn't install it. Hi Neil, Thanks for sharing your wisdom. On the box where I am running the Arc GIS Engine application - I have Arc GIS Desktop & Arc GIS Engine SDK & Runtime, vs 2010. Below is the code url, from which I did used a part of it - and it is at this point (Set pCalc = New Calculator) - I am getting the error message. http://resources.esri.com/help/9.3/arcgisengine/arcobjects/esriGeoDatabaseUI/ICalculator_Example.htm Thanks Srikanth
... View more
05-07-2014
06:28 AM
|
0
|
0
|
707
|
POST
|
ICalculator is a Desktop interface. It is not installed by the Engine product. This is the case with any interface or class that is part of an ArcObjects library whose name ends with UI. Thanks Neil for your suggestions. But, still we used the same code for 9.3 but when we migrated to 10.1 - we are facing this error message. Thanks
... View more
05-07-2014
06:01 AM
|
0
|
0
|
707
|
POST
|
I am working on migrating 9.3 Arc GIS Engine application to 10.1 Arc GIS Engine application. Everything is working good but at one of the following line(Dim pCalc2 As ICalculator = New ESRI.ArcGIS.GeoDatabaseUI.Calculator()) - I am getting the following message : Retrieving the COM class factory for component with CLSID {D676066E-38CA-429A-B846-DA7A8446C52D} failed due to the following error: 80040111. Any suggestions would be helpful. Thanks.
... View more
05-02-2014
10:15 AM
|
0
|
8
|
1686
|
POST
|
When I mouse over the feature - I want to display the image in the maptip - which is referenced through hyperlink in the "img" field. Field: img Value: http://wmoap21/ways/images/dscn6305.jpg Thanks for going through this message and providing your inputs.
... View more
02-28-2014
08:25 AM
|
0
|
1
|
493
|
POST
|
Hi, I am performing a query task for a layer whose display field is LINENAME. This filed LINENAME has attributes in mixed case lettera. For example one of the atrribute is "Stone Yard". As of now, only if I enter the attribute name as "Stone Yard" - which is as it is in the layer's non spatial data - it works, but with mix of upper and lower case like "STone YARD" or "STONE YARD" or "stone yard" doesn't work. Please let me know what updates I have to do for the below statement irrespective of what I enter - upper or lower case, or mix of upper and lower - the query must work : txtRailline is the text box for the user to enter the LINENAME attribute : query5.Where = "LINENAME ='" + txtRailline.Text.ToString(). + "'" Thanks for going through the message and providing your inputs.
... View more
12-06-2013
08:59 AM
|
0
|
1
|
386
|
POST
|
Hi, I am performing a query task for a layer whose display field is LINENAME. This filed LINENAME has attributes in mixed case lettera. For example one of the atrribute is "Stone Yard". As of now, only if I enter the attribute name as "Stone Yard" - which is as it is in the layer's non spatial data - it works, but with mix of upper and lower case like "STone YARD" or "STONE YARD" or "stone yard" doesn't work. Please let me know what updates I have to do for the below statement. txtRailline is the text box for the user to enter the LINENAME attribute : query5.Where = "LINENAME ='" + txtRailline.Text.ToString(). + "'" Thanks for going through the message and providing your inputs.
... View more
12-06-2013
08:56 AM
|
0
|
0
|
366
|
POST
|
Thanks a lot Denis for your help. I really appreciate for taking time and going so much in detailed. It worked
... View more
12-02-2013
11:35 AM
|
0
|
0
|
331
|
POST
|
Hello, I am performing an attribute query, and for that particular attribute - we want to zoom in to that feature and draw a graphics layer. But although I added the graphic layer in the Mainpage.xaml - I am getting the following error at this particular line of code : graphicsLayer1.Graphics.Add(selectedFeature); Error : Object reference not set to an instance of an object. Mainpage.xaml -------------- <esri:Map x:Name="Map" MouseClick="Map_MouseClick" Progress="MyMap_Progress" Background="White" Extent="-8958052,4925394,-7964275,5744546" ExtentChanged="MyMap_ExtentChanged" IsLogoVisible="False" > <esri:ArcGISTiledMapServiceLayer x:Name="esriBasemap" ID="BaseLayer" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" Opacity="1" Visible="True" Initialized="ArcGISTiledMapServiceLayer_Initialized" /> <esri:GraphicsLayer ID=" MyGraphicsLayer1" /> </esri:Map> Mainpage.xaml.cs ----------------- private void btnFind_Click(object sender, RoutedEventArgs e) { QueryTask queryTask= new QueryTask("http://" + CurrentPage.ServerName + "/ArcGIS/rest/services/DataViewer/MapServer/0"); queryTask.ExecuteCompleted += QueryTask_ExecuteCompleted; ESRI.ArcGIS.Client.Tasks.Query query = new ESRI.ArcGIS.Client.Tasks.Query(); //query.Where = "CROSSINGNU ='" + txtUS.Text.ToString() + "'"; query.Where = "CROSSINGNU ='" + txtUS.Text.ToString() + "'"; query.ReturnGeometry = true; query.OutSpatialReference = Map.SpatialReference; query.OutFields.Add("*"); queryTask.ExecuteAsync(query); } private void QueryTask_ExecuteCompleted(object sender, ESRI.ArcGIS.Client.Tasks.QueryEventArgs args) { GraphicsLayer graphicsLayer1 = Map.Layers["MyGraphicsLayer1"] as GraphicsLayer; //graphicsLayer1.ClearGraphics(); FeatureSet featureSet2 = args.FeatureSet; if (featureSet2 != null && featureSet2.Features.Count > 0) { Graphic selectedFeature = featureSet2.Features[0]; // Highlight selected feature selectedFeature.Symbol = LayoutRoot.Resources["HighlightedMarkerSymbol"] as ESRI.ArcGIS.Client.Symbols.Symbol; graphicsLayer1.Graphics.Add(selectedFeature); ESRI.ArcGIS.Client.Geometry.Envelope selectedFeatureExtent = selectedFeature.Geometry.Extent; ESRI.ArcGIS.Client.Geometry.Envelope displayExtent = new ESRI.ArcGIS.Client.Geometry.Envelope(selectedFeatureExtent.XMin - 500, selectedFeatureExtent.YMin - 500, selectedFeatureExtent.XMax + 500, selectedFeatureExtent.YMax + 500); Map.ZoomTo(displayExtent); } } Thanks for looking at it and providing your inputs.
... View more
12-02-2013
06:52 AM
|
0
|
2
|
4010
|
POST
|
Hi Srikantk, Usually it means the service is inaccessible for some reason. See this post for some additional possibilities. Katy Thanks for the inputs.
... View more
03-14-2013
07:15 AM
|
0
|
0
|
192
|
Online Status |
Offline
|
Date Last Visited |
11-24-2023
07:26 AM
|