POST
|
I found a work around that does not remove any fields. Right-click the destination (in my case it is a file geodatabase) Choose Import Feature Classes I see that this BUG is addressed in 3.12.
... View more
07-31-2023
11:31 AM
|
1
|
0
|
8737
|
POST
|
I think I've found the solution! When creating the input you can specify the "Backlog Timespan (in seconds)". Setting this value seems to poll backward nicely. I also set the polling frequency to 3 which is the minimum value. This sped the download up significantly.
... View more
06-12-2023
02:48 PM
|
0
|
0
|
641
|
POST
|
We are exploring options for processing events from a large number of GeoTab units. Our units have been collecting for the past 5 months. I would like to access this data. We can download directly from the GeoTab site, however the export options are Excel and PDF. Excel formats have a limit of 100,000 rows per file. Can the GeoEvent Server GeoTab Connector access historic (i.e. > 5 months ago) data?
... View more
04-11-2023
02:55 PM
|
0
|
1
|
744
|
POST
|
Hello, thank you for the reply. I should have mentioned that the first 3 expressions seem to work fine. It's the Average Closures Per Week and Month that do not. The RESPONSE_TIME_H field is a double. I get results when I use the @ format. Now I think my logic is incorrect. All the records have the same value for the field now. This makes sense as the total count is 198 and there were 22 weeks or 5 months in the program. My goal was to show the total events filtered by another field. This data is collected from highway maintenance crews. For example: I would like to filter by maintenance camp, or highway classification. I think I might need to use an indicator or chart, but I'm not sure. Thank you for your help. Even is this doesn't solve my problem, I now know how to use variables in a GroupBy expression. Have a good weekend.
... View more
01-27-2023
03:13 PM
|
0
|
0
|
2580
|
POST
|
I am trying to display the average event closures in a dashboard list using a GroupBy function. I would like to display the average closures per month and per week. I'm trying to do this using a GroupBy expression that divides the total closed events by the program length. The test results either shows NaN (Not a Number), or no results. I've tried using the Number function in the expression to convert the equation to a number, but this produces no results in the Test. Apparently can't use a variable in the expression because this again produces no results. I've tried adding fields for Total Weeks and Total Months. This doesn't work either. I'm fairly new to Arcade . This seems like a simple task. Can some one show me where I'm going wrong? Thank you var fs = FeatureSetByPortalItem(Portal('xyz'), 'xyz', 0, ['*'], false);
//Filter for closed events
var fs_closed = Filter(fs, 'STATUS > 1');
//Count rourds after filtering
var cnt = count(fs_closed);
//return cnt
var mths = 5
var wks = 22
// Return a featureset with single group by statistics.
return GroupBy(fs_closed, ['TMM','FUNCTIONAL_ROAD_CLASS','CAMP'],
[
{name: 'Average Reponse Time (hours)', expression: 'RESPONSE_TIME_H/1', statistic: 'AVG'},
{name: 'Average Reponse Time (days)', expression: 'RESPONSE_TIME_H/24', statistic: 'AVG'},
{name: 'Average Reponse Time (weeks)', expression: '(RESPONSE_TIME_H/24)/7', statistic: 'AVG'},
//Count the total records and divide by the program length.
// {name: 'Average Closures Per Week', expression: 'cnt/prglnthwks', statistic: 'AVG'},
{name: 'Average Closures Per Week', expression: 'cnt/wks', statistic: 'MAX'},
//{name: 'Average Closures Per Week', expression: 'Count(OBJECTID)/prglnthwks', statistic: 'AVG'},
//{name: 'Average Closures Per Month', expression: 'cnt/prglnthmths', statistic: 'AVG'}
{name: 'Average Closures Per Month', expression: 'cnt/mths', statistic: 'MAX'}
//{name: 'Average Closures Per Month', expression: 'Count(OBJECTID)/prglnthmths', statistic: 'AVG'}
]
);
... View more
01-27-2023
01:44 PM
|
0
|
2
|
2645
|
POST
|
I had the same issue. I was trying to use a list element with advanced formatting to calculate some statistics. I got it to work by creating a data expression and adding this as a layer in the element.
... View more
01-23-2023
02:44 PM
|
0
|
0
|
2010
|
POST
|
Greetings, I would like to use a CSV I've published in Portal for a list in a user input in QuickCapture. Manually pasting a new list into QuickCapture each time there is a change is cumbersome. Is there a way to reference the CSV I've published in the QuickCapture project or JSON? Thank you for any help.
... View more
09-28-2022
04:39 PM
|
0
|
1
|
557
|
POST
|
@JayJohnsonWashoeCounty I had the same issue. A thousands separator was displayed when numeric field values are used in labels, and pop-ups in ArcGIS Online or Enterprise. This was a problem when displaying acquisition year for aerial photographs. To resolve this in pop-ups: I used the Round function, with the number of decimal places set to 0. Example: "Round(($feature.ACQUISITION_YEAR),0)" For List elements in ArcGIS Dashboards: I used the Text function, with "0" for the digit format. Example: "return GroupBy(fs,[Text('EQUIP_NUM',0),'DATE','CAMP_NAME','ROAD_SEG','FUNCTIONAL_ROAD_CLASS'], " I hope this helps.
... View more
08-24-2022
02:21 PM
|
0
|
0
|
4528
|
POST
|
@KellyKnapp35 . Thank you for the reply. That's also a good idea. I will speak to the user of the dashboard and see what works best for them.
... View more
07-27-2022
03:56 PM
|
0
|
0
|
1945
|
POST
|
@SteveOwens Thank you for the prompt response. That fixed my issue. I thought I'd already tried that. I didn't realize it was so simple. Much appreciated!
... View more
07-27-2022
03:40 PM
|
0
|
0
|
1952
|
POST
|
I have 7 elements stacked together in a dashboard. There are usually tabs displayed under the stack to move from element to element. In my dashboard, the tabs were replaced with right and left arrows. How can force tabs to appear? The arrows aren't as intuitive for users. Here is what I would like to see: This is what my stack looks like with the right and left arrows. Any help would be greatly appreciated!
... View more
07-27-2022
03:21 PM
|
0
|
4
|
1995
|
BLOG
|
@ToddWilliams4 We had the same issue. The URL seems to reopen the project on the recall. I think this triggers the user inputs. I removed the recall URL parameter, and instructed my users to just tap on the QuickCapture icon to return to the project. This s doesn't ask t for the user inputs. I hope this helps.
... View more
07-25-2022
04:24 PM
|
1
|
0
|
2059
|
POST
|
I figured it out. "rec" needs to be defined outside the Main(). I add this under "import arcpy" and the script runs fine. import arcpy rec = 0
... View more
07-25-2022
03:35 PM
|
0
|
0
|
5936
|
POST
|
This is probably a very simple question: I would like to run a standalone script that populates a field with a sequential ID sorted by a datetime field. I can run the code (below) successfully in the ArcGIS Pro python window, but when I try to run it in IDLE 3.7 the “rec” variable is not recognized. The error I receive is: “NameError: name 'rec' is not defined”. As I understand it, this means the code doesn’t know what “rec” is. When I move rec under “Global rec” and the script runs in IDLE, but populates the entire column with 1. Here is the python code I'm trying to use. Any help would be greatly appreciated! sortFeat = Road_Activity_Reports sortField = 'open_datetime' idField = 'open_rep_cnt' rec = 0 def autoIncrement(): global rec pStart = 1 pInterval = 1 if (rec == 0): rec = pStart else: rec += pInterval return rec rows = arcpy.UpdateCursor(sortFeat, "", "", "", sortField + " A") for row in rows: row.setValue(idField, autoIncrement()) rows.updateRow(row) del row, rows
... View more
07-25-2022
02:48 PM
|
0
|
1
|
5957
|
POST
|
@Mandy_Li Thanks for the prompt response. I agree that we will have to go with the choice list option for now.
... View more
05-13-2022
03:11 PM
|
0
|
0
|
774
|
Title | Kudos | Posted |
---|---|---|
1 | 07-31-2023 11:31 AM | |
1 | 02-04-2022 01:22 PM | |
1 | 07-25-2022 04:24 PM |
Online Status |
Offline
|
Date Last Visited |
07-02-2025
02:50 PM
|