|
POST
|
I gave up on appending the data from Python. I thought appending the new data from a gdb on the item details page would be good enough but testing it now I see that the attachments have not been appended with the points. What can I do?
... View more
02-15-2019
02:06 PM
|
0
|
6
|
2487
|
|
POST
|
Soooo.... I am a big step further down the road now but now I am stuck. (all done in one python script) I ... 1. download the json of the existing AGOL feature service and write the UIDs in a list. 2. compare the UIDs of my desktop feature class with the ones in the list from 1. 3. select those items with UIDs that are not in the list and copy them to a new feature class in an otherwise empty gdb (copying the items keeps the attachments). 4. create a service definition draft (CreateMapSDdraft) 5. change a couple of settings like described here: CreateMapSDDraft—Help | ArcGIS for Desktop 6. stage the service and Upload the service definition 7. get the serviceItemID from the uploaded service The idea was now to use the append API through python to append the new feature service to the old one but when I try it in the browser it says that Append is not enabled for my layer. I removed both sync and track changes settings. Using UpdateDefinition API adding Append to the capabilities {capabilities : "Create,Delete,Query,Update,Editing,Append", , it accepted my changes. I also checked for the {"supportsAppend" : true} setting which is correct for my service. It still keeps saying Append is not enabled. Would you say in general I am on the right track? But how do I overcome the "Append not enabled" issue? Since I saved the new data in a new gdb now I can use the append tool on the item details page but I would prefer to do it all in python. Any other hint?
... View more
02-15-2019
12:45 AM
|
0
|
0
|
2487
|
|
POST
|
Thanks Katherine, unfortunately I can only see that my feature service has e.g. 280 KB like in this example but it doesn't show me that the attachments in it have about 500MB. Even in the admin view I can only see the amount per feature service but for the attachments I can only see the total used storage, not to which feature service the data is attached...
... View more
02-13-2019
11:22 PM
|
0
|
1
|
4289
|
|
POST
|
I thought this could be a workflow but it does not work: - Exporting the survey123 gdb from the survey123 website (data tab) - Edit what needs not be edited in ArcMap - Re-publish the feature service with overwrite -> not accessible for overwrite
... View more
02-13-2019
02:42 AM
|
1
|
0
|
1754
|
|
POST
|
If I might jump onto this question: Is there a way for a normal user to check on the storage used by his/her content? We try to make our staff aware of the usage of credits for what they store online so it would be good to see by themselves what is using how much without having the admin to investigate on it.
... View more
02-13-2019
01:51 AM
|
1
|
3
|
4289
|
|
IDEA
|
I wish I had a backup of my storymap that I just deleted by accident 😞
... View more
02-13-2019
12:39 AM
|
2
|
1
|
4246
|
|
POST
|
Thanks Khaled, Forgive me my lack of knowledge but the link referes to the Python API for ArcGIS, right? There is no arcgis.gis module that I can use when trying to set up a python script tool for ArcMap 10.6, is it? I need to achieve this somehow from ArcMap 10.6, ideally through a python script tool. But it's the first time that I try to access/work with AGOL data within python. My idea is to download or read the table of the uploaded service, compare it to the updated version on my desktop, detect changes and new rows and then only append what is new or updated. I feel my brain is blocked to understand how I would do that in python...
... View more
02-13-2019
12:30 AM
|
0
|
0
|
2487
|
|
POST
|
Thanks Khaled for your input. Do you maybe have a link to an example for me how to use the append API in python?
... View more
02-12-2019
12:13 AM
|
0
|
2
|
5225
|
|
POST
|
Now I am testing my survey on different devices and found some interesting (for me unexpected or at least unknown but probably as designed) behaviour: - When using the calculator the value is automatically put with commas as thousand separators. - On a bigger tablet (Samsung Galaxy 7), when using the number appearance but not using the number fields but the text keyboard, when pressing the "done" button, the numbers are put with commas as thousand separators. - On the smaller tablet this does not work when using the number keyboard only. (On that tablet the number keyboard automatically is used with an integer field) - When using the numbers appearance I get a comma sign to separate the thousands (I haven't realized this one before) and the number would be shown in red as long as the numbers behind the comma don't match. It would be nice if the numbers field would be "clever" enough to show the commas without putting them manually but it is already a relieve to see that I don't have to reproduce this by doing calculations for each field...
... View more
02-10-2019
10:12 PM
|
0
|
0
|
1256
|
|
POST
|
The other android devise looked a bit better for the signature but I didn't have the chance to test it for the overall performance. It was also a bit bigger than the ones we usually use. The stylus didn't make it better...
... View more
02-08-2019
10:15 AM
|
0
|
0
|
1031
|
|
POST
|
I am afraid that using the append in AGOL will not be sustainable with the increasing amount of data over the time if I have to upload the gdb each time which is already for my small testing sample 33 MB. Our clients are looking for a good way to update the data without uploading the whole feature class each time, considering that the project might run over 10 years and they need to update the data regularly.
... View more
02-04-2019
09:45 PM
|
0
|
4
|
5225
|
|
POST
|
The strange thing in the python API is that the table view (SDF) shows that the data was appended and when I run the script again it it doesn't find any more missing features. But when I look in AGOL at the feature service data there are still only the first set of features. I can't figure out at which point to use the upsert. In general I don't need to update the existing features but it might be necessary in future. I have an unique identifier which is a string and which is not available when I use the append function from AGOL. Using AGOL I worry about two things: 1. If different users are using different copies from the feature class to add features I guess it could happen that an Object ID exists that is not the same feature as an Object ID among the new features. Thus it would be better to use our unique identifier. 2. I assume that when I upload a database with the feature class that it is effectively (from the data transfer) the same as updating/overwriting a service. My next problem is that I have to find a solution without the python API - could I put the same in a python script running from ArcMap 10.6?
... View more
02-04-2019
12:07 PM
|
0
|
1
|
5225
|
|
POST
|
An option that I have never seen before which makes it much easier is the Update function in the feature service with appending data from a gdb. I am not sure though if this makes a difference to the overwrite function out of ArcMap. Maybe someone can enlighten me on that? I still like the idea of using the python API because I have the feeling to have more control about what is happening. However, I am new to the Python API but at least managed to get to the step where I have appended the data within the API with new_rows.append(old_fset.sdf) but the service is not updated. What would I need to do to have the changes actually applied to the feature service? Thanks!
... View more
02-02-2019
11:09 PM
|
0
|
8
|
5225
|
|
POST
|
Hi folks, I am looking for a way of appending new data to an existing feature service instead of overwriting it every time. The existing feature service holds attachments and becomes quite big over the time. Our internet here in Rwanda is sometimes not very stable so we are looking for a way to avoid uploading a GB of data every time the data is updated. (By the way: Is there a way to see the size of a feature service including the attachments?) While locally I can append new data to an existing feature class I haven't seen this option yet for feature services. Would it maybe be possible to do this through a python script? I would be happy if you have any suggestions.
... View more
01-31-2019
10:16 PM
|
0
|
19
|
9232
|
|
POST
|
Can someone say why this relevant condition is causing an error in the webform but not in the field app? The condition is Question 4.7 >0 to show the repeat section with repeat count=4.7
... View more
01-31-2019
09:15 PM
|
0
|
0
|
6208
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2023 03:26 AM | |
| 1 | 02-13-2019 01:51 AM | |
| 1 | 04-03-2025 11:07 AM | |
| 1 | 01-14-2024 01:34 PM | |
| 1 | 10-01-2018 10:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|