POST
|
We have a graphic layer in which we show security events as icons overlayed on top of the map. If an icon is selected, we create a larger brighter icon and that shows on top of the smaller original icon. We updated our API to the latest release recently and since then our highlight icons only sometimes work. It seems that there was a change in the way ESRI handles the graphics and will on random occasions try to keep the smaller icons on top of the larger highlighted icon. And it does this no matter what we do. I tried fixing this issue by changing the Z-Index. But apparently ESRI doesn't always look at the Z-Index and actually ignores it!!!!! (isn't this graphics management 101???) So our second approach was to create a second graphic layer. However once we put anything into the second layer the first layer gets ignored and does not display anything. My questions: Is there a way to STOP ESRI from this display algorithm of smaller icons on top of larger icons? Will replacing the default renderer with the SimpleRenderer resolve the issue? Is the API limited to only a single Graphic layer? And if not is there a way to display both graphic layers at once? Thanks in advance for any help you can provide!
... View more
07-12-2016
01:35 PM
|
0
|
0
|
1484
|
POST
|
We have simulations we run and we show the results in Desktop Explorer. We use Notes and Folders to present of what the user is looking at. We save one Note as the one we want to move focus to which contains the largest plume in the collection of plumes that we are displaying. If I do a straight analysis everything works without issues. No problems at all. If we run an analysis as a scenario we crash. The only difference between the two is we save the scenario results to Access and we do not save it for the straight analysis. The issue this: I set the Note to be focused as follows: Note notefocus = currentNote; Later we do this: if (noteFocus != null) { ESRI.ArcGISExplorer.Geometry.Envelope env = (ESRI.ArcGISExplorer.Geometry.Envelope)GeometryOperations.Scale(noteFocus.Graphic.Geometry.GetEnvelope(), 1.2); noteFocus.Popup.Activate(); Extension.ZoomTo( env ); } The call to Extension.Zoom is our own library of ESRI utility functions. We die trying to access noteFocus.Graphic as this is set to null. This null even if I manually define it from the original Note.Graphic as well as just setting the instance. In spite of this being null, the original object still has a graphic object defined and accessible. Then it gets weirder. On one out of 3 machines it works without a problem. The only difference between this simulation and all of the other working simulations (so far as I know) is that the plume is the largest and deadliest we have every built. It is also a circle that we created manually (since ESRI doesn't know how to create a circle in software) by copying each point on the circle to a new polygon then smoothing it. If we don't do this then esri returns a "circle" made up of 2 points. Sql Server Geometry needs a minimum of 3 points to convert their polygon to an SQL polygon. Has anyone ever experienced this and if so what is the workaround you found to stop the Graphic from becoming nulled???
... View more
11-09-2015
09:35 PM
|
0
|
0
|
3188
|
POST
|
I found the answer. yeah. ESRI.ArcGISExplorer.Application.Application is one of the few objects that exposes events. Included in the tiny list of events is Exit. Binding to that event when I open my window, and removing the binding when I close the window, it allows me to easily close my window at the time that ArcGIS Explorer is closing. And it very nicely prevents Explorer from throwing a nasty exception.
... View more
06-05-2015
09:34 AM
|
0
|
0
|
429
|
POST
|
I have a number of addin modules running in ArcGIS Explorer. The latest addition pulls up a window to manage queued process that are calling long-running services. When I close Explorer by hitting the X in the window Explorer crashes probably because I still have that window open behind it. Typically I can get a binding on my forms for when they are closing. Is there a way to tie into the Explorer Closing event so I can close this window cleanly??
... View more
06-04-2015
12:46 PM
|
0
|
1
|
3515
|
POST
|
Thank you. Not only does it help explain it, but it shows where I can go to change it. Our users will be very happy to discover that we can keep results for up to 2 days and allow them to retrieve them by restarting the AGX desktop.
... View more
06-02-2015
01:26 PM
|
1
|
0
|
485
|
POST
|
We have some very long running geoprocessing tasks that run on ArcGIS Server as Geoprocessing instances. Each is tied by a JobID. We are working to add robustness to our application by running all of these on background worker threads. Each task and it's status displayed in a window shown beneath the AGX window. A future desire is to dynamically reset the client to display the results at any point in the future. We would like to hold that JobID on the client so that if they lose their machine or just start a ton of processes to run overnight and shutdown their system, we want to restart the outstanding tasks in recovery mode and have them queued up ready to display the results as if the client was never shut down. This is inside a DoD government facility so the shutdown of the system is a requirement before leaving for the night. This leads to a key question: When a job completes how long do the job's results remain viable on the server? Are they accessible 12 hours or many days later?
... View more
06-02-2015
12:59 PM
|
0
|
2
|
3528
|
POST
|
We have a server DLL implemented with 10 GeoProcessing Services deployed. The SD's were published a little while ago. The DLL has been registered. Everything has been running cleanly for the past month or two in preparation for production deployment next week. We had on minor change that we pushed out to the server and ever since then we have not been able to run the services. ArcMap testing is equally weird. In Arcmap I connect to the remote GeoProcessing Server. I pull up one of our services and the window WITH PARAMETERS shows. This is usually an indicator to us that all is good! I populate the parameters with values and then click the button to execute it. It churns for a few seconds, places a call to the server, then fails with parameters need repair once again. Stranger yet is the fact that with the local version I'm trying to get running to recreate the SD files my services won't run at all. No dialog with populated parameters and their types. This is an indicator that the local instace cannot see the database. Yet if we use Sql Server Manager I can see the server without a problem. I'm hoping someone else has experienced this and can tell me just what to do to get around this. I've been dead in the water now for four days! Michael
... View more
04-20-2015
08:31 AM
|
0
|
0
|
2549
|
POST
|
We've used 2013 for quite some time in development with ESRI. To ESRI, "compatibility" means they have created the templates and such so that you can create a new project in VS. What we found is that ESRI goes way beyond just doing a registration. We had to make our database configurations correct from where I was located to make them visible to the registration process. Then it finally worked.
... View more
04-20-2015
07:55 AM
|
0
|
0
|
822
|
POST
|
I'm on an old system with a new hard drive. We had to start from scratch from OS to all software installed. ArcGIS Desktop 10.2.2 has been installed and configured. ArcGIS Explorer 2055 has been installed and has accessed our servers without issues. Running Windows 8.1 with latest updates, Visual Studio 2013, Visual Studio 2012, and all the .NET framework versions. I have a GeoProcessing Service which used to register on this machine and it also registers on the server. When I try to register it on my client it just says Registration Failed. How the heck am I supposed to find out why this is happening? I get no further messaging to determine why it is broken!!! Any help greatly appreciated.
... View more
04-17-2015
11:10 AM
|
0
|
2
|
4703
|
POST
|
Thank you Marianne. Your response just further justifies our movement away from using ESRI and towards alternatives. I have also (out of professional courtesy) tried to file bug reports. Even after we recreated the bug the analyst refused to send it to developers....instead trying to show my why my code wouldn't work. The bug was sent because they were exposing a .NET exception that should never reach production: "NotImplementedException"
... View more
10-02-2014
08:17 AM
|
0
|
1
|
577
|
POST
|
Almost everyone here in our office has had instability issues with Explorer Desktop 2.0.0.2505. We all have the same issue: Explorer starts up and we get the splash screen. At that point we no longer get anything. I've let it run overnight without getting the UI at all. Sometimes it helps to reboot. Usually it requires running a re-install to repair the install. It takes longer to do a re-install by setting compatibility to Windows 7 and making it run as administrator. It may run fine for a day and rarely for a week and then it starts all over again. Once it hangs it usually hangs for every attempt after that. This is used by a large group of users in the government for running their applications. So keeping this stable is important for continuing use. Has anyone else experienced this and what have you done to stabilize this???
... View more
09-30-2014
12:33 PM
|
1
|
5
|
4570
|
POST
|
I've been spending two days trouble shooting an issue where a Geoprocessing Server, that has worked regularly for the past week, had stopped working. It failed in a call to ESRI with ESRI returning the wonderful error message: "Fail" We began running connection and debugging tests and during one of these issues it reported that the raster could not be created because C:\Program Files\ArcGis\Server\framework\runtime\jre\bin\... When I went to the server we had several versions of these files, folders, some XML files, and shape files in this directory. I shut down the service, cleaned out all of these files, and then restarted the server service. Once it was cleaned out I got everything running once again. These services are critical to government activities and we cannot have our services killed because ESRI chose to write local files and not clean up the mess. So what can we do to make certain this scenario does not happen in a live environment?
... View more
09-30-2014
12:17 PM
|
0
|
0
|
2541
|
POST
|
Wow! That worked! Nice of ESRi to force us to search for ways to get around their coding screwups. Like I had nothing better to do. BTW : Here is the code I implemented -- a bit different from what you did. IAppROT appRot = new AppROTClass(); IApplication baseApp = null; for (int index = 0; index< appRot.Count; index++) { if (appRot.get_Item(index) is ESRI.ArcGIS.Framework.AppRef) baseApp = (IApplication)appRot.get_Item(index); } Thanks, Erin
... View more
08-14-2014
02:39 PM
|
0
|
1
|
779
|
POST
|
To add to Erin's fine suggestions: you can add the following line of code at the point where you want to debug: System.Diagnostics.Debugger.Launch(); Once you are attached you can stop and start your services as desired and you will remain attached to the code.
... View more
08-13-2014
12:01 PM
|
1
|
0
|
891
|
POST
|
We implement our code using IGPFunction2 interface and the IGPFunctionFactory for exposing them to Arcmap.
... View more
08-13-2014
11:53 AM
|
0
|
3
|
779
|
Title | Kudos | Posted |
---|---|---|
1 | 06-02-2015 01:26 PM | |
1 | 09-30-2014 12:33 PM | |
1 | 08-13-2014 12:01 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|