Select to view content in your preferred language

Spanning monitors with ArcGISDynamicServiceLayer

1244
9
01-05-2011 12:43 PM
SpencerWilliams
Deactivated User
I just discovered something that may be a bug and I was wondering if someone else (on the ESRI side of things) could verify it for me.  I have 2 monitors and have been playing with "stretching" the IE window that contains our Silverlight application to get more screen real estate.  Whenever I am displaying an ArcGISDynamicServiceLayer (as one does with data overlays in our app) - once the screen is stretched past a certain point on to the other screen (about 2.5 inches in my case with my resolution) - the layer will not appear!  Very strange because it doesn't happen with feature layers, tiled layers or graphics layers (that I can tell).  Also, it will span two screens, just not very much of the second one before disappearing.  Can anyone confirm this behavior and tell me if it is expected?

Thanks,

Spencer Williams
Forestar Group, Inc. (NYSE:FOR)
0 Kudos
9 Replies
dotMorten_esri
Esri Notable Contributor
ArcGIS Server has a maximum image size it can return at 2048x2048, so you are likely hitting this limit. However the Silverlight API will "clip" at this size and you should instead see a slightly more blurry image, but still get the entire view covered (I just tried this across 3 screens and it worked for me). This was a bug in earlier builds of the API though. What version are you using?
0 Kudos
SpencerWilliams
Deactivated User
Morten,

Thanks for the quick response.  My screen resolution is 1680 X 1050.  I can't attach screenshots of the three screens together due to the resolution limitation, but here are the links:

http://spencerwilliams.net/files/working.png
http://spencerwilliams.net/files/notworking.png

This is using the 2.1 newest release (I upgraded from RC due to your response).  Again, this only happens with ArcGISDynamicServiceLayer....not any other type of layer - graphics, feature, etc.  It does it as soon as I go past a certain point - not sure if that is 2048X2048 though, but it might be.  let me know what you think.

-Spencer
0 Kudos
DominiqueBroux
Esri Frequent Contributor
I did some tests and it looks like the possibility to display ArcGISDynamicMapService images bigger than 2048x2048 is only working if the service is not cached (no tiles).

At this time, I don't know if it's a bug or a normal behavior.

Is your service cached?
0 Kudos
SpencerWilliams
Deactivated User
No.  My service is not cached.  FYI, I have the progress bar showing on the screen as well.  When the windows is "stretched" to the point where the layer doesn't show, it appears that it is not even trying to draw at all.  No progress like when it is on a single screen.

Spencer
0 Kudos
DominiqueBroux
Esri Frequent Contributor
Try to use fiddler to see the requests sent to the server. This could give a clue. Probably one request is not working.

From my tests, some requests are no more working when the image size is greater than 2048:

For example:
http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_MedianIncome_US_2D/MapServer...

But the same request is working with image size < 2048:
http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_MedianIncome_US_2D/MapServer...

On another hand, if the service is not cached, the request looks working even when image size is greater than 2048.
For example:
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/ex...
0 Kudos
SpencerWilliams
Deactivated User
So I am re-opening this post to ask if there has been any development on higher resolution of ArcGISDynamicServiceLayer past 2048X2048 - we have some users with 30" monitors now and that resolution is 2560X1600.
0 Kudos
SpencerWilliams
Deactivated User
So I am re-opening this post to ask if there has been any development on higher resolution of ArcGISDynamicServiceLayer past 2048X2048 - we have some users with 30" monitors now and that resolution is 2560X1600.


No idea anyone?
0 Kudos
JayOckers
Deactivated User
Is this limit still present in 10.1?
0 Kudos
DaveTimmins
Deactivated User
Hi,

you can get round the 2048 x 2048 restriction by changing the service configuration file.

If you're using AGS 10.1 and v3.0 of the client API it appends the max image dimensions to the request so it limits the size of the returned image and you don't see the issue happen.

Cheers
0 Kudos