|
POST
|
Hi, There's currently no support for full labelling of client-side graphics within a GraphicsLayer or FeatureLayer. In the meantime, graphics can be labelled with TextSymbols. You might also want to take a look at this sample for geodesic measuring: http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#GeodesicOperations. Cheers Mike
... View more
08-20-2013
01:14 AM
|
0
|
0
|
2153
|
|
POST
|
Hi, There is currently no support for true curves in feature services and therefore the ArcGIS Runtime SDKs don't support the creation of such geometries (the Silverlight sample you mention is creating pure SL/WPF elements). Feature services will return a densified version of the curve, and although it is possible to allow updates of true curves via feature services, but they will be replaced by the densified geometry submitted by the client, therefore that option is off by default. For more information see http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000393000000. You should also be mindful of the fact that creating a hybrid application using both an ArcGIS Runtime deployment and an ArcGIS Engine deployment will require you to license both on the deployment machine, increasing the cost of your application, unless you're using the Basic services-only functionality in the WPF API which is a free license. Cheers Mike
... View more
08-19-2013
01:04 AM
|
0
|
0
|
791
|
|
POST
|
Hi, The best way to label these polylines is to use the GeometryService operation LabelPointsAsync to generate the point at which to place the label, then display the text with a TextSymbol. http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.GeometryService~LabelPointsAsync.html Cheers Mike
... View more
08-19-2013
12:54 AM
|
0
|
0
|
2153
|
|
POST
|
Tank you for your reply, But when I trey to access to the provided link https://customers.esri.com/�??. the following message is shown, Not Found The requested URL /â�?�Ž was not found on this server. ArcWS/4.0.20 Server at customers.esri.com Port 443 Please help me to resolve this problem Thank you dissanayake Hi, Perhaps there was a problem with the site at the time you tried - please try again: https://customers.esri.com. Cheers Mike
... View more
08-19-2013
12:49 AM
|
0
|
0
|
1119
|
|
POST
|
How to install ArcGIS Android SDK v10.1.1-u1 for NetBeans 7.3.1 Please Help me Hi, For help installing the ArcGIS Runtime SDK for Android please post your question in the Android SDK forum: http://forums.arcgis.com/forums/139-ArcGIS-Runtime-SDK-for-Android. Cheers Mike
... View more
08-19-2013
12:32 AM
|
0
|
0
|
1119
|
|
POST
|
Hi, When creating feature services (local or online) there's always a map service with the same content. Therefore - on the LocalFeatureService class there are UrlMapService and UrlFeatureService properties. You can create an ArcGISLocalDynamicMapServiceLayer using the UrlMapService property and an ArcGISLocalFeatureLayer using the UrlFeatureService property. Cheers Mike
... View more
08-15-2013
05:44 AM
|
1
|
0
|
1666
|
|
POST
|
Hi, The reason it fires twice could be because you're explicitly calling Update, but you're also adding the layer to the Map, which you may find initiates a 2nd query and a subsequent UpdateCompleted event (i.e. the second one you're seeing). Note that another option for you might be to put the FeatureLayer in SelectionOnly mode in the Map and add the DynamicLayer equivalent for display. Cheers Mike
... View more
08-15-2013
12:53 AM
|
1
|
0
|
1666
|
|
POST
|
Hi, Typically it is better to have the Map initialize the layers, but alternatively you could take a look at explicitly setting the spatial reference on the Map, then loading all the layers in code: 1. Create the Layer 2. Set any required Layer properties 3. Register handler for initialize completed 4. Call Initialize 5. Add the layer in the initialize completed handler Note for some layers, such as FeatureLayers, when they're initialized they don't necessarily contain any data, since that's the result of a subsequent query often based on the map extent. For that layer type there's an UpdateCompleted event. Cheers Mike
... View more
08-15-2013
12:50 AM
|
0
|
0
|
826
|
|
POST
|
Hi, That's a good suggestion, and a great tip for other users too. We did try to keep the sharing dialog as simple as possible so I can see there being some design required for exposing an advanced option such as this. Rather than giving users the option, perhaps we could always default to always using multiple cores instead... You could also wrap up a tiling workflow as a python script/tool and share that with your users - that might help ensure that they always follow the workflow you would like them use. A better place to suggest enhancements is actually the ArcGIS Ideas site: http://ideas.arcgis.com/ideaList?category=ArcGIS+Desktop. That's the link to Desktop, since it's a desktop-based workflow, but you could tag it runtime as well. Cheers Mike
... View more
08-12-2013
12:52 AM
|
0
|
0
|
853
|
|
POST
|
Hi, To download the SDK you'll need to log into the Esri Customer Care portal: https://customers.esri.com/�??. Once you've downloaded the setup, the installation instructions should tell you everything you need to know: http://resources.arcgis.com/en/help/runtime-wpf/concepts/index.html#/Installation_and_setup/01700000006w000000/. Cheers Mike
... View more
08-08-2013
12:36 AM
|
0
|
0
|
1119
|
|
POST
|
Hi, You raise some good questions/points... we said from the outset that the Runtime APIs are designed to be lighter-weight, coarser-grained APIs which overcome many of the downsides to ArcObjects (performance, native 64-bit, modular deployment, more flexible licensing, etc). 1. Was a great surprise, discover that it does not allow to perform linear referencing operations (Dynamic segmentations). This kind of operations are available in ArcObjects. Linear referencing / dynamic segmentation is not on the immediate roadmap, but if it's something you would like to see included please submit the idea over at: http://ideas.arcgis.com/ideaList?category=ArcGIS+Runtime. 2. You cannot manipulate the map object to add NEW layers connected to a database....or create layers on the fly and add features an then persist it....unless they are tied to a feature service. This is possible, but requires you to work within the framework of Map Packages, local services and the "DynamicLayer" capability of these local services (see http://resources.arcgis.com/en/help/runtime-wpf/samples/index.html#/Add_Shapefiles_and_Rasters/02q20000004z000000/) or perhaps might require you to create a custom layer type which derives from GraphicsLayer. The existing WPF SDK is very much a services-based API. However, the new .NET SDK is designed to function equally both online and offline and provides a more extensive API for local data access. 3. from my point of view (correct me if i'm wrong) an application developed under this technology is tied up to previously created content, and that content cannot be modified with the freedom that ArcObjects gave to us (developers), I mean...if i have a map package...i can add, in my application, other layer, but i cannot persist that addition; as well i can load feature packages...and modify the features inside of it, but i am not able of create those packages from my application, and then add them to the map package. The new .NET SDK is designed to address these challenges - you'll have greater flexibility when working with geodatabases and layers locally. 4. maybe i'm searching in the wrong way, but i cannot find the way (in the product reference) to access to a Feature class in a file geodatabase or personal geodatabase Currently this is achieved either via a local map service / local feature service (Personal Gdb not supported) or alternatively you can use geoprocessing and python scripting. Why to deprecate ArcObjects if they provide such a big opportunity and granularity??? There are currently a few areas where the ArcGIS runtime does not match ArcObjects for functionality, but over the next few releases we'll see those scenarios met by equivalent functionality in the ArcGIS runtime. Until then you may need to continue some ArcObjects-based development but for migration of existing applications and any new applications I'd always encourage you to evaluate the runtime SDKs first. The beta of the new .NET SDK will be out at the end of the summer, please give it a try and let us know what you think - we really appreciate all feedback. Cheers Mike
... View more
08-07-2013
12:23 AM
|
0
|
0
|
3197
|
|
POST
|
Hi, The ArcObjects API is not available in the ArcGIS Runtime SDK for WPF. Therefore, you wouldn't use the IFeatureclass approach to write to a File Geodatabase. We're currently working on an improved API for direct access to a geodatabase on disk (look out for the beta soon) but in the interim you have several options: #1. Start a LocalFeatureService from a Map Package and edit a feature class within that local service (either included in the package or referenced from the package). #2. Use a Python script with a cursor to insert features (e.g. http://resources.arcgis.com/en/help/main/10.1/index.html#//018z0000009r000000). #3. Use the File Geodatabase API (I'd encourage you to stay within the same API, but I mention the File GDB API for completeness). For more info on what we'll be releasing in the beta see: http://blogs.esri.com/esri/arcgis/2013/07/05/the-history-and-future-of-the-arcgis-sdks-for-net/. Cheers Mike
... View more
08-06-2013
11:54 PM
|
0
|
0
|
1742
|
|
POST
|
Hi, The majority of Python script tools that execute successfully on your computer in Desktop should publish successfully as a Geoprocessing Package and run on the LocalServer included with ArcGIS Runtime SDK for WPF. The exceptions to this are the ArcPy.Mapping module, and custom or third-party modules. There's a good article here which covers many of the considerations for publishing Python scripts as service-based tasks: http://resources.arcgis.com/en/help/main/10.1/index.html#/Authoring_geoprocessing_tasks_with_Python_scripts/01540000054p000000/. Cheers Mike
... View more
08-06-2013
12:46 AM
|
0
|
0
|
1492
|
|
POST
|
Hi, You should be able to replicate the smoother animation of the gps layer symbol by incrementally updating the geometry (still calling MoveTo) on a timer. The GPSLayer source code is on codeplex so you can take a look at how it works - but I just put this together this basic sample based on the GPSLayer code with an easing function from http://www.gizma.com/easing/ to allow for some acceleration and deceleration. Code behind: using System.Windows; using ESRI.ArcGIS.Client; using ESRI.ArcGIS.Client.Symbols; using System.Windows.Media; using ESRI.ArcGIS.Client.Geometry; using System; using System.Windows.Threading; namespace SmoothAnimation { public partial class MainWindow : Window { GraphicsLayer _gl; private DateTime animateStartTime; private DispatcherTimer animationTimer; private int animationDuration = 5000; SimpleMarkerSymbol defaultSymbol; SimpleMarkerSymbol animatingSymbol; public MainWindow() { InitializeComponent(); _gl = new GraphicsLayer(); MyMap.Layers.Add(_gl); } private void MyMap_MouseClick(object sender, Map.MouseEventArgs e) { if (defaultSymbol == null) { defaultSymbol = new SimpleMarkerSymbol() { Color = Brushes.Red, Size = 12, Style = SimpleMarkerSymbol.SimpleMarkerStyle.Circle }; } if (animatingSymbol == null) { animatingSymbol = new SimpleMarkerSymbol() { Color = Brushes.Blue, Size = 12, Style = SimpleMarkerSymbol.SimpleMarkerStyle.Circle }; } if (_gl.Graphics.Count == 3) _gl.Graphics.Clear(); if (_gl.Graphics.Count == 2) _gl.Graphics.Remove(_gl.Graphics[0]); _gl.Graphics.Add(new Graphic() { Symbol = defaultSymbol, Geometry = e.MapPoint }); } private void AnimateButton_Click(object sender, RoutedEventArgs e) { MapPoint startPoint = _gl.Graphics[0].Geometry as MapPoint; MapPoint finishPoint = _gl.Graphics[1].Geometry as MapPoint; MapPoint animatingPoint = startPoint; _gl.Graphics.Add(new Graphic() { Geometry = animatingPoint,Symbol = animatingSymbol }); animationTimer= new DispatcherTimer(); animationTimer.Interval = TimeSpan.FromMilliseconds(33); animateStartTime = DateTime.Now; animationTimer.Tick += (s, ex) => { double fraction = (DateTime.Now - animateStartTime).TotalMilliseconds / animationDuration; fraction = QuinticEasingInOut(fraction, 0, 1, 1); var x = (finishPoint.X - startPoint.X) * fraction + startPoint.X; var y = (finishPoint.Y - startPoint.Y) * fraction + startPoint.Y; animatingPoint.MoveTo(x, y); }; animationTimer.Start(); } public double QuinticEasingInOut(double t, double b, double c, double d) { t /= d / 2; if (t < 1) return c / 2 * t * t * t * t * t + b; t -= 2; return c / 2 * (t * t * t * t * t + 2) + b; } } } XAML: <Window x:Class="SmoothAnimation.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:esri="http://schemas.esri.com/arcgis/client/2009" Title="MainWindow" Height="350" Width="525"> <Grid> <esri:Map x:Name="MyMap" UseAcceleratedDisplay="True" MouseClick="MyMap_MouseClick"> <esri:ArcGISTiledMapServiceLayer ID="World Topo Map" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> </esri:Map> <Button Content="Animate" x:Name="AnimateButton" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="10" Click="AnimateButton_Click"> </Button> </Grid> </Window> Cheers Mike
... View more
08-05-2013
04:49 AM
|
0
|
0
|
1948
|
|
POST
|
Hi, Control over raster rendering is not included directly in the API at the moment. You could try creating a very simple GP model, and/or perhaps there is something in ArcPy that would achieve this. Cheers Mike
... View more
07-31-2013
12:49 AM
|
0
|
0
|
680
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2026 05:04 AM | |
| 1 | 02-20-2024 07:02 AM | |
| 1 | 01-19-2026 06:44 AM | |
| 1 | 12-10-2025 07:16 AM | |
| 1 | 11-21-2025 08:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
07-02-2026
06:07 AM
|