|
POST
|
That's the couple things I can think of off the top of my head. Have you ran it in Pro, went to the Analysis History and saved it as a python file? This will output the python used being the model and could make it easier to follow and see what is going on. If you can't figure it out from that, if you could post the relevant code, could dive into it deeper. R_
... View more
09-21-2023
09:24 AM
|
0
|
1
|
2575
|
|
POST
|
Are you referencing 'Layers' (from the TOC) from a drop-down list in any of the tools in the model? If so, Pro will 'see' them, but with Pro closed, a script will not. You can, instead of the drop-down, click the folder icon and browse/select the actual data source. R_
... View more
09-21-2023
08:53 AM
|
0
|
3
|
2580
|
|
POST
|
In the popup config, do you have the "Display Attachments As" set to Gallery? R_
... View more
09-21-2023
07:47 AM
|
0
|
1
|
2635
|
|
POST
|
Are you running the scheduled task when not logged in? Where are you trying to export the file to? When running as a scheduled task and not logged in, any user mapped drives will not be available. If this is the case, you can export to a network drive (UNC, not mapped), or a local drive. Not sure if this helps, but is often the cause of it working when logged in, but not when scheduled. R_
... View more
09-21-2023
07:38 AM
|
0
|
1
|
2594
|
|
POST
|
I have seen this when you collect a bunch of data in an area, and the offline area is now too large due to more features/attachments in it. Had to create a smaller offline area to get it to succeed. Also, you say you changed the basemap as well. I am only able to create/download a fairly small area of my data if I have a 'normal' basemap included unless I take the Level of Detail down to the world level. Which will not do in most cases. So, I create the offline areas with a small vector basemap (since AGOL won't let you create a map without a basemap) and tell it to use the basemap I have side loaded onto the app device when generating the offline area(s). In case any of this applies, R_
... View more
09-20-2023
01:11 PM
|
1
|
0
|
9576
|
|
POST
|
You can set this in the Settigs of the item details page for the hosted feature layer you have in your field maps. You can choose update only (no Add/Delete) and even whether they can update the attributes only or the geometry as well. R_
... View more
09-20-2023
01:00 PM
|
1
|
0
|
1424
|
|
POST
|
In Map Viewer, make sure you select the Layers icon, then select Add: Once you find the published tile layer, you can click the + Add button: which should add it as a data layer, not a basemap. Or, you can click on the tile layer itself and choose where to add it: This will add it to the layers and can be moved above/below other layers, and toggled on/off: R_
... View more
09-19-2023
11:19 AM
|
0
|
0
|
7790
|
|
POST
|
I'm sure there could be other causes, but so far, this is what I've run into that causes the list save button to be greyed out when trying to modify the list in the browser. If you try to enter a duplicate entry, it will give you an error. However, if there is an invalid entry in the table already, it will not flag as error, just won't activate the save button. I've seen this mostly when bringing in Excel table for domain table and Excel auto filled some values wrong. With huge domain list, I either just overwrite the entire domain list (with a clean table) using the python API, or, export the JSON from the service, load into Excel and query for duplicated values. R_
... View more
09-19-2023
09:12 AM
|
0
|
0
|
1379
|
|
POST
|
Are you logged in as the owner of the hosted feature layer (or administrator)? If not, you will not see these options. R_
... View more
09-12-2023
04:29 PM
|
0
|
1
|
1174
|
|
POST
|
That is a good question as I don't recall ever seeing an Area/Length column in degrees. Could you provide an example, maybe that will help figure out what you are seeing and how to accomplish it. Also, if you could show how you'd convert 500 square meters to square degrees, might also help to solve it. R_
... View more
09-12-2023
04:19 PM
|
0
|
1
|
6315
|
|
POST
|
I was not able to do "it". I was able to create an empty shapefile in GCS with decimal degrees. However, to add geometry fields/values, I had to pick a unit that applies to a length or area, not an angle. R_
... View more
09-12-2023
03:54 PM
|
0
|
3
|
6329
|
|
POST
|
In catalog right click on folder you want to create the shapefile, select New, Shapefile. Fill in the name, type, and set coordinate system to the one you want. Click Run. Can also use the Create Feature Class GP tool, just put location as a writeable folder, and add .shp to the end of the filename. Open the Calculate Geometry Attributes GP tool, select the input shapefile, enter the field names and Property (limited to 10 characters since a shapefile), and click Run. Done. Of course, unlike GeoDatabases, the shape fields in a shapefile are static, so, since this is a new 'empty' shapefile, only the fields will be added, but will not update dynamically. If something changes (additions, modifications), you will need to re-calculate the geometry fields which can be done with the tool, or right-click the geometry field in the attribute table and select Calculate Geometry. R_
... View more
09-12-2023
02:55 PM
|
0
|
5
|
6339
|
|
POST
|
Looks like maybe I should have read that better, skimmed past the pro. Do love the f strings, makes query expressions much easier. R_
... View more
09-12-2023
01:43 PM
|
0
|
0
|
2714
|
|
POST
|
Agreed. However, by looking at the database name in the path, I assumed this was most likely pre python 3 and the .format works for both. R_
... View more
09-12-2023
12:43 PM
|
0
|
2
|
2726
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:00 PM | |
| 1 | 09-14-2022 07:53 AM | |
| 1 | 09-14-2022 08:23 AM | |
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM |
| Online Status |
Online
|
| Date Last Visited |
Wednesday
|