|
POST
|
The documentation says that Queued Tasks run first in, first run methodology. However, that does not guarantee that they will complete in that order. To address this you can add code similar to that shown below to ensure your tasks are complete prior to moving on to your next step. Task t1 = QueuedTask.Run(() => MapView.Active.Map.SetSpatialReference(srWANad83Ft)); Task t2 = QueuedTask.Run(() => MapView.Active.Redraw(false)); Task.WaitAll(t1, t2); or Task t1 = QueuedTask.Run(() => MapView.Active.Map.SetSpatialReference(srWANad83Ft)); t1.Wait(); Task t2 = QueuedTask.Run(() => MapView.Active.Redraw(false)); t2.Wait(); some would say you could just await the QueuedTask; however, be aware that await is 'fire and forget' and does not actually cause a Wait to happen.
... View more
02-26-2025
10:34 AM
|
0
|
5
|
1500
|
|
POST
|
you are running into the dreaded ipconfig issue. New machines default to IPv6 and have IPv4 turned off by default in some environments. However, ESRI license manage software expects IPv4 by default. Simplest way to fix this is to set IPv4 as preferred (BUT ensure IPv6 is still available). The cmd ipconfig can be used see your current settings. See Taking Control of Your Network: How to Set IPv4 as Preferred. and Configure IPv6 for advanced users - Windows Server | Microsoft Learn
... View more
02-25-2025
05:05 PM
|
0
|
0
|
3768
|
|
POST
|
I would check to ensure the Envelope defined for the Shapefile includes all the features. Try opening the shapefile in ArcMap (if you have it still 🙂 and select Zoom to Extent for the Feature Class (FC) and see where it takes you. Also, look at the extent properties for the FC and ensure your pink lines actually are within them.
... View more
02-25-2025
04:54 PM
|
0
|
1
|
708
|
|
POST
|
The offset you mention "there are disjointed/offset edges where distinctive features don't align" should be expected. If these photos were taken with a airborne camera then you should be able to find the actual camera Lense that was used for the mission. Pre 2000 all reputable companies had their cameras calibrated and certified by the USGS. Each camera/Lense combination have unique adjustments that would be added to your camera model to correct for distortion. When mosaicking cut lines should be created and only the most 'accurate' portion of each image retained in the final Ortho mosaic. If you are using every-other photo within a mission or flight you will have approximately 33% overlap (and sidelap) between adjacent photos (you only need EVERY photo if your trying to create a DEM from the orthophotos). If you are looking for survey grade accuracy for your resulting orthomosaic (sub meter) you need to look into the camera specs and research how they can be used to optimize your mosaic in ArcGIS Pro. The ArcMap and ArcGIS Pro Image Analyst extension has this capability.
... View more
02-25-2025
04:47 PM
|
1
|
1
|
1172
|
|
POST
|
Has anyone encountered this issue and have a better work around? Many of the commonly used methods in ArcGIS Pro SDK are required to be run on the 'MCT' thread. The code is wrapped in a QueuedTask.Run block and in most cases, we need to Wait for the result before continuing processing. This is often done with Task.Wait(). However, I've recently ran into a situation where Task.Wait throws an ERROR because the task has a status of TaskStatus.WaitingForActivation. Is this a known issue? Task t1 = QueuedTask.Run(() => { try { //do some long running work } catch (Exception eX) { // handle the error } } //code added to prevent error while (t1.Status==TaskStatus.WaitingForActivation) { Thread.Sleep(500); loopCount++; if (loopCount > 22) // 11 seconds max wait time { break; } } t1.Wait();
... View more
02-25-2025
04:31 PM
|
0
|
0
|
381
|
|
POST
|
You can check the health of basic ArcGIS services at ArcGIS Online Health Dashboard. ESRI says that the Geocoding service had No downtime today. Most likely (if restarting ArcGIS Pro did not immediately solve the issue) is you had network issues connecting to https://geocode.arcgis.com/arcgis/ or your connection was blocked by a firewall.
... View more
02-21-2025
11:02 AM
|
0
|
0
|
2122
|
|
POST
|
On the fly projection is NEVER as accurate as using the Projection methods available within the ArcGIS Pro Data Management toolbox. If this is for a science project, consider using these more accurate methods to transform your data. Recommendation: find a BM or Survey Station on your NAD 27 map that still exists and then compare the 'projected' coordinates to the published National Geodetic Survey NAD 1983 coordinates for that same point. Note - if you are starting to look at submeter accuracy make sure to consider the transformation year in your error assessment (e.g., NAD 1983 != NAD1983(2011)).
... View more
02-21-2025
10:43 AM
|
0
|
0
|
504
|
|
POST
|
To check Locate setting click the drop down carrot to see what you have enabled.
... View more
02-21-2025
10:37 AM
|
0
|
1
|
2127
|
|
POST
|
There are several Find and Locate tools available in ArcGIS Pro. However, if you are using the default Locate tool in the toolbox, it is dependent on a connection to ArcGIS Online. Also note there is a Locate and Layer Search option on the tool interface. If 'Layer Search' is selected it will only search the layers currently within your map If the Locate option is not working this means you do not have good network connection to the ArcGIS Online service providing the search capability.
... View more
02-21-2025
10:31 AM
|
0
|
3
|
2127
|
|
POST
|
I look forward to seeing 'how to turn on' ArcGIS for SharePoint app/web part for SharePoint 365/Online. Current Help and Installation pages do not clearly differentiation between the Add-In and Web Part options.
... View more
02-21-2025
09:41 AM
|
0
|
1
|
1114
|
|
POST
|
I had it set to false because Add-In loading can add +30 seconds to ArcGIS Pro startup. I resolved this by moving my long running code into an if block and introducing a first use check. This allowed me to set autoLoad="true" as recommended. private bool firstUse = true; protected override Task OnToolActivateAsync(bool active) { if (firstUse==true) { // do long running work only Once! firstUse = false; } return base.OnToolActivateAsync(active); }
... View more
02-20-2025
01:53 PM
|
0
|
0
|
1675
|
|
POST
|
It appears that custom developed SharePoint Add-Ins will be retired by April 2, 2026 and Microsoft is recommending migrating them to SharePoint Framework based solutions. Has/is ESRI's ArcGIS for SharePoint been updated to use the new SharePoint 365 framework for web parts?
... View more
02-20-2025
11:03 AM
|
0
|
3
|
1139
|
|
POST
|
I have an add-in that Should be enabled by default when my custom tab is open and there is an Active map. I would like to be able to programmatically disable the tool if there is an error (in my case I need to connect to a remote large feature class and want to disable the tool if the FC is unavailable or unreachable). As discussed in the documentation I've added a <conditions> tag after </AddInInfo> and a condition attributed to my <tool> but when I add the condition my tool is always disabled on first load. Here is the condition: <conditions> <insertCondition id="srview_condition"> <state id="srview_state" /> </insertCondition> </conditions> <controls> <!-- add your controls here --> <tool id="SRView4Pro_modSRView4Pro" caption="SR View for Pro" className="SRView4ProTool" keytip="T3" loadOnClick="true" smallImage="Images\SRViewButton16.png" largeImage="Images\SRViewButton32.png" condition="srview_condition"> <tooltip heading="SR View for Pro">Show SR View 3 images or Google StreetView from left mouse click.<disabledText /></tooltip> </tool> </controls> It looks like the condition is being set to Deactivated by default so the tool is never available to be run. In the Initialize event I added .Activate but I don't think this Event is actually RUN. Ideas? Code Attached.
... View more
02-20-2025
09:49 AM
|
0
|
5
|
1709
|
|
POST
|
Also, I've never seen Encrypt=Mandatory as shown in your top photo. This would imply that you have Trusted Certificates installed on all servers. Can you change that to yes or no?
... View more
02-20-2025
08:43 AM
|
0
|
0
|
1037
|
| Title | Kudos | Posted |
|---|---|---|
| 7 | 2 weeks ago | |
| 1 | 12-17-2025 12:46 PM | |
| 1 | 11-24-2025 01:43 PM | |
| 1 | 11-25-2025 09:49 AM | |
| 1 | 07-31-2025 08:54 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|