Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I received a cache folder created from a MXD that I don't possess. Then I was asked to publish that cache as a map service. To do that, I created a map service using a MXD (I created) that contains one layer. That layer has no relation with the cache. Then I configured the map service to use the cache I was given.

In a !flex application, when I use the map service using esri:ArcGISDynamicMapServiceLayer, it works : I get on the map what the cache contains, not what the MXD contains.

I'm a little confused. ArcGISDynamicMapServiceLayer is not supposed to read from the cache of the service! Only ArcGISTiledMapServiceLayer is supposed to be able to read from the cache. Am I wrong?

Why do I get the cached data on the map instead of the MXD data (which is different from the cache)?

Here is a simple graphic explaining the situation.

enter image description here

Regards.

share|improve this question
    
you either need to post some visuals or clarify further. –  Brad Nesom Apr 30 '13 at 13:47
    
I added more details. –  yo_haha Apr 30 '13 at 14:25
    
Are the name of both the services same? Did you update the REST cache after deleting the original service? You should debug the requests with firebug, and see what is the url of images. –  Devdatta Tengshe Apr 30 '13 at 15:10
    
There is no original service. All I have is a folder containing the cache that was created by someone else on another platform that I know nothing about. I was given that folder and asked to publish that cache as a map service on my platform. –  yo_haha Apr 30 '13 at 15:17
    
What is the Name of the folder? Why don't you delete it, if you don't require it? –  Devdatta Tengshe Apr 30 '13 at 15:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.