|
IDEA
|
@RussellBrennan Thanks for the extra info - saved me some trouble with testing.
... View more
07-28-2021
05:47 PM
|
0
|
0
|
7295
|
|
IDEA
|
Hi @RussellBrennan. Thanks for the info - thats welcome news. The workaround you listed is also good to know, though won't help in most cases for me we're using this in Model Builder, so no Undo/Save option. The truncate tool though should do the trick when updated (I and my Team are admins so will work fine) - though unless you can confirm for me, I'll need to test to see if it honours Make Feature Layere to only delete a subset of rows and now the whole table??? I've already swapped Delete Rows out for the Truncate Table tool in some models where all rows are the target and it's a Feature Class, but the killers are those Feature Services, so looking forward to seeing that release.
... View more
07-27-2021
05:05 PM
|
0
|
0
|
7320
|
|
IDEA
|
Thanks for the suggestion @SarahAmbrose1 . I had not previously looked at this tool. Unfortunately, reading through the documentation at the link you provided, this doesn't look like it will work for this problem; This tool does not support a feature service layer as input. Though, I may start implementing it in other models that are modifying Feature Classes in place of the Delete Rows tool. I'll also test to see if it honours Definition Queries and Make Feature Layer for removing only a subset of rows in a table.
... View more
07-26-2021
05:30 PM
|
0
|
0
|
7345
|
|
IDEA
|
@DougMorgenthaler This is unfortunately part of me not getting out of the office enough - for some reason I completely forgot that this can already be done. I still stand by my comments regarding audible alerts though for when streaming stops due to poor accuracy, etc.
... View more
07-25-2021
05:25 PM
|
0
|
0
|
3550
|
|
POST
|
Thanks - a simple solution to an annoying problem. Worked a treat.
... View more
07-22-2021
10:05 PM
|
0
|
0
|
3683
|
|
IDEA
|
Completely agree with this request. Avenza is the biggest "roadblock" when trying to get people to take up Field Maps - as they prefer Avenza for some of it's simplicity and basic features that Field Maps isn't as good at (i.e. working in rough terrain and needing hands free). I also think that having audible alerts for when streaming stops due to poor calculated accuracy, manual input etc, would be beneficial so that users know they need to check/wait whilst not looking at the device.
... View more
07-19-2021
05:37 PM
|
0
|
0
|
3571
|
|
POST
|
Thanks. I figure it's something simple but struggling to find an example that clearly breaks down the different components in a way I understand. Thought I was returning the value on the 2nd last line, but obviously not.
... View more
07-15-2021
06:22 PM
|
0
|
1
|
5118
|
|
POST
|
Thanks @DanPatterson I had seen that post. I suppose that wasn't quite what I was looking for in that it returns an existing value instead of passing (or "continuing") onto the next row - I couldn't confirm if it was still recalculating the field with the existing value or actually skipping the row.
... View more
07-15-2021
05:45 PM
|
0
|
0
|
5127
|
|
POST
|
Hi @JoeBorgione I think this is what I'm looking for. Trying to implement now and see how it performs, but struggling with my newness to arcade and getting my head around the structure. var row1 = $feature['featureclass.Work_Centre']
var row2 = $feature['jointable.csv.WorkCentre']
for(var r in row1) {
if (r==row2) continue;
if (r!=row2);
row2;
} Essentially in the code section of the Calculate Field tool I'm, trying to read 2 fields in a feature class joined to a table and compare the 2 fields. If values match, continue, if not, return value from the join table (row2). Any pointers on where I've gone wrong? It told me it was valid, but when I ran it, all values were calculated as Nulls instead of being left as they were or updated with new values.
... View more
07-15-2021
05:43 PM
|
0
|
0
|
5130
|
|
POST
|
So I know that in python you can write if-else statements and use "pass" to skip doing something if that is desired. I've trawled the web on Arcade and can't find an equivalent to the pass option in python. Does this exist? i.e. - I have a feature class and table joined together. I want to compare 2 fields to see if they match (if FieldA == FieldB). If they match, do nothing (pass), if not, return FieldB. I know I could simply return FieldA (as per this solution in this post) but I want to see if by skipping instead of returning FieldA, it might improve the speed of the calculation if it can skip values instead of returning the original value??? P.S. I couldn't actually get it to work in python - it didn't seem to like the joined field names (i.e. Table1.FieldA == Table2.csv.FieldA). I did get it to work on a an un-joined feature class (i.e. FieldA == FieldB). I'm guessing it was the "dots" between the table name and the field name that was confusing it.
... View more
07-14-2021
11:59 PM
|
0
|
7
|
5193
|
|
POST
|
So I'm sure this has to be possible, and I just haven't googled the correct terminology yet. We have a number of feature services for different field based tasks (served up through offline enabled webmaps in Field Maps) and many have a common feature which is to record the Field Officer name. We can't use the Creator or Editor fields as the data is created in the office by a planner, and is edited multiple times by different people. We want to record which Field Officer manages an operation over multiple operation types (thus multiple feature services). Unfortunately this means we have many lists of names that we have to update to add/remove people as they start/leave/move around the business. Is there a way to have a single list source that is replicated to/syncronsied with the Domains of specified fields and feature services?
... View more
07-14-2021
09:00 PM
|
0
|
0
|
952
|
|
IDEA
|
So with Pro 2.8, we got the much wanted improvements to the Append tool when appending features to a feature service in ArcOnline. This reduced upload times when appending hundreds or thousands of features from many, many mintutes/hours to mere seconds. It would be great if the same sort of improvement could be applied to the Delete Rows tool for when you're trying to do the opposite (still painfully slow).
... View more
07-14-2021
12:28 AM
|
10
|
22
|
11781
|
|
IDEA
|
I have been intending to log this very same request over the last few weeks and kept forgetting - looks like I was beaten to it by @MarcelSt-Germain. All the same, I have learnt that you can filter by broken links (Thanks @KoryKramer - this will be handy) but also support the idea for an indicator at the grouped layer level showing broken links of the sub-layers. You're not always expecting broken links and therefore won't look for them, and in our maps, almost always are buried in Group Layers too.
... View more
07-11-2021
07:02 PM
|
0
|
0
|
2468
|
|
POST
|
Tried that but got the following error immediately; ImportError: cannot import name 'strptime' from 'datetime' (C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\datetime.py) I assume that's because strptime is coming from within the datetime class and not the datetime module (something someone else pointed out to me in an unrelated post.
... View more
07-09-2021
01:31 AM
|
0
|
0
|
3802
|
|
POST
|
I just tried your solution and ran the problem script by itself and got the following error; Exception: module 'datetime' has no attribute 'strptime' So instead I added "import datetime" line at Line 23 and left the rest of the script as it was originally. It worked standalone, and also in the batch run as desired. Thanks for the pointer. One day I'll get my head around all of the in's and out's of this!
... View more
07-09-2021
12:57 AM
|
0
|
2
|
3825
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Monday | |
| 3 | a week ago | |
| 3 | a week ago | |
| 2 | a week ago | |
| 1 | a week ago |
| Online Status |
Online
|
| Date Last Visited |
57m ago
|