|
POST
|
Did you check your ArcGIS Server logs for the system.SyncService? We have issues like this all the time when using a SQLServer powered SDE database. Generally there is some error related to being unable to acquire a "difference cursor" and generate a response. What this translates to in human words is that ArcGIS Server checked in the data but couldn't determine what might have changed in the database prior to the checkin so it couldn't generate a response to the device to complete the sync. Sometimes this has turned out to be because the database server is low on resources... especially if using archiving. Adding gobs of RAM to that server seems to help. Regardless it comes up frequently enough that we have built a database reset switch into our custom apps so users can archive their offline geodatabase and download a clean copy.
... View more
08-01-2018
11:34 AM
|
0
|
0
|
2465
|
|
POST
|
Thanks Mark! I think that will be just the ticket for a few of our use cases. In some cases it would be really helpful if we could do queries like this against joined tables. Is this supported in v100 or are there plans to support joined tables in the future?
... View more
07-10-2018
09:47 AM
|
0
|
1
|
1141
|
|
POST
|
I'm increasingly running into situations where for whatever reason I end up querying all the features in a AGSGDBFeatureLayer and iterating through them to do X. Typically X is pulling data for summary statistics of some sort, various counts of related things, tallying up distances, etc... I'm wondering if it would be possible, and if anyone has attempted, to use the SQLite db powering the runtime database to create custom views. The thought being that once a project database has been downloaded to a device a little routine could go in and join things up in views to power these summary activities and save the compute required to run these summary routines... which run a serious risk of causing trouble when we get into large quantities of data. We do this all the time on the web side of things and I'm a bit jealous of our web developers.
... View more
05-30-2018
04:04 PM
|
0
|
4
|
1376
|
|
POST
|
Interesting solution - I'm curious why you are trying to download individual image tiles directly rather than just loading up a rasterLayer and handing it a portal or AGS item?
... View more
01-05-2018
11:17 AM
|
0
|
0
|
1216
|
|
POST
|
Sorry - that should have read is fixed as of the latest update... thank gawd. Now if they can only get code folding back in Xcode...
... View more
11-15-2017
02:05 PM
|
0
|
0
|
1599
|
|
POST
|
FYI - this issue is not fixed as of the last XCode update
... View more
11-06-2017
12:44 PM
|
0
|
2
|
1599
|
|
POST
|
Turns out this is due to a bad Open GL ES library. Temporary fix is to pull those libraries from an older beta of XCode and drop them into your current XCode bundle... sounds scary but it isn't. Links to those files as well as instructions have been posted to Redit here: https://www.reddit.com/r/iOSProgramming/comments/71e2x0/anyone_else_simulator_being_painfully_slow_since/dnaj3sc/ This fixed it on my MBP running High Sierra and XCode 9
... View more
10-05-2017
11:41 AM
|
0
|
0
|
1599
|
|
POST
|
At least in my experience the default behavior when syncing is to send and receive only the diff information. You shouldn't be getting back the entire dataset.
... View more
08-24-2017
10:36 AM
|
0
|
0
|
1449
|
|
POST
|
There are a number of ways you could approach this... For starters if you use an off-line workflow you can have far more than 1000 features, . We've done data collection using runtime apps that generated upwards of 500k features sync'd them across multiple devices and it worked. If I were in your position I think I'd consider one of two options: Create a non-editable building footprint layer for display purposes, then add a second "survey buildings" layer in which you drop the current batch of buildings to be surveyed. Add a related table to your database, and use that to collect whatever data is included in the survey. Either way keep in mind that you will eventually end up with some pretty large archives/business tables in your SQL Server database. We've frequently run into issues where that archive becomes corrupt, or ArcGIS Server/AGOL runs into other issues when syncing the data. The only option is to then clear and re-build the archive, republish the service, and in the case of collector remove and re-download the map to your devices.
... View more
04-21-2017
01:23 PM
|
2
|
0
|
1039
|
|
POST
|
This is the exact same code we use - maybe check your spacing and indentation to make sure everything is lined up correctly? If SDE is the issue you might also try to copy/paste everything into a file geodatabase and then run the export script on it.
... View more
02-27-2017
06:04 PM
|
1
|
0
|
1532
|
|
POST
|
Hi Adam - I believe App Login can only work with content that is public in AGOL. You can certainly embed credentials in a UserCredential object and use that to connect, however doing so probably runs afoul of ESRI's named-user requirements for AGOL. If you were hosting data on an on-premise ArcGIS Server use of a "service account" to access content would be OK.
... View more
02-06-2017
05:30 PM
|
0
|
0
|
879
|
|
POST
|
Yes - in this case we have a transit efficiency study that uses background location tracking to collect track points every X seconds while surveyors ride various bus routes and document delays in service. While the track data is being recorded the app is keeping a running tally of the cumulative distance of the current track and writing it to a field each time it collects a point. Recently we've run into instances where the ObjectID is being written into the distance field instead of the distance value. I haven't had a chance to diagnose why that is happening just yet, but I wrote up a quick routine to iterate through the database and recalculate the cumulative distance values for a survey, or for the entire dataset. This is what is creating the 300k edits. I believe the track point feature class has ~15 fields. The only field modified is the cumulative distance (double) field.
... View more
02-06-2017
05:07 PM
|
0
|
0
|
983
|
|
POST
|
In this case it isn't the app - the diff database is successfully uploaded to ArcGIS Server - the server just silently stops at some point and doesn't complete the data sync. I'm not super clear how sync is handled internally on ArcGIS server, but for what it's worth, when I convert the database and join the records to manually move the edits across field calculations don't seem to be calculating so perhaps it's an issue with the database server. We've already boosted RAM on that machine to deal with issues we've run into with the archive maxing out the memory but perhaps something else is gumming up the works.
... View more
02-06-2017
05:00 PM
|
0
|
0
|
983
|
|
POST
|
We have a transit efficiency app that occasionally needs to perform calculations for large numbers (200k - 1m) of records. In the majority of circumstances syncing this database after doing a large calculation like this will result in a silent failure with no messages in the logs. In these cases I'm forced to retrieve the uploaded diff database and manually add the data to our SQL Server-powered SDE database. Of course physically joining and updating fields in 200,000 records is also proving to be quite slow and unreliable, to the point where I generally have to delete and replace the entire record rather than update the fields. It seems that perhaps there is a practical limit to what can be done via the sync process. I'm curious if anyone at ESRI can enlighten me on what the limiting factors might be (memory, bandwidth, processor, etc...) and if any work has been done to identify these limitations. Thanks
... View more
02-04-2017
12:05 PM
|
0
|
4
|
1984
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 03-06-2024 10:15 AM | |
| 1 | 05-18-2022 03:07 PM | |
| 2 | 06-05-2023 09:15 AM | |
| 2 | 12-04-2022 10:01 AM | |
| 1 | 12-13-2022 12:38 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|