POST
|
Is it possible to do service area analysis using offline resources? Perhaps using Local Server?
... View more
09-22-2017
08:34 PM
|
0
|
4
|
753
|
POST
|
SolveRouteAsync returns a result of type RouteResult. It has a Routes property that is IReadOnlyList<Route>. Under what circumstances could/would I get more than one route? All examples I've found show code using only Routes[0]. Is there any way to force it to return a certain number of routes? For example, if I wanted the 5 shortest routes or something similar?
... View more
09-11-2017
09:52 AM
|
0
|
1
|
493
|
POST
|
Thanks Mike! Is exporting vector tile caches on the list for the next release or is it some yet-to-be-determined "future release?"
... View more
04-17-2017
05:42 PM
|
0
|
0
|
467
|
POST
|
I'm looking for advice/guidance on strategies for offline basemaps. After some investigation I've been able to generate a tile package (using Pro and Create Map Tile Package geoprocessing tool) using the tiled basemap services designed for export (http://www.arcgis.com/home/group.html?owner=esri&title=Tiled%20Basemaps&start=11&q). However, there seems to be a practical limit to both package generation time and size. 9 Levels for the whole world street map using 8-bit PNG took 68 minutes and 2.4Gb. Currently waiting for 10 levels to finish, but I'm guessing it will be > 4Gb. Does anyone have data on how big a tile package for the whole world would be at each of the levels? I don't think we need all 20, but 14 might be good enough. So questions about alternative approaches: Is it possible to package or download the vector basemaps for offline use? Has anyone generated a vector tile package (.vtpk) using the OSM data? Are there any other offline basemap strategies or approaches that I haven't listed?
... View more
04-14-2017
07:29 AM
|
0
|
2
|
1188
|
POST
|
It really does work. Not other suggestions other than checking to make sure your URLs are correct.
... View more
04-12-2017
12:03 PM
|
0
|
0
|
478
|
POST
|
Here is code that I used. Not 100% sure if you need both of the last two lines or not, but it should get you close enough that you can debug: var featureServiceUri = new Uri(https://services6.arcgis.com/xxxxxx/arcgis/rest/services/zzzzzz/FeatureServer);
var credential = new ArcGISTokenCredential();
credential.ServiceUri = new Uri("https://services6.arcgis.com/xxxxxx/arcgis/rest/services");
credential.Password = Password;
credential.UserName = Username;
var creds = await AuthenticationManager.Current.GenerateCredentialAsync(credential.ServiceUri, Username, Password);
var gdbSyncTask = await GeodatabaseSyncTask.CreateAsync(featureServiceUri, creds);
// define an extent for the features to include
// Whole world extent, but project to web map before we can use it
var env = new Envelope(-179.99, -89.99, 179.99, 89.99, new SpatialReference(4326));
var extent = GeometryEngine.Project(env, new SpatialReference(102100)).Extent;
// get the default parameters for generating a geodatabase
var generateGdbParams = await gdbSyncTask.CreateDefaultGenerateGeodatabaseParametersAsync(extent);
// set the sync model to per layer
generateGdbParams.SyncModel = SyncModel.Geodatabase;
// do not return attachments
generateGdbParams.ReturnAttachments = false;
// create the generate geodatabase job, pass in the parameters and an output path for the local geodatabase
var generateGdbJob = gdbSyncTask.GenerateGeodatabase(generateGdbParams, GeodatabaseFile);
// handle the JobChanged event to check the status of the job
generateGdbJob.JobChanged += OnGenerateGdbJobChanged;
// start the job and report the job ID
var x = await generateGdbJob.CheckStatusAsync();
var zz = generateGdbJob.GetResultAsync();
... View more
04-07-2017
08:43 PM
|
0
|
2
|
478
|
POST
|
Here is a thread describing how to get Elevation from DTED. We got it working successfully using the info from the thread: https://community.esri.com/message/674346-re-dted-as-a-local-elevation-source-net-wpf-v1000?commentID=674346&et=watches.ema…
... View more
04-05-2017
10:56 AM
|
0
|
0
|
585
|
POST
|
Heads up that this line has an error: for (int i = 0; i < geom.Parts[0].Points.Count - 1; i++) it should not have the -1: for (int i = 0; i < geom.Parts[0].Points.Count; i++)
... View more
04-03-2017
09:18 AM
|
0
|
0
|
822
|
POST
|
Do you know what the units are on the maxSegmentLength parameter for Densify?
... View more
03-31-2017
05:31 PM
|
0
|
1
|
822
|
POST
|
Working with .NET Runtime v100.0 and a WPF desktop application ... I'd like to be able to draw an elevation profile that corresponds to a graphic that I've drawn on a map. Additionally, I'd like to inspect the line to find the elevation at any point along the line. Any help for these two items would be appreciated. Here is what I have so far: // Create a raster elevation source based on all files in dted1Files
RasterElevationSource dted1ElevSource = new RasterElevationSource(Dted1Files);
await dted1ElevSource.LoadAsync();
dted1ElevSource.Name = "DTED1";
// Create a Surface based on the elevation source
Dted1Surface.ElevationSources.Add(dted1ElevSource);
Dted1Surface.Name = "DTED1 Surface";
await Dted1Surface.LoadAsync();
// Create a Scene and assign the created surface to its BaseSurface
Scene dted1Scene = new Scene();
dted1Scene.BaseSurface = Dted1Surface;
await dted1Scene.LoadAsync();
// Create a SceneView and assign created scene to its Scene
SceneView1.Scene = dted1Scene; Then I can get elevation at any particular point via: result = await Dted1Surface.GetElevationAsync(point); I tried this, but the Z values are all zero: var drapedOverlay = new GraphicsOverlay();
drapedOverlay.SceneProperties.SurfacePlacement = SurfacePlacement.Draped;
SceneView1.GraphicsOverlays.Add(drapedOverlay);
// existing polyline on a map layervar
var hose = hoselineLayer.Graphics.FirstOrDefault();
hose3d = new Graphic(hose.Geometry);
drapedOverlay.Graphics.Add(hose3d);
... View more
03-31-2017
08:15 AM
|
0
|
4
|
1876
|
POST
|
Is there a way to do this with a MapView or only with a SceneView?
... View more
03-21-2017
12:41 PM
|
0
|
0
|
1718
|
POST
|
I'm looking for a way to use DTED data as a local elevation source in a WPF application and v100.0 of the runtime. Our application needs to have it on the local drive since internet connection is not always available.
... View more
03-21-2017
07:53 AM
|
0
|
8
|
3295
|
POST
|
I have similar goals but we are using v100.0 (Quartz). Did you ever figure this one out?
... View more
03-20-2017
08:45 PM
|
0
|
0
|
585
|
POST
|
Thanks for this! A quick follow-up question. Is it possible to delete a vertex on a polyline? The previous version of runtime had a DeleteVertex command, but this one doesn't. However, after reviewing the docs (SketchEditor Properties), I see that you can pass a vertex to the DeleteCommand via the CommandParameter. The problem is, how do I detect which vertex is selected?
... View more
03-01-2017
02:46 PM
|
0
|
0
|
873
|
POST
|
I have some graphics on the map (point geometries). What is the best way to move a single graphic with the mouse? I would like to click on to select, which is easy. I already have selection working. Then when the user clicks and drags the graphic, I want it to follow the mouse as it moves and remain where the user releases the mouse button. Essentially a typical operation for moving things around. What is the best way to implement this in Runtime 100.0? Is there some way to inject an existing graphic into the sketch editor? I've thought about a workaround - making the exiting graphic invisible, using the sketch graphic as a temporary feedback mechanism, then when sketch editing ends, move the existing graphic and making it visible again. The temp graphic would be deleted at that point. That seems a little convoluted and hoping for a simpler method if it exists.
... View more
02-28-2017
09:31 AM
|
0
|
3
|
2110
|
Title | Kudos | Posted |
---|---|---|
1 | 07-16-2019 09:01 AM | |
1 | 08-16-2019 10:47 AM | |
1 | 01-18-2019 08:48 AM | |
1 | 01-10-2017 10:29 AM | |
1 | 10-28-2014 08:02 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|