POST
|
Hi, Need to write some code to read Circle, Curve, Freehand data using File Geodatabase API 1.4. Can someone guide me to go ahead with this. ~Saurabh.
... View more
05-15-2015
04:53 AM
|
1
|
0
|
3820
|
POST
|
Hi, I am finding the route for the Closest Facility from a user defined location. Able to do it successfully and the route is drawn as required, but however I want to select the closest facility as well after the route is drawn. Please find the screen shot for the route display to the closest faclity from the user's location. Is it possible to do it and can anybody help me with the code for selection for the closest facility. Please find the code below... // update the status message self.statusMessageLabel.text = @"Finding closest facilities"; // if we have a sketch layer on the map, remove it if ([self.mapView.mapLayers containsObject:self.sketchLayer]) { [self.mapView removeMapLayerWithName:self.sketchLayer.name]; self.mapView.touchDelegate = nil; self.sketchLayer = nil; //also disable the sketch control so that user cannot sketch self.sketchModeSegCtrl.selectedSegmentIndex = -1; for (int i =0; i<self.sketchModeSegCtrl.numberOfSegments; i++) { [self.sketchModeSegCtrl setEnabled:NO forSegmentAtIndex:i]; } } //retrieves the default parameters for the closest facility task from the server //the caOp property will keep tract of the operation in case we need to cancel it at any point. self.cfOp = [self.cfTask retrieveDefaultClosestFacilityTaskParameters]; //showing activity indicator [self.activityAlertView show]; self.mapView.touchDelegate = self; Regards, Saurabh. Still no thoughts??
... View more
03-14-2014
10:43 AM
|
0
|
0
|
350
|
POST
|
You need to create an ArcGIS Developer account and login and then you will be able to download the sample code. ~Saurabh.
... View more
03-11-2014
01:30 PM
|
0
|
0
|
168
|
POST
|
Hi, I am finding the route for the Closest Facility from a user defined location. Able to do it successfully and the route is drawn as required, but however I want to select the closest facility as well after the route is drawn. Please find the screen shot for the route display to the closest faclity from the user's location. Is it possible to do it and can anybody help me with the code for selection for the closest facility. Please find the code below... // update the status message self.statusMessageLabel.text = @"Finding closest facilities"; // if we have a sketch layer on the map, remove it if ([self.mapView.mapLayers containsObject:self.sketchLayer]) { [self.mapView removeMapLayerWithName:self.sketchLayer.name]; self.mapView.touchDelegate = nil; self.sketchLayer = nil; //also disable the sketch control so that user cannot sketch self.sketchModeSegCtrl.selectedSegmentIndex = -1; for (int i =0; i<self.sketchModeSegCtrl.numberOfSegments; i++) { [self.sketchModeSegCtrl setEnabled:NO forSegmentAtIndex:i]; } } //retrieves the default parameters for the closest facility task from the server //the caOp property will keep tract of the operation in case we need to cancel it at any point. self.cfOp = [self.cfTask retrieveDefaultClosestFacilityTaskParameters]; //showing activity indicator [self.activityAlertView show]; self.mapView.touchDelegate = self; Regards, Saurabh.
... View more
03-10-2014
11:40 AM
|
0
|
3
|
1707
|
POST
|
Hi I am developing a silverlight application to zoom to the polyline feature layer of ArcGIS Dynamic Service layer. I have been successful in doing so for the layers but for one of the layers it has got mulitiple polylines where it just zooms to the part of the feature and not of the whole feature. I am generating a list of feature in a list box as provided in the screen shot but as I said its generating multiple features which I dont want. I just want it as one feature in the list and as well as zoomed to the whole feature and not showing it to the part of the feature. Code is attached as well. Any help will be appreciated. Thanks, Saurabh.
... View more
02-13-2014
01:13 PM
|
0
|
9
|
3826
|
POST
|
1. The Runtime SDK or iOS doesn't work with ArcGIS Server Mobile services. Instead, it works with REST based ArcGIS Server services (Map, Geocode, Geoprocessing, etc). These services can be on ArcGIS Server version 10.0 or above. Here are the system requirements for the latest version (10.2) of the SDK : https://developers.arcgis.com/ios/info/system-reqs.htm Note, you can use this SDK even with older versions of server going back to v10.0 Thanks Divesh. This is exactly what I was looking for. Regards, Saurabh.
... View more
01-29-2014
05:43 AM
|
0
|
0
|
309
|
POST
|
Hi, I am using ArcGIS Server 10.0 for publishing my mobile services. I want to know the following things. 1. Which version of ArcGIS Runtime SDK for IOS runtime is compatible with ArcGIS Server 10.0 to call the mobile map services. 2. What version of XCode and iOS SDK are required to develop applications with ArcGIS Runtime SDK for iOS. 3. Supported operating systems for the development. 4. Device requirements for this development. All these requirements I need by ArcGIS Server 10.0 keeping in mind. Also would like to know if there happens a migration to ArcGIS Server 10.2, what versions should we then follow. Anybody if please can reply as this is a little critical for the application. Regards, Saurabh.
... View more
01-27-2014
06:46 AM
|
0
|
2
|
2846
|
POST
|
Thanks for your reply Dominique, will try it in ways of adding the legend using code. ~Saurabh.
... View more
12-13-2012
11:16 PM
|
0
|
0
|
141
|
POST
|
Hi, My application having a legend control which displays the layer information for the map. I have a child window where I want to put the legend information. I am able to extract the legend information from the main xaml page to the child window but I am unable to put it to the child window. My mainpage xaml code is <Button x:Name="btnPrint" Height="30" Width="30" Click="btnPrint_Click" Canvas.Left="573" Canvas.Top="14"> <Image Source="Images/Printer.png" Canvas.Left="555" Canvas.Top="6" /> </Button> Mainpagexaml.cs code is MapPrintView printView = new MapPrintView(); printView.DataContext = viewModel; printView.BuildMap(); //If there are layers to build a legend for, build the legend. if (viewModel.MapGraphics != null && viewModel.MapGraphics.Count > 0) { printView.CreateLegend(); } My child widow code where I want to put my legend information MapPrintView.xaml <esriToolkit:Legend Map="{Binding ElementName=edmsMap}" x:Name="printMapLegend" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,53,6,6" Grid.Row="3" Grid.Column="2"> <esriToolkit:Legend.MapLayerTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <TextBox x:Name="ColorTextBox" Width="50" Height="50" Background="{Binding Label}"/> <CheckBox x:Name="legendSelectionCheckBox" Content="{Binding Label}" IsChecked="{Binding IsEnabled, Mode=TwoWay}" IsEnabled="{Binding IsInScaleRange}" > </CheckBox> <Button x:Name="deleteLayerButton" Width="25" Height="25" Tag="{Binding Label}" > <Image Source="Images/delete.png" ToolTipService.ToolTip="Remove Program Type"/> </Button> <Button x:Name="showResultButton" Width="25" Height="25" Tag="{Binding Label}" > <Image Source="Images/reports-icon.png" ToolTipService.ToolTip="Show Program Type Results"/> </Button> <Button x:Name="selectGraphicResults" Width="25" Height="25" Tag="{Binding Label}" > <Image Source="Images/query_rectangle.png" ToolTipService.ToolTip="Select an area on the Map to display its results"/> </Button> </StackPanel> </DataTemplate> </esriToolkit:Legend.MapLayerTemplate> <esriToolkit:Legend.LayerTemplate> <DataTemplate> <CheckBox x:Name="legendSelectionCheckBox" Content="{Binding Label}" IsChecked="{Binding IsEnabled, Mode=TwoWay}" IsEnabled="{Binding IsInScaleRange}" > </CheckBox> </DataTemplate> </esriToolkit:Legend.LayerTemplate> </esriToolkit:Legend> MapPrintView.xaml.cs public void CreateLegend() { printMapLegend = viewModel.CreateLegendInformation(); } public Legend CreateLegendInformation() { return mapLegend; } I am getting the legend information in this last line code of "mapLegend" but unable to put it to the child window. Can anybody please help me on this. Thanks in advance. ~Saurabh.
... View more
12-13-2012
12:52 AM
|
0
|
2
|
548
|
POST
|
Hi Daniel, Thanks a lot for your reply. I have looked in the samples provided by you, but those have used same chunk of code that I am using and moreover I dont need anything like "zoom to" at this point of time. My concern is with the line of code FindResult findResult = (FindResult)QueryDetailsDataGrid.SelectedItem; which gives me the exception as provided in the screen shot. I need to rectify this exception to go ahead with the next line of code to get it executed. Any help will be greatly appreciated. ~Saurabh.
... View more
10-04-2012
07:32 PM
|
0
|
0
|
218
|
POST
|
Hi, I am developing a silverlight solution to select my graphics object on the basemap from the Datagrid selection i.e., n selcting any row object on the datagrid the corresponding map graphics should be highlighted on the BaseMap. I following the below given code. DataGrid dataGrid = sender as DataGrid; GraphicsLayer selectedMapGraphics = edmsMap.Layers["selectionGraphicsLayer"] as GraphicsLayer; selectedMapGraphics.ClearGraphics(); int selectedIndex = dataGrid.SelectedIndex; if (selectedIndex > -1) { FindResult findResult = (FindResult)QueryDetailsDataGrid.SelectedItem; Graphic graphic = findResult.Feature; { ESRI.ArcGIS.Client.Symbols.SimpleFillSymbol FillSymbol; FillSymbol = (ESRI.ArcGIS.Client.Symbols.SimpleFillSymbol)(LayoutRoot.Resources["SelectSymbol"]); graphic.Symbol = (ESRI.ArcGIS.Client.Symbols.Symbol)FillSymbol; selectedMapGraphics.Graphics.Insert(0, graphic); } selectedMapGraphics.Graphics.Add(graphic); } But i am getting a exception in the following line of code. FindResult findResult = (FindResult)QueryDetailsDataGrid.SelectedItem; The error details are attached in the screen shot. Please let me know if anybody is having any solution to this particular exception to resolve this. ~Saurabh.
... View more
10-04-2012
03:40 AM
|
0
|
2
|
780
|
POST
|
Hi, Thanks for the reply. I tried to do a print task from a sample that I find in the link http://www.arcgis.com/home/item.html?id=e361c2cc69784fcba34358d0458f66e3 On further study I have found that this application uses Expression Blend, from where 2 dlls are used as namely Systems.Windows.Interactivity & Microsoft.Expression.Interactions. I am currently using ArcGIS Sever 10.0, Silverlight 2.2 api with VS2010. I dont want go for ArcGIS Server 10.1 with Expression Blend. Is it possible to go for a print task where I can print using PDF printer to print the map layer with legend and graphics on map following the above scenario. Stuck here for quite sometime, any help will be appreciated. ~Saurabh.
... View more
08-22-2012
08:13 PM
|
0
|
0
|
531
|
POST
|
Hi minerjoe, Thanks for your reply and sorry for being late in replying. I tried the code provided by you but this throws me a exception saying that "UnathorizedAcessException was unhadled by user code". Not sure why this says so. If you can throw some light on it this will be great. The exception throws after the following chunk of code. Attached is the screen shot of the error as well. BitmapImage bmi = new BitmapImage(); bmi.SetSource(s); WriteableBitmap wbm = new WriteableBitmap(bmi); AddBitmap(wbm); ~Saurabh.
... View more
08-06-2012
03:55 AM
|
0
|
0
|
531
|
Title | Kudos | Posted |
---|---|---|
1 | 05-15-2015 04:53 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|