POST
|
I am running a complex multiprocessing workflow that involves segmenting an AOI to run through a complex workflow that requires tools from the spatial analyst extension. Occasionally I get an error where one of the processes hangs stopping the script, and I can trace it despite how much I try to log each process. What is more, the script fails at different points for each run that it fails on. In watching the command prompt window during execution I saw that it said "FATAL ERROR [INFADI] MISSING DIRECTORY." For each process I create a unique folder that I set the scratch workspace environment variable to. I set the "TEMP" & "TMP" directories to the scratch workspace folder for the process using os.environ. At the end of each process I clean up the scratch workspace and use arcpy.Delete_management("in_memory"). Finally, before I execute each spatial analyst tool I check to see if the dataset I am going to execute on exists using arcpy.Exists, and raise an exception if it doesn't. So far I haven't seen a single exception thrown indicating dataset doesn't exist. I have been multiprocessing with arcpy and spatial analyst for years and have never seen this before. The machine I am getting the errors on is a AWS EC2 m4.16xlarge running Windows Server 2012 r2, w/ ArcGIS Desktop 10.5 (w/ background processing loaded), utilizing a floating license (which I have checked out for 30 days).
... View more
05-21-2019
11:17 AM
|
0
|
0
|
648
|
POST
|
The official response I received from ESRI support was to change the IMap.MapUnits property using the esriUnits enumeration. The problem is that none of the esriUnits options will give me a read out of DMS or MGRS coordinates. From the research I have done it is possible to change the message in the Status Bar by using the Application.StatusBar.set_Message({pane number}, {string message}) method. I can build this is as tool and use the OnMouseMove event, get the x and y coordinates and project them to desired coordinates system and then display them on the status bar. I need this to be a persistent solution. With the tool solution, once the user clicks on another tool all other tools do not work. Is there another way to employ the OnMouseMove event with out extending the Tool class?
... View more
04-05-2013
06:26 AM
|
0
|
0
|
241
|
POST
|
I am looking for a way to programmatically change the coordinates displayed in the status bar from WGS84 Decimal Degrees to DMS or MGRS. I know the user can change this themselves, but my requirements are to do it programmatically. I have built a tool that overrides the mousemove event and does this for me but when the user selects another tool the status bar goes back to displaying WGS84 coordinates in DD's. This conversion needs to be persistent, regardless of the tool being used. Is there a setting in the Application I can change programmatically to accomplish this? Thanks.
... View more
04-03-2013
01:08 PM
|
0
|
2
|
2517
|
POST
|
I am in the process of integrating a Flex Viewer (2.5) into the JQX Widget Framework. It works just fine in Chrome and Firefox but unfortunately not in IE8, IE9, or Safari. The main problems we are seeing are that we cannot pan the map, move widgets, or resize widgets. Has anyone experienced this before?
... View more
06-12-2012
07:35 AM
|
0
|
0
|
572
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|