<?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: .net SDK WmsLayer Performance in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229101#M2726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, thanks for the reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;Are you using exactly the same URL in both cases?&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes i'm sure. "&lt;A href="http://&amp;lt;local.geoserver&amp;gt;:8080/geoserver/osm/wms&amp;quot;"&gt;http://&amp;lt;local.geoserver&amp;gt;:8080/geoserver/osm/wms"&lt;/A&gt; in both cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requests by leaflet look like this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;GET /geoserver/osm/wms?&amp;amp;service=WMS&amp;amp;request=GetMap&amp;amp;layers=osm_world&amp;amp;styles=&amp;amp;format=image%2Fjpeg&amp;amp;transparent=false&amp;amp;version=1.1.1&amp;amp;id=osm_world&amp;amp;style=&amp;amp;width=256&amp;amp;height=256&amp;amp;srs=EPSG%3A4326&amp;amp;bbox=45,28.125,50.625,33.75 HTTP/1.1&lt;/BLOCKQUOTE&gt;&lt;P&gt;They also use "width=256&amp;amp;height=256" which is exactly what i would expect Arcgis to do too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I'm not talking about caching on the server side. I'm talking about the client side. I would expect Arcgis to download 256x256 Images, save them, and reuse them instead of downloading an 8 MB image every time the map is moved a tiny bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe i'm just using this completely wrong but i really would expect there to be such an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding WMTS:&amp;nbsp; I'm trying to get that working but couldn't get a map to show yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jun 2020 06:34:45 GMT</pubDate>
    <dc:creator>AndreasStolpmann</dc:creator>
    <dc:date>2020-06-29T06:34:45Z</dc:date>
    <item>
      <title>.net SDK WmsLayer Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229098#M2723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm a litte confused about how to correctly use a WmsLayer (Esri.ArcGISRuntime.WPF 100.8.0). I have the following, working code:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var layer = new WmsLayer(new Uri("http://&amp;lt;local.geoserver&amp;gt;:8080/geoserver/osm/wms"), new[] { "osm_world" });&lt;BR /&gt;await layer.LoadAsync();&lt;BR /&gt;var map = new Map();&lt;BR /&gt;map.OperationalLayers.Add(layer);&lt;BR /&gt;MyMapView.Map = map;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This works fine and shows me a map. BUT everytime the map is moved arcgis is requesting an image of the size of the current map.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;GET /geoserver/osm/ows?SERVICE=WMS&amp;amp;EXCEPTIONS=XML&amp;amp;bbox=-36.59692273440173%2C-18.368541923134622%2C75.217619033179091%2C40.24852015145175&amp;amp;bgcolor=0xFEFFFF&amp;amp;crs=CRS%3A84&amp;amp;format=image%2Fpng&amp;amp;height=411&amp;amp;layers=osm_world&amp;amp;request=GetMap&amp;amp;service=WMS&amp;amp;styles=&amp;amp;transparent=TRUE&amp;amp;version=1.3.0&amp;amp;width=784 HTTP/1.1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This results in super long loading times and unnecessary traffic. I would expect it to download and CACHE multiple smaller images (like 256x256) and use them to build the whole image.&lt;/P&gt;&lt;P&gt;This is exactly what happens if i use &lt;A href="https://leafletjs.com/"&gt;leafletjs &lt;/A&gt;in a web app and the performance is way better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i configure arcgis to work like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 08:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229098#M2723</guid>
      <dc:creator>AndreasStolpmann</dc:creator>
      <dc:date>2020-06-26T08:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: .net SDK WmsLayer Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229099#M2724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is generally how dynamic layers work in the runtime. If you want to use a tiled version, use a WMTS service with the WmtsLayer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 15:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229099#M2724</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-06-26T15:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: .net SDK WmsLayer Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229100#M2725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using exactly the same URL in both cases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note I'm speculating here... but we've found performance differences when working with Geoserver depending on the type of URL pattern you use for &lt;STRONG&gt;WMTS&lt;/STRONG&gt;... and this Geoserver doc implies it may also apply to WMS :&amp;nbsp;&lt;A class="link-titled" href="https://docs.geoserver.org/stable/en/user/geowebcache/responseheaders.html" title="https://docs.geoserver.org/stable/en/user/geowebcache/responseheaders.html"&gt;HTTP Response Headers — GeoServer 2.17.x User Manual&lt;/A&gt;.&amp;nbsp;You can use Fiddler to check the response. It's possible you're seeing one image pulled from the cache and another image dynamically rendered by the server.&amp;nbsp;For &lt;STRONG&gt;WMTS&lt;/STRONG&gt; we found when you add the workspace name in the URL it appears GeoServer makes a request to load/render the layer from the datasource/workspace rather than&amp;nbsp;pulling from cached images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 16:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229100#M2725</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-06-26T16:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: .net SDK WmsLayer Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229101#M2726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, thanks for the reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;Are you using exactly the same URL in both cases?&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes i'm sure. "&lt;A href="http://&amp;lt;local.geoserver&amp;gt;:8080/geoserver/osm/wms&amp;quot;"&gt;http://&amp;lt;local.geoserver&amp;gt;:8080/geoserver/osm/wms"&lt;/A&gt; in both cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requests by leaflet look like this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;GET /geoserver/osm/wms?&amp;amp;service=WMS&amp;amp;request=GetMap&amp;amp;layers=osm_world&amp;amp;styles=&amp;amp;format=image%2Fjpeg&amp;amp;transparent=false&amp;amp;version=1.1.1&amp;amp;id=osm_world&amp;amp;style=&amp;amp;width=256&amp;amp;height=256&amp;amp;srs=EPSG%3A4326&amp;amp;bbox=45,28.125,50.625,33.75 HTTP/1.1&lt;/BLOCKQUOTE&gt;&lt;P&gt;They also use "width=256&amp;amp;height=256" which is exactly what i would expect Arcgis to do too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I'm not talking about caching on the server side. I'm talking about the client side. I would expect Arcgis to download 256x256 Images, save them, and reuse them instead of downloading an 8 MB image every time the map is moved a tiny bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe i'm just using this completely wrong but i really would expect there to be such an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding WMTS:&amp;nbsp; I'm trying to get that working but couldn't get a map to show yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2020 06:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229101#M2726</guid>
      <dc:creator>AndreasStolpmann</dc:creator>
      <dc:date>2020-06-29T06:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: .net SDK WmsLayer Performance</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229102#M2727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, i got it running using WMTS and it seems like it does what i want. Still i'm not sure why arcgis is using wms like it does.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2020 11:22:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-sdk-wmslayer-performance/m-p/229102#M2727</guid>
      <dc:creator>AndreasStolpmann</dc:creator>
      <dc:date>2020-06-29T11:22:37Z</dc:date>
    </item>
  </channel>
</rss>

