<?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: Generate offline cache using mapservice - v100.7 WPF in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/generate-offline-cache-using-mapservice-v100-7-wpf/m-p/580192#M7082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Offline data is generated from a feature service not a map service.&amp;nbsp; There is no other option.&amp;nbsp; A .geodatabase is an offline replica, also that is the only format (it is just a sqliite database with a .geodatabase extension).&amp;nbsp; In AGOL there is no such thing as a map service anymore, but can still do in ArcGIS Server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can setup the take a webmap offline approach to not bring down the tiles:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;OfflineMapTask offlineMapTask &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; OfflineMapTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;mapItem&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; parameters &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; offlineMapTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateDefaultGenerateOfflineMapParametersAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;geometry&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
parameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IncludeBasemap &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; job &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; offlineMapTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GenerateOfflineMap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; mapPackageFolder&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the layers are still feature services, if you had MapService layers they would not be downloaded (also if a feature service is not defined for offline it will not be in the map)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 00:57:21 GMT</pubDate>
    <dc:creator>JoeHershman</dc:creator>
    <dc:date>2021-12-12T00:57:21Z</dc:date>
    <item>
      <title>Generate offline cache using mapservice - v100.7 WPF</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/generate-offline-cache-using-mapservice-v100-7-wpf/m-p/580191#M7081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am migrating my application from &lt;SPAN style="color: #323232; background-color: #f3edc7;"&gt;ArcGIS Runtime SDK 10.2&lt;/SPAN&gt;&amp;nbsp; to v100.7 WPF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used MapService (contains couple of layers) to generate mobile cache to work with offline mode.&amp;nbsp;Is there any option in&amp;nbsp; v100.7 to generate offline data using &lt;STRONG&gt;&lt;EM&gt;map service&lt;/EM&gt;&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is quite heavy so trying to avoid feature service and .geodatase option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map package option is there but basemap is around 200-300gb excluding map service layers so not sure how to use map package and separate tile layers(baemap) together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the suitable approach to take data offline using mapservice? any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 02:44:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/generate-offline-cache-using-mapservice-v100-7-wpf/m-p/580191#M7081</guid>
      <dc:creator>PrashantKirpan</dc:creator>
      <dc:date>2020-04-17T02:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generate offline cache using mapservice - v100.7 WPF</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/generate-offline-cache-using-mapservice-v100-7-wpf/m-p/580192#M7082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Offline data is generated from a feature service not a map service.&amp;nbsp; There is no other option.&amp;nbsp; A .geodatabase is an offline replica, also that is the only format (it is just a sqliite database with a .geodatabase extension).&amp;nbsp; In AGOL there is no such thing as a map service anymore, but can still do in ArcGIS Server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can setup the take a webmap offline approach to not bring down the tiles:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;OfflineMapTask offlineMapTask &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; OfflineMapTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;mapItem&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; parameters &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; offlineMapTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateDefaultGenerateOfflineMapParametersAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;geometry&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
parameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IncludeBasemap &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; job &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; offlineMapTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GenerateOfflineMap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; mapPackageFolder&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the layers are still feature services, if you had MapService layers they would not be downloaded (also if a feature service is not defined for offline it will not be in the map)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/generate-offline-cache-using-mapservice-v100-7-wpf/m-p/580192#M7082</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2021-12-12T00:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Generate offline cache using mapservice - v100.7 WPF</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/generate-offline-cache-using-mapservice-v100-7-wpf/m-p/580193#M7083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joe for clarification. I'll switch to feature service and give a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2020 12:36:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/generate-offline-cache-using-mapservice-v100-7-wpf/m-p/580193#M7083</guid>
      <dc:creator>PrashantKirpan</dc:creator>
      <dc:date>2020-04-18T12:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Generate offline cache using mapservice - v100.7 WPF</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/generate-offline-cache-using-mapservice-v100-7-wpf/m-p/1023846#M9772</link>
      <description>&lt;P&gt;Hi, I am having the same issue. So that means a mapservice cannot be exported at all from GeneralOfflinemap?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 12:58:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/generate-offline-cache-using-mapservice-v100-7-wpf/m-p/1023846#M9772</guid>
      <dc:creator>PalakPandey</dc:creator>
      <dc:date>2021-02-05T12:58:37Z</dc:date>
    </item>
  </channel>
</rss>

