|
POST
|
So I have found that it would seem when I create a UtilityNetwork using UtilityNetwork.CreateAsync Method (Uri, Credential) I am getting correct results when using UtilityNetwork.GetFeaturesForElementsAsync Method, however, when I create it using UtilityNetwork.CreateAsync Method (Uri, Map) method I am getting the invalid results. This does not make sense to me as the Map contains most layers, and it is the same Map I am using to view the to set the start location and view the results.
... View more
08-12-2020
01:19 PM
|
0
|
0
|
5308
|
|
POST
|
I am running a network trace (Find Connected) which does seem to return all the network elements. However, when I try to get the features using UtilityNetwork.GetFeaturesForElementsAsync Method I do not get anywhere close to the number of features as their are elements. For instance with the Gas Pipe I get 5856 elements returned. Calling GetFeaturesForElementsAsync I get 14 features returned. I am using the code from the sample and don't see any settings I could change to impact the conversion var elements = traceResult.Elements.Where(e => e.NetworkSource.Name == featureLayer.FeatureTable.TableName).ToList();
if ( !elements.Any() ) continue;
features = (await _utilityNetwork.GetFeaturesForElementsAsync(elements)).ToList();
Thoughts on what I am doing wrong here? Thanks -Joe
... View more
08-12-2020
12:32 PM
|
0
|
10
|
5936
|
|
POST
|
How does esri not give a way to update the cloned env. The reason it was cloned was to make changes. Re-cloning is a pretty lousy solution as now one needs to recall all the changes. I just did upgrade to 2.6 and have this issue. Amazes me sometimes esri doesn't fix this stuff (although, been working with their software long enough to never be amazed)
... View more
08-05-2020
08:58 AM
|
1
|
0
|
3044
|
|
POST
|
Is GetArcGISFeature is an extension method, unless I am missing something in documentation. As a first guess I would check the symbology of the new point to be sure there is a symbol being applied to the new feature. Also you really should not need the Refresh, it does not do a redraw of the layer, the point should be visible once added
... View more
07-09-2020
08:19 AM
|
0
|
2
|
2482
|
|
POST
|
There is no C: drive on an iOS or Android device, you cannot set a location like you would in Windows with a full path. The easiest way is to use a Environment.SpecialFolder because this returns the platform specific location. var mapPackageFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "SomeSubfolder", "SomePackageName");
... View more
07-06-2020
04:15 PM
|
1
|
2
|
3254
|
|
POST
|
What platform, WPF or UWP? UWP restricts where you could put files.
... View more
07-06-2020
09:20 AM
|
0
|
4
|
3254
|
|
POST
|
It was the correct setup, I have since blown away the instance on AWS so cannot show. I removed and re-added the Web Adapter multiple times (some with a re-install of Web Adapter). It showed the correct values but would still redirect
... View more
06-23-2020
08:49 AM
|
0
|
1
|
2707
|
|
POST
|
I have this happening on a portal 10.8 install, and in fact cannot get it to not happen. I have rebuilt numerous enterprise servers (on AWS) and this always happens. My hosts file is empty, I have a single machine name (no alias). Everything is fine, I have installed Enterprise more times than I could count and have never seen this until I started doing on these 10.8 instances on AWS (I have installed on AWS before). This is a single machine install
... View more
06-17-2020
01:22 PM
|
1
|
3
|
2707
|
|
POST
|
Not 100% sure what you mean bu get a reference to... SystemLocationDataSource is a device dependent implementation of LocationDataSource, so having the class available in the .net shared Xamarin library is not be possible. However, in my shared project the property mapView.LocationDisplay.DataSource will be the SystemLocationDataSource for the currently running platform
... View more
06-08-2020
02:25 PM
|
0
|
0
|
2157
|
|
POST
|
You need a license to deploy a Runtime application Licensing your ArcGIS Runtime App | ArcGIS for Developers For offline data I believe you need at minimum Standard level but your account rep is probably the best source for determining this information. Other things factor in (internal app vs external, do you have ent. agreement, portal licensing...). We have always licensed applications by connecting to ArcGIS Enterprise and validating named users
... View more
06-04-2020
07:41 AM
|
0
|
0
|
2325
|
|
POST
|
The MapView has a LocationDisplay Class property. Using this property you can turn on/off location collection and also adjust properties associated to displaying the location. The class includes LocationDisplay.LocationChanged Event which is what you tie into to get the current location. The API provides a default implementation of LocationDataSource, SystemLocationDataSource Class. In Windows this ties into the location service. On a non-gps device this would just be a location determined from the IP, on a device with onboard GPS it will use that. External GPS behave differently so there is no one size fits all answer. There are USB external devices that will tie into the location service and can just be used as is with the default implementation. Other would require you to create your own implementation of LocationDataSource Class. Hope that helps -Joe
... View more
06-03-2020
03:19 PM
|
0
|
0
|
2010
|
|
POST
|
So you created an array the goes x,y,z,x,y,z,... What is the original file look like, this seems an odd way to load the data from the file
... View more
05-26-2020
06:47 AM
|
0
|
0
|
1531
|
|
POST
|
I find it a little convoluted. But you need to get the Groups a user is in, and then from there all the PortalItems in those groups private async Task<IEnumerable<PortalItem>> GetWebMaps(ArcGISPortal portal)
{
var groups = portal.User.Groups;
var usersMaps = new List<PortalItem>();
foreach (var portalGroup in groups)
{
var parameters = PortalQueryParameters.CreateForItemsOfTypeInGroup(PortalItemType.WebMap, portalGroup.GroupId);
parameters.Limit = 50;
var portalItems = (await portal.FindItemsAsync(parameters)).Results;
usersMaps.AddRange(portalItems);
}
return usersMaps;
}
... View more
05-21-2020
08:18 AM
|
2
|
0
|
1416
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-11-2026 09:07 AM | |
| 1 | 10-23-2025 12:16 PM | |
| 1 | 10-19-2022 01:08 PM | |
| 1 | 09-03-2025 09:25 AM | |
| 1 | 04-16-2025 12:37 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|