|
POST
|
@B-L multiprocessing is a specific-use kind of thing - but you basically take lots of tasks and divide them up to run on multiple processors at one time. In my case, I use them to generate and stitch together several thousand PDFs of parcels based off of several map series every night. Googling multiprocessing will get you lots of information, here is one: Multiprocessing Penn State University geography dept puts some of their classes online, but I had the privilege of taking this course, and the Lesson 1.6.3.2 material on Multiprocessing &GIS is worth a read. They also provide a list of resources at the end.
... View more
01-24-2022
05:09 AM
|
1
|
1
|
6916
|
|
POST
|
We started with a 12 hour hour script that was designed for once a month but needed to be done nightly. I shaved 5 hours of by moving some date conversion to the SQL side. I also reviewed all of it and found ways to use multiprocessing. We generate a few thousand PDFs nightly with map series and multiprocessing makes that possible in less then 5 hours usually. I'm also planning to implement some attribute rules that will shave some time off of the script as well. I'd recommend a review of everything to make sure it is al still necessary. I would also recommend against the Pro model shift. It's a lateral move - our original model broke ArcMap model Builder and they told me it had to be moved to Python. Upgrading the script from 2.7 to 3.x also helped with some speed issues. I'm planning to move to at least one service like suggested up above myself.
... View more
01-21-2022
11:41 AM
|
1
|
3
|
6987
|
|
POST
|
Ok - so it looks like the python.exe application was gone after I ran this script - the .exe showed a file size of 0 and didn't have the python icon anymore. I have a development server created at the same time using the same files and Powershell script, and I ended up copying the python.exe from that server onto this one. Worked... Not a great solution and I still have no idea why this happened.
... View more
12-28-2021
07:11 AM
|
0
|
0
|
2903
|
|
POST
|
I have slight concerns about doing upgrading the Python version, especially when I read articles like this. I was just curious if this had happened to anyone else?
... View more
12-28-2021
05:39 AM
|
0
|
0
|
2906
|
|
POST
|
So I tried to run the Log4Shell Mitigation Script for ArcGIS Server on the 20th. I ran this in cmd as Administrator. The script ran until it got to the -delete and I then got two error messages. The first was cmd error saying "access is denied" The second was a windows pop-up saying" This app can't run on your PC." Now, my scripts using the python path: [Drive]\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3\python.exe I have two scheduled tasks that use this python.exe directly and both no longer work. "could not find a usable Python Installation at the specified path. " and It gives me a bunch of stuff on the x32 & x64 bit. This server was spun up by ESRI Jumpstart in February of 2021 and I have the appropriate versions. Why is this python.exe no longer recognizable after I had the Apache4Shell Mitigation script fail? Everything failed directly after I tried running the mitigation script. Edit: I did run in cmd as Admin I stopped the license manager and the ArcGIS Services before running the script.
... View more
12-27-2021
06:51 AM
|
0
|
6
|
2998
|
|
POST
|
So I'm seeing a TypeError: in the developer tools that says "Cannot read properties of undefined (reading 'containerNode') and it's referencing the NearMe widget. This was after I tried entering credentials when it prompted and it still failed. Maybe I've not got the correct URL for the routing service in my item?
... View more
09-10-2021
09:32 AM
|
0
|
0
|
2777
|
|
POST
|
@JakeSkinner that is the Routing item I created - I just checked the URL again - and it is set to be shared with everyone.
... View more
09-10-2021
06:47 AM
|
0
|
0
|
2785
|
|
POST
|
So I have been trying to configure the Directions widget in the ESRI My Trash Solution to allow public access. I followed the instructions here I also tried configuring Subscriber Content links in the attributes of the app. It works fine if I'm accessing the app via AGOL - but when I download the code and try to deploy on my own server - it starts prompting for credentials if someone uses the Directions app. I checked, and the config.json file is using the URL of the routing service I created following the above article. I think I'm missing a step somewhere. This is my first self-hosted app that uses credit-consuming services. Any tips? Thanks in advance! Link to the application So I have found 4 methods for attempting this & am documenting here my results. Update: 1. Add route URL to NearMe Widget / configure the subscription services in the WAB Attributes (DID NOT WORK) 2. AGOL - embed route URL & credentials in an item and use that URL in the NearMe Widget (DID NOT WORK) 3. Generate API Key using developer dashboard (SOME SUCCESS) Followed instructions here and replaced the routing service URL in the config.Json with the proxy URL from the dashboard and now... it still prompts for credentials, but you can see the route in the background and if you cancel the credential window, you can see and print directions. How do I get rid of the credentials screen? I'm new to proxies and all of this seems excessive for trying to download WAB solution and deploy it but I'm learning as I go! 4. Download a proxy (Haven't tried yet)
... View more
09-10-2021
06:05 AM
|
0
|
3
|
2818
|
|
POST
|
Try the {sep} and formatting it like below: msg = (
f"From: {fromaddr}{sep}"
f"To: {toaddr}{sep}"
f"Subject: New complaint - {requestType}"
f"{sep}"
f"A new complaint has been made: {sep}"
f"Type of Problem: {requestType}{sep}"
f"Name: {contact}{sep}"
f"Date Submitted: {datetime.datetime.fromtimestamp(int(submittedOn)//1000)}{sep}"
f"Details: {details}{sep}"
)
... View more
08-27-2021
09:25 AM
|
0
|
1
|
1533
|
|
POST
|
I have a bridge feature class with a related table of reports After everything was built, got request to add a custom ID field to the related table that directly reference a field in my feature class. Based on research, I need to grab the related GlobalID, filter my feature set, and return the needed field to calculate my custom ID. For example, report 41 needs to have a field calculated to pull the bridge number associated with that report and. This is what I was thinking but now I'm not sure I'm doing it right. Wish Pro had an Arcade Playground for testing functions in field calculator. I am calculating the field in the related table. I think I'm not accessing the filter result correctly... // reference feature service
var fl = FeatureSetByName($datastore, 'PM_Bridges')
// read the associated bridge GlobalID stored in my related table
var bridgeGUID = $feature.REL_GLOBALID
//sql for filtering feature service
var sql = "GlobalID = '" + bridgeGUID + "'"
// go to bridge feature service & filter by GUID
var bridge = Filter(fl, sql);
//returns string - both fields already string type
var name = bridge.BRIDGENUM + " " + bridge.BMS
return name;
... View more
07-23-2021
08:05 AM
|
0
|
0
|
1366
|
|
POST
|
Thank you - you are correct. It's the same project but we had to scrap the feature that prompted the other question because of a bug with selecting stuff (I think on a chart) and I didn't make the connection that I wasn't utilizing the data connection correctly under the action menu.
... View more
06-29-2021
05:48 AM
|
1
|
0
|
5265
|
|
POST
|
No the inspections can't be done via Survey123 at this time. Each feature will have a history of inspection PDFs from our Engineering firm. They will upload permits and images and the results of their inspections for our Property Management team. the PM team will then go out, make the necessary fixes, and then submit pictures and reports via Survey123. However, we need that history of inspection PDFs attached to each feature, AND I created a related table so I could collect additional metadata for each document. My issue is that I can get the Feature Info widget to display all of them, but not filter based on the feature map selection.
... View more
06-29-2021
05:01 AM
|
0
|
2
|
5267
|
|
POST
|
Hi - I'd like to do this, but I need the Feature Info widget to filter out the related tables based on a selection - were you able to accomplish anything like that? So far, I can get it to show all the related tables, but not any based on a selection on the map or a list.
... View more
06-28-2021
01:11 PM
|
2
|
1
|
3246
|
|
POST
|
Feature service published via ArcGIS Enterprise I want users to be able to upload inspection PDFs to a feature in an experience or embed dashboard using a Survey123 form. I set up a Survey123 that feeds a related table with attachments. How can I view the attachments of my related table in an Experience?
... View more
06-28-2021
12:27 PM
|
0
|
4
|
5404
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2023 06:45 AM | |
| 2 | 06-28-2021 01:11 PM | |
| 2 | 02-24-2025 08:55 AM | |
| 1 | 07-08-2024 01:49 PM | |
| 1 | 01-24-2023 08:40 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-22-2025
11:15 AM
|