|
POST
|
Has anyone tested Arcade's performance with tight vs more verbose expressions? For example, here is an expression I wrote to count the number of accidents that occurred within 150 feet of a road centerline: Count(Intersects((FeatureSetByName($map, "Accident"), Buffer($feature, 150, "feet"))) A more verbose way to get the same result might be: var accidents = FeatureSetByName($map, "Accident")
var roadBuffer = Buffer($feature, 150, 'feet')
var roadAccidentIntersects = Intersects(accidents, roadBuffer)
var countAccidents = Count(roadAccidentIntersects)
return countAccidents Does anyone know if one expression would perform better than the other in an AGOL pop-up? I've definitely noticed that the more you click on features in a map with spatial analysis, the faster the browser gets at calculating the results. I'm just wondering if there is an advantage to writing tight code as opposed to more readable code.
... View more
12-07-2020
10:39 AM
|
0
|
4
|
3044
|
|
POST
|
I saw the announcement about Collector being "retired" in December 2021. Does that mean that after December 2021, we will not be able to download the Collector app onto any device that does not currently have it installed? Or does it just mean that we can continue to download/use it but there will be no tech support offered after that date? Here's why I ask: the software requirements for Field Maps are fairly high -- iOS 13.5 or Android 8.0. Now I realize that in an ideal world, everyone would be buying new tablets and Smart phones every few years, but that's not the reality. I can easily imagine local governments and non-profits having an investment in older hardware that cannot be upgraded to the latest and greatest OS. In our current economy, they are unlikely to have the funds to purchase new hardware. So, I'm wondering if Collector will still be available past December 2021 for operations that are resource poor but still want to do data collection?
... View more
12-02-2020
12:43 PM
|
1
|
11
|
5712
|
|
POST
|
OK, take two. Try running this tool: Manage Map Server Cache Status (Server)—ArcMap | Documentation . If closing/reopening ArcCatalog doesn't do it, this tool might "shake it loose."
... View more
10-23-2020
02:10 PM
|
1
|
0
|
4817
|
|
POST
|
You need the menu option directly below that, which is grayed out. View Cache Status... has an option to cancel caching. See View cache completion status—ArcGIS Server | Documentation for ArcGIS Enterprise for details. I know I've had a problem with those tools graying out before. Seems like the fix was something stupid like closing and reopening ArcCatalog. I'll see if I can find any documentation and get back to you.
... View more
10-23-2020
02:08 PM
|
0
|
1
|
4817
|
|
POST
|
Based on my subsequent research as well as Jonathan Quinn's comment on this post, I feel confident that it is not possible to migrate to a new server AND upgrade versions at the same time. Disappointing, but it makes sense that there isn't a tool that can do both. Esri would have to come up with custom configurations to accommodate every possible jump between versions. That's a pretty heavy lift.
... View more
10-23-2020
02:02 PM
|
2
|
0
|
2224
|
|
POST
|
I read that blog - it says that the ArcGIS versions have to match if you use the WebGIS DR tool. I'm looking for a way to migrate existing 10.5.1 Enterprise content directly into a new 10.8.1 environment.
... View more
10-15-2020
09:53 AM
|
0
|
1
|
2224
|
|
POST
|
I am getting new servers for our Enterprise deployment, so I need to migrate all of our existing content. At the same time, we are due for a version upgrade and want to install Enterprise 10.8.1. My question: is it possible to install 10.8.1 on our new servers and migrate content from a previous version of Enterprise (specifically 10.5.1)? The prevailing wisdom on server migrations seems to be to either use the WebGIS DR Utility to backup and restore (which requires the versions to match) or to use a Join Site operation to move content (not clear on whether the versions have to match). For what it's worth, the Enterprise deployment is spread out over multiple servers, so software installation is not as simple as running the Enterprise Builder tool on one server.
... View more
10-15-2020
09:33 AM
|
0
|
4
|
2278
|
|
POST
|
Yes, I did confirm that it came in as a double. I wouldn't have believed it if I hadn't seen it with my own eyes because you are 100% right that it's impossible. I wish I still had the table so that I could screenshot it and post, but it would take more time than I'm willing to spend to undo the corrections I've written into the script to recreate the issue.
... View more
09-16-2020
07:54 AM
|
0
|
0
|
2895
|
|
POST
|
That is an excellent question, Joe, and one for which I do not have an answer. Definitely falls into the "that shouldn't happen, but it did anyway" category.
... View more
09-16-2020
07:11 AM
|
0
|
3
|
2895
|
|
POST
|
No, that didn't work either. After further digging, the problem became more complicated. Despite the fact that there are records with 3 spaces in them, that column imported from Excel into my FGDB as a double by default (most of the records are three-digit numbers, many with leading zeros). That would explain why a text-based query failed to work -- it wasn't a text field. I ended up querying out those records earlier in the script, before they imported into the FGDB. Problem solved, but it does leave me wondering if there is any programmatic solution to remove blank spaces that are in a double field. I tried the steps in Model Builder (using the text string that failed in my script) and they worked fine.
... View more
09-16-2020
06:01 AM
|
0
|
0
|
2895
|
|
POST
|
Totally stumped. I have a few records in a table that I imported into a file geodatabase from Excel that have three blank spaces in a text field called Specialty_Code instead of the required three character code. I want my script to skip those records in the analysis, so I'm creating a table view that excludes those records. Using Python 3.x, why does this work (line 3).... allRecords = defaultGDB + '\\CleanTable_' + fileName
outLayer = 'CleanTable_' + fileName + '_View'
defQuery = "Specialty_Code IS NOT NULL"
print(defQuery)
readyToAppend = arcpy.MakeTableView_management(allRecords, outLayer, defQuery) ... but this doesn't (line 3)? allRecords = defaultGDB + '\\CleanTable_' + fileName
outLayer = 'CleanTable_' + fileName + '_View'
defQuery = "Specialty_Code IS NOT NULL and Specialty_Code <> \' \'"
print(defQuery)
readyToAppend = arcpy.MakeTableView_management(allRecords, outLayer, defQuery) Error message is arcgisscripting.ExecuteError: ERROR 000358: Invalid expression
... View more
09-15-2020
12:55 PM
|
0
|
7
|
3017
|
|
DOC
|
Understood. That's where I put it (I'm working on app #10 and put it in that app's jimu.js/SpatialReference directory). I did forget to do a browser cache clearing, but even after doing that, I'm having the same issue. I also tried putting the corrected file in the stemapp folder and creating a new app from scratch, just in case the customizations I've made in your widget were causing the issue. No luck, unfortunately. But thank you for the suggestions! I appreciate it.
... View more
09-10-2020
07:57 AM
|
0
|
0
|
16228
|
|
DOC
|
Robert, thanks for the redirect to this fix. I replaced the file, but it did not resolve my issue. I double checked to be sure I modified the file for the app that I'm trying to fix. I compared the contents of the old and new files and I see the minor correction in the new file. Any other suggestions on where I might have gone wrong?
... View more
09-10-2020
07:07 AM
|
0
|
0
|
16228
|
|
DOC
|
Robert, I'm having an issue with the configuration of the eSearch widget. Everything is working fine, but I've been asked to add two different projections to the list of options. When I open the window to add in a new WKID, the value that I enter in that first box disappears as soon as I tab or click outside of the WKID box. The same thing happens if I open the window for an existing projection in the widget -- the window is empty when it opens and my data entry in the blanks do not persist. I fear that my tinkering in the configs\eLocate\config_widgets_eLocate_Widget_21 file has caused this issue. Are you seeing any issues with your version of the widget?
... View more
09-09-2020
01:32 PM
|
0
|
0
|
21905
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-16-2021 07:17 AM | |
| 6 | 4 weeks ago | |
| 1 | 06-27-2024 01:11 PM | |
| 1 | 07-15-2021 01:53 PM | |
| 2 | 01-09-2026 07:45 AM |
| Online Status |
Offline
|
| Date Last Visited |
11 hours ago
|