POST
|
Hey all, I came to work this morning with an inbox full of error reports because one of my maps was stuck at the 2/2 in use - starting at about 1am every available instance for that map became in use. I've run into this issue before, and I don't understand what the point of these timeout values are - while they do give control back to the calling application - it doesn't actually stop ArcGIS Server from continuing to process the request. So - if the person re-submits, that's the second one now in use. I've also had a service in use for several weeks now - ArcGIS Server isn't properly recycling ones that become broken some how and the manager thinks they're in use. Any way to fix this? This should not be something I have to manage.
... View more
08-07-2014
05:59 AM
|
1
|
0
|
1884
|
POST
|
Is there a way to dynamically change the title of the legend? I only have one layer and I dynamically change range of colours, etc, and I want the legend title to correspond to what I'm currently measuring.
... View more
06-04-2014
07:49 AM
|
0
|
1
|
595
|
POST
|
That geometry service and adding a dynamic label would likely do the trick. Thanks - didn't even think about that.
... View more
09-26-2013
05:25 AM
|
0
|
0
|
400
|
POST
|
Each graphic has multiple attributes - total_amt is one of them... I have a ClassBreaksRenderer that uses total_amt as the field
<esri:ClassBreaksRenderer x:Key="MyClassBreaksRenderer" Field="total_amt">
<esri:ClassBreaksRenderer.Classes>
<esri:ClassBreakInfo MinimumValue="0" MaximumValue="50" Symbol="{StaticResource LowFillSymbol}" Label="$0 - $50" />
<esri:ClassBreakInfo MinimumValue="50" MaximumValue="100" Symbol="{StaticResource MediumFillSymbol}" Label="$50 - $100" />
<esri:ClassBreakInfo MinimumValue="100" MaximumValue="1000000" Symbol="{StaticResource HighFillSymbol}" Label="$100+" />
</esri:ClassBreaksRenderer.Classes>
</esri:ClassBreaksRenderer> but it'd be great if the graphic could also show a label based off the attribute: name
... View more
09-26-2013
03:53 AM
|
0
|
0
|
400
|
POST
|
Hey all, I'm fairly new at Silverlight so I apologize in advance if this is a stupid question. I'm looking to be able to use a simple fill on my polygons but I'd also like to add a label to them and I can't seem to figure out how to do so... My renderer uses a field called "total_amt" to determine which colour of fill to use. Thanks
... View more
09-19-2013
05:59 AM
|
0
|
4
|
2401
|
POST
|
This sounds like a custom SOE I could build that has no purpose other than to ensure the process does eventually end. What I'm worried about is that these processes are kept track of somewhere and my SOE that kills it may cause issues - such as ArcGIS Server thinking there are 5 processes already running when in fact only 4 are. Thanks for your suggestion. I'm going to duplicate this and bring it to ESRI's attention.
... View more
09-16-2013
04:43 AM
|
0
|
0
|
958
|
POST
|
My service does have an SOE that I built attached to it, however running it was not the cause of the original hanging - if that makes a difference.
... View more
09-15-2013
03:49 PM
|
0
|
0
|
958
|
POST
|
I never even thought of doing a clean to the solution. That's a much better suggestion than mine.
... View more
09-14-2013
11:11 AM
|
0
|
0
|
795
|
POST
|
Just a few moments ago I came across a curious issue - the over-writing of one of my services continued to fail. This isn't the first time this has happened to me - and last time I fixed it when I re-ran the ArcGIS Server configuration - the one that you specify which user ArcGIS Server is running under. I kept getting the error... SEVERE
Sep 14, 2013 2:23:26 PM
Failed to create the service.: Unable to delete service input folder.
System/PublishingTools.GPServer Let me continue with a back story. Last night I was fiddling around doing queries - for some reason through the REST interface my service will -never- return if I do an objectid lookup. I have to put OBJECTID=n into the WHERE instead. Me doing this last night caused one of my services to be become unstable - showing one constantly being in use. I shrugged - I know ArcGIS Server will kill off a service that's in use for too long. However this morning that same one was still in use. I stopped my service and looked at task manager - the ArcSOC.exe for that service did not stop. Then I decided to try to overwrite the service. Failure - however the service was now no longer part of my list of services on the manager portal. I was confused - I checked folder permissions and everything was in check. It turns out that orphaned ArcSOC.exe was holding onto that folder. I understand that. What I do NOT understand is how I even GOT an orphaned ArcSOC. What about the automatic clean-up? Why did it miss this one? Perhaps I am misunderstanding "The maximum time a client can use a service:" - which I assumed was ticking down on the "Instances in Use: 1" - with the recycling options, which are set to 24 hours. However, even STOPPING the service didn't kill off the ArcSOC, so I assume the recycling wouldn't have done it either. Any advice would be fantastic. Sorry for the length. Try to fit as much as I can.
... View more
09-14-2013
11:09 AM
|
0
|
4
|
3712
|
POST
|
Hope someone still has this topic subscribed! The problem I'm having is below - I do not have knowledge of Envelope having a ToPolygon method. Could anyone assist me?
/// <summary>
/// Converts a geometry object to WKT.
/// </summary>
public static string ToWKT(Geometry g)
{
StringBuilder sb = new StringBuilder();
if (g is Envelope)
{
var p = g as Envelope;
var pc = p.ToPolygon();
sb.AppendFormat("POLYGON ({0})", ConvertPointCollection(pc.Rings[0], true));
}
...more code below
... View more
09-11-2013
04:17 AM
|
0
|
1
|
1719
|
POST
|
No return required. Since the method returns a void it will simply finish execution of itself and automatically finish. There's no harm in adding the return, but it's not necessary.
... View more
07-29-2013
11:53 AM
|
0
|
0
|
795
|
POST
|
So I ended up figuring this issue out. When I installed the ArcObjects SDK one of the samples it installed was called "AddInEditorExtension." Even though this add-in was not installed it ArcMap acted as if it was. I actually had to go IN to the code and comment out the System.Windows.Forms.MessageBox.Show("Valid Feature"); inside of void Events_OnCreateChangeFeature(ESRI.ArcGIS.Geodatabase.IObject obj), because no matter what I did the message showed, even after I forcefully added the add-in and then removed it again.
... View more
07-29-2013
09:58 AM
|
0
|
0
|
795
|
POST
|
I'd also like to know if anyone else has found a solution to this unnecessary pop-up. I'm doing a clip that will hit a few thousand features and I have to sit here and hit "OK"
... View more
07-29-2013
09:33 AM
|
0
|
0
|
795
|
POST
|
What version of .NET is your project set to? I've only seen this (not specifically ArcGIS, but other libraries) when you're project's version is set to lower than the assembly that's referenced.
... View more
04-19-2013
10:19 AM
|
0
|
0
|
348
|
POST
|
Oh, ok. I had it wrong, thanks for your clarification. I just modified one of my "Prefer: High" from false to true and it had the desired result. Thanks so much. 🙂
... View more
04-17-2013
03:35 PM
|
0
|
0
|
339
|
Title | Kudos | Posted |
---|---|---|
1 | 08-07-2014 05:59 AM |
Online Status |
Offline
|
Date Last Visited |
05-09-2022
07:07 AM
|