POST
|
Thank you very much, sir! It was exactly the issue you mentioned. I didn't know the map extent present when the Analyze window appeared would influence the exported files but it turned out it did. Everything on the app is working fine now, just like it's working on ArcMap. Second time you were really accurate and straight to the point and provided valuable support, can't thank you enough! Cheers!
... View more
05-18-2020
03:14 PM
|
0
|
0
|
1445
|
POST
|
Hello everyone, I would like to revive this topic because of the problem I had following the execution of the ClosestFacilityTask. The result I get on the mobile app is different from the ArcMap one, it seems like on the mobile app, not all possible routes are displayed for some reason. Does anyone have any idea why this may happen? I assume the problem in on the Network Dataset itself because I tried using the San Diego one and everything was working fine. The code I used is presented above on the first message, as well as the settings chose on the ArcMap exporting screen for ArcGIS Runtime Content. I will attach the Transportation Network that was generated. Thank you in advance for all the help provided. Android result: ArcMap result:
... View more
05-16-2020
02:54 PM
|
0
|
2
|
1445
|
POST
|
Thank you very much, the issue was exactly that, I completely ignored that 'tn' folder. The ClosestFacilityTask worked now despite some problems that I will try to figure out (reds are incidents, blues are facilities) I will also try the mobile map package approach on ArcMap (I don't have ArcGIS Pro). Once again thank you very much for your feedback!
... View more
05-15-2020
04:11 PM
|
0
|
5
|
1445
|
POST
|
Hello everyone, I'm having a problem regarding the use of a custom Network Dataset. So I built a Network Dataset using ArcCatalog and ArcMap 10.7.1 and exported as ArcGIS Runtime Content on ArcMap as a .geodatabase file. The settings chose for the exported file were: "Do not include feature and tabular data"; "Do not include a basemap"; "Include network data from the current map"; and "Do not include a locator". I then put this file on an Android emulator device and tested the find-closest-facility-to-multiple-incidents-service sample from ESRI's Github loading my geodatabase file through its path and using some custom example layers as Facilities and Incidents. The code I used is in the attachment. I tried to run the app and whenever I pressed the button to solve the ClosestFacilityTask I had an error with code 18. After checking the Platform Codes of the ArcGIS Runtime for Android this code was described as an 'Internal Error Exception' under the 'ArcGIS Runtime errors' category. Thinking that this error might be due to a misconfiguration of my Network Dataset or possibly it wasn't really prepared to be used on the ArcGIS Runtime, I proceeded to search for an alternative Network Dataset geodatabase that could be used for testing. I found this one from ESRI (only the file with .geodatabase extension) and tried to test on my app. Unfortunately, I got exactly the same error with code 18. I tried to figure out the reason for this error and for the failure of the ClosestFacilityTask but couldn't find one. I will provide the code from the MainActivity Java class, as well as my geodatabase in hopes that someone could provide some valuable insight as to why I get this error. Thank you very much for the support, It is strongly appreciated.
... View more
05-15-2020
02:23 PM
|
0
|
8
|
1591
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|