<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cached Image Service behaving dynamically in basemap gallery in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328287#M30307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is thread with info on what I know about this scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/172414#comment-588467" title="https://community.esri.com/thread/172414#comment-588467"&gt;https://community.esri.com/thread/172414#comment-588467&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2016 12:46:02 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-03-24T12:46:02Z</dc:date>
    <item>
      <title>Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328286#M30306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to load a cached Image Service into a basemap gallery.&amp;nbsp; The image service does work, but it is behaving like a dynamic image service, not a cached one.&amp;nbsp; By that, I mean that it is running a export image request each time the map pans instead of fetching the pregenerated tiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a link to the service: &lt;A href="https://gisservicemt.gov/arcgis/rest/services/MSL/Reference100k_cached/ImageServer" title="https://gisservicemt.gov/arcgis/rest/services/MSL/Reference100k_cached/ImageServer"&gt;https://gisservicemt.gov/arcgis/rest/services/MSL/Reference100k_cached/ImageServer&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the link to a jsFiddle demonstrating a basemap gallery with one tiled map service and one tiled image service. &lt;/P&gt;&lt;P&gt;&lt;A href="https://jsfiddle.net/bdaigle/22Lgp45f/" title="https://jsfiddle.net/bdaigle/22Lgp45f/"&gt;https://jsfiddle.net/bdaigle/22Lgp45f/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;If you watch the network traffic, you will see that the two basemaps handle the request very differently -- the tiled map service fetches map tiles, whereas the tile image service runs an exportImage task. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The service does behave like a cached service if I explicitly define it as a ArcGISTiledMapServiceLayer and load it to the map manually (without the use of the Basemap Gallery), so I believe this is an issue with the BasemapGallery itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of ideas for work arounds, but thought I would check with the community before going down that road.&lt;/P&gt;&lt;P&gt;Any ideas??? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 22:22:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328286#M30306</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2016-03-23T22:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328287#M30307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is thread with info on what I know about this scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/172414#comment-588467" title="https://community.esri.com/thread/172414#comment-588467"&gt;https://community.esri.com/thread/172414#comment-588467&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 12:46:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328287#M30307</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-03-24T12:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328288#M30308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the link Robert.&amp;nbsp; I took a look at the AMD code for the BasemapGallery.&amp;nbsp; It looks like there is no hope for the service getting loaded to the basemap gallery as a tiled layer unless the service has a 'mapName' property.&amp;nbsp; Unfortunately, Image service don't have this property.&amp;nbsp; Instead, they have a 'name' property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a potential workaround that I have been "fiddling" with.&amp;nbsp; Essentially, it involves loading the Cached image service as a standard ArcGISTiledMapServiceLayer, then using the basemapGallery's selection-change event to add or remove it from the map.&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsfiddle.net/bdaigle/22Lgp45f/8/" title="https://jsfiddle.net/bdaigle/22Lgp45f/8/"&gt;https://jsfiddle.net/bdaigle/22Lgp45f/8/&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 15:10:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328288#M30308</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2016-03-24T15:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328289#M30309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; That is a good workaround. You might consider calling tech support and requesting an enhancement to the BasemapGallery.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 15:14:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328289#M30309</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-03-24T15:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328290#M30310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide a screenshot of the difference between the tiled map service fetches and the tile image service that uses an exportImage task?&amp;nbsp; Are you looking at this in the Network tab of F12 Developer Tools in Google Chrome?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 15:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328290#M30310</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2016-03-24T15:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328291#M30311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working in firefox with firebug, but the network tab in Chrome will give you similar results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what the calls look when the layer is loaded to the basemapGallery.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="UsingBasemapGallery.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/192998_UsingBasemapGallery.JPG" style="width: 620px; height: 142px;" /&gt;&lt;/P&gt;&lt;P&gt;Here is what they look like when they are loaded as a regular Tiled Layer:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TiledLayer.JPG" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/192999_TiledLayer.JPG" style="width: 620px; height: 161px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 15:39:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328291#M30311</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2016-03-24T15:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328292#M30312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="BaseMap_Traffic.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/192864_BaseMap_Traffic.png" style="width: 784px; height: 244px;" /&gt;&lt;/P&gt;&lt;P&gt;This is supposed to be a tiled mapservice but it looks more like your image service return.&lt;/P&gt;&lt;P&gt;Can you tell me if this returning the correct object for a tiled mapservice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 16:05:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328292#M30312</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2016-03-24T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328293#M30313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That looks like a dynamic map service request to me as well.&amp;nbsp; Here is how they should behave:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dynamic map service: When you pan the map, you should see a single map service request for the current map extent&lt;/LI&gt;&lt;LI&gt;Tile map service:&amp;nbsp; When you pan the map, you should see zero or more tiles fetched for the given extent.&amp;nbsp; If you already have the tiles cached locally, zero tiles will be returned.&amp;nbsp; If not, one or more tiles will get returned.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 16:16:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328293#M30313</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2016-03-24T16:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328294#M30314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on your network traffic examples I would agree that it is behaving like a dynamic mapservice, but the performance of the imagery in javascript applications and the javascript viewer made me think it was working as expected like a tiled mapservice as the panning and zooming of the imagery was near instantaneous.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 16:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328294#M30314</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2016-03-24T16:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328295#M30315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did end up submitting a ticket with tech support.&amp;nbsp; They referred me to &lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;[BUG-000093062: The Basemap Gallery widget sends an export request instead of requesting for tiles when used with a cached image service.],&lt;/SPAN&gt; which has been closed as known limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't seem to the track down the bug.&amp;nbsp; Probably because it has already been closed.&amp;nbsp; Since I have another workaround, I dropped the issue.&amp;nbsp; Best to pick your battles wisely!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 20:13:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328295#M30315</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2016-04-12T20:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328296#M30316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So caching an image service to get better service performance and using it in the BaseMap Gallery is really pointless as ArcGIS Server is just serving it out as an image service anyway?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 13:13:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328296#M30316</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2016-04-13T13:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328297#M30317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Only if you are using an ImageServer url. If you are using MapServer url then all if fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 13:40:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328297#M30317</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-13T13:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328298#M30318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an image service that I cached, but the cached image service still appears with an ImageServer url.&amp;nbsp; In order to obtain a MapServer url would I need to add this image service to an mxd and then cache the mapservice created from the mxd?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would this not be considered a cascading mapservice (as it contains an image service) that ESRI says is not good practice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 13:51:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328298#M30318</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2016-04-13T13:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328299#M30319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are using Image Server than you will not be able to get the advantages of the basemap gallery using the cached image service. But if you are using a normal map server service than the basemap gallery will use the cache.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;So caching an image service to get better service performance and using it in the BaseMap Gallery is really pointless as ArcGIS Server is just serving it out as an image service anyway&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So yes, caching an &lt;STRONG&gt;Image Server&lt;/STRONG&gt; service is pointless.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 13:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328299#M30319</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-13T13:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cached Image Service behaving dynamically in basemap gallery</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328300#M30320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also running into this. I published an ImagerServer service and tiled and it works great.. except then I noticed what you all have, that the Esri Basemap widget incorrectly requests it as dynamic. And that while this has apparently been assigned a Bug, they have determined they will not be fixing this. (I called Support who verified that it will not be fixed)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the workaround as &lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;​ has identified is to publish Dynamic and link it to the Cache. I think I have run into another bug. We have 10.2.2&amp;nbsp; but we have not installed this patch (Yet) &lt;A href="http://support.esri.com/download/2191" title="http://support.esri.com/download/2191"&gt;ArcGIS 10.2.2 for Server Map Cache Consumption Patch&lt;/A&gt;&amp;nbsp; Hm. I am currently still trying to get my dynamic map service to behave and to show tiles, they keep giving a 404. I think it's just a matter of getting some directory pathing and/or permissions set up right and I feel like I"m getting close... Will update here, when done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 15:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cached-image-service-behaving-dynamically-in/m-p/328300#M30320</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-08-04T15:54:35Z</dc:date>
    </item>
  </channel>
</rss>

