<?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: Not able to export tiles for basemaps in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669698#M4648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any detailed documentation to understand the parameters that we use for exporting tiles in tpk / vtpk format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/exportTiles?tilePackage=true&amp;amp;&lt;BR /&gt;exportExtent=-13051380,4030276,-13037288,4041136&amp;amp;optimizeTilesForSize=true&amp;amp;compressionQuality=60&amp;amp;exportBy=levelId&amp;amp;levels=13-19&amp;amp;areaOfInterest=&amp;amp;f=json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mainly, I need to get understanding of coordinate system that is used in for exportTiles parameter, how do I get these x and y values, I tried with lat/long it did not give me results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,&lt;/P&gt;&lt;P&gt;the above given url exports tpk, are there vector basemaps available that are exportable ,so that I use vtpk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Jul 2019 14:41:20 GMT</pubDate>
    <dc:creator>DevendraKhatri</dc:creator>
    <dc:date>2019-07-13T14:41:20Z</dc:date>
    <item>
      <title>Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669692#M4642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need to provide basemaps in offline mode, I should be able to download basemap's tiles in mobile device and use it when no connectivity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My scenarios:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. I create the feature&amp;nbsp;with&amp;nbsp;ESRI's default basemap, I use the OfflineMapTask&amp;nbsp;on mobile,&amp;nbsp; I am not able to download .vtpk file.&lt;/P&gt;&lt;P&gt;2. I create my custom base layer on developers portal, create feature with it,&amp;nbsp;&lt;SPAN&gt;when I use the OfflineMapTask&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;on mobile&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;I am able to download .vtpk file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Observation in&amp;nbsp;Arcgis online layer settings page:&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Default basemap's setting page is different from that of custom basemap. Setting page for custom basemap shows me tile's datasource, for default&amp;nbsp;basemap it gives me option to build tiles !!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Another observation with using rest api&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;EM&gt;[../exportTiles?tilePackage=true&amp;amp;exportExtent=-13051380,4030276,-13037288,4041136&amp;amp;optimizeTilesForSize=true&amp;amp;compressionQuality=60&amp;amp;exportBy=levelId&amp;amp;levels=13-19&amp;amp;areaOfInterest=&amp;amp;f=json ]&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. With default basemap it doesn't give me the jobid and it says&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;{"error":{"code":400,"message":"Exporting tiles is not allowed.","details":[]}}&lt;/PRE&gt;&lt;P&gt;2.&lt;SPAN&gt;&amp;nbsp;With&amp;nbsp;custom&amp;nbsp;basemap it&amp;nbsp; give me the jobid&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ESRI's default basemaps are not capable of downloading the tiles? or it requires any configuration !&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 06:52:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669692#M4642</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2019-07-01T06:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669693#M4643</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;The default basemaps are currently for online use only, however offline enabled services are available on ArcGIS Online.&amp;nbsp; There are a few available here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://tiledbasemaps.arcgis.com/arcgis/rest/services/"&gt;https://tiledbasemaps.arcgis.com/arcgis/rest/services/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These services have the exportTiles request enabled which&amp;nbsp; you can see on this service for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://tiledbasemaps.arcgis.com/arcgis/rest/services/World_Street_Map/MapServer"&gt;https://tiledbasemaps.arcgis.com/arcgis/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the capabilities if you scroll down to the bottom of the page:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="451991" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/451991_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also find the following doc useful reading:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/portal/latest/use/take-maps-offline.htm#ESRI_SECTION2_384E9B7E99EC4460810B947DE70FB2DA"&gt;https://enterprise.arcgis.com/en/portal/latest/use/take-maps-offline.htm#ESRI_SECTION2_384E9B7E99EC4460810B947DE70FB2DA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 10:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669693#M4643</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2019-07-01T10:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669694#M4644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I missed the point mentioning I need free basemaps, as I read, looks like these tiled base maps aren't free, it needs an ArcGIS online named user credentials, which is, unfortunately, not going to work in my case, sorry that I forgot to mention about this. What I need is free basemaps&amp;nbsp;that are offline capable, which I can show to users directly in form of tiles or any other possible way !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there&amp;nbsp;any configuration to provide offline-capable free basemaps !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;one more observation though&lt;/STRONG&gt;,&lt;/P&gt;&lt;DIV&gt;&lt;A href="https://sampleserver6.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer"&gt;https://sampleserver6.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;this url is free and export tiles enable, but it is not available for all types of basemaps !&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 13:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669694#M4644</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2019-07-03T13:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669695#M4645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devendra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, don't use the Sample Servers. Those are for supporting samples only. They will not support a production app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, there are two types of basemaps. Raster&amp;nbsp;Basemaps (with pre-baked pixel-based tiles) and Vector Basemaps (which are rendered on the fly in&amp;nbsp;the client app). When you take them offline, Raster Basemaps will generate a .TPK file and Vector Basemaps will generate a .VTPK file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thirdly, we have separate "For Export" raster basemaps and vector basemaps (see &lt;A href="https://www.arcgis.com/home/search.html?q=owner%3Aesri%20%22for%20export%22&amp;amp;start=1&amp;amp;num=20"&gt;here&lt;/A&gt;&amp;nbsp;- look at the descriptions to see which are vector). In the case of Raster basemaps, we have separate "For Export" versions&amp;nbsp;to ensure that the performance of our standard basemaps is&amp;nbsp;not impacted by requests to package them up to TPK files. In the case of Vector basemaps, you can generate a .VTPK from the standard or "For Export" versions, and the difference is that the "For Export" versions have fewer fonts embedded so make for a smaller file (usually about 75Mb smaller), though you might not get as rich global labeling so be sure to evaluate the suitability for your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, to your issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our basemaps are free but we require authentication to take them offline for measuring usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to authenticate (which you mention) is with a named user. But another way, which will work in your scenario, is App ID authentication (note that at this time you cannot use App ID authentication to access any&amp;nbsp;private data of yours hosted by us, but that's not relevant in this case). To use App ID&amp;nbsp;you need to obtain a token by hitting the &lt;A href="https://www.arcgis.com/sharing/rest/oauth2/token"&gt;HTTPS token rest endpoint&lt;/A&gt; with a POST, passing in &lt;STRONG&gt;client_id&lt;/STRONG&gt;, &lt;STRONG&gt;client_secret&lt;/STRONG&gt;, a grant_type of "client_credentials", and optionally a duration.&amp;nbsp;See &lt;A href="https://gist.github.com/nixta/33afa1a17d7a9ea85f0d2d601e55a79f"&gt;this Swift example&lt;/A&gt;. And &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/token.htm"&gt;this documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the token you get back from the above REST call, you can &lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/security/UserCredential.html#createFromToken(java.lang.String,java.lang.String)"&gt;create a new Credential&lt;/A&gt; which you can use with the calls to take the basemaps offline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the &lt;STRONG&gt;client_id&lt;/STRONG&gt; and &lt;STRONG&gt;client_secret&lt;/STRONG&gt; above, you must sign up for a free developers account over at&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com" title="https://developers.arcgis.com"&gt;ArcGIS for Developers&lt;/A&gt;&amp;nbsp;then, in your dashboard, &lt;A href="https://developers.arcgis.com/applications/new"&gt;create a new Application&lt;/A&gt;. You can get Client ID and Client Secret from the new Application's summary page. Be aware that if someone gets hold of your Client ID and Client Secret, they effectively have access to your account to use up all your credits and manipulate your content so make sure you embed them securely in any app you distribute (if you suspect they've ever leaked, you can just create a new app, but that might involve deploying again).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, you can do all that for free as long as you don't make any revenue&amp;nbsp;from your app. If you do make revenue from the app, you will have to &lt;A href="https://developers.arcgis.com/pricing/"&gt;sign up for a Builder Plan&lt;/A&gt; which allows for commercial app deployment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 16:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669695#M4645</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-07-03T16:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669696#M4646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ! It helps...&lt;/P&gt;&lt;P&gt;Would one client_id&amp;nbsp; / client_secret pair suffice for any 'n' number of app installations !&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 13:44:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669696#M4646</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2019-07-09T13:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669697#M4647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That’s correct, yes. It’s associated with the app regardless of the number of installs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 13:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669697#M4647</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-07-09T13:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669698#M4648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any detailed documentation to understand the parameters that we use for exporting tiles in tpk / vtpk format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/exportTiles?tilePackage=true&amp;amp;&lt;BR /&gt;exportExtent=-13051380,4030276,-13037288,4041136&amp;amp;optimizeTilesForSize=true&amp;amp;compressionQuality=60&amp;amp;exportBy=levelId&amp;amp;levels=13-19&amp;amp;areaOfInterest=&amp;amp;f=json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mainly, I need to get understanding of coordinate system that is used in for exportTiles parameter, how do I get these x and y values, I tried with lat/long it did not give me results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,&lt;/P&gt;&lt;P&gt;the above given url exports tpk, are there vector basemaps available that are exportable ,so that I use vtpk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jul 2019 14:41:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669698#M4648</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2019-07-13T14:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669699#M4649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The workflow that we encourage is where you take your entire map offline.&amp;nbsp; This is where you map (basemap and operational layers) are hosted in ArcGIS Online.&amp;nbsp; This is introduced here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/latest/guide/work-with-offline-maps.htm"&gt;https://developers.arcgis.com/android/latest/guide/work-with-offline-maps.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More detailed information including use of parameters here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/latest/guide/take-map-offline-ondemand.htm"&gt;https://developers.arcgis.com/android/latest/guide/take-map-offline-ondemand.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/latest/guide/take-map-offline-preplanned.htm"&gt;https://developers.arcgis.com/android/latest/guide/take-map-offline-preplanned.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is of course more fine grained API if you are only working with the basemap and not using a webmap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have an Android sample showing this, but here are a couple for JavaFX which you can easily adapt for Android:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/java/latest/sample-code/export-tiles.htm"&gt;https://developers.arcgis.com/java/latest/sample-code/export-tiles.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/java/latest/sample-code/export-vector-tiles.htm"&gt;https://developers.arcgis.com/java/latest/sample-code/export-vector-tiles.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameters are explained in the JavaDoc and pretty simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/tasks/tilecache/ExportTileCacheParameters.html"&gt;https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/tasks/tilecache/ExportTileCacheParameters.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/tasks/vectortilecache/ExportVectorTilesParameters.html"&gt;https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/tasks/vectortilecache/ExportVectorTilesParameters.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The API makes it nice and easy, but if you want to understand what is happening under the covers in the Rest API then you can look at this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/"&gt;https://developers.arcgis.com/rest/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding coordinate systems, the data will be exported in the coordinate system of the basemap.&amp;nbsp; Typically these are Web Mercator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can of course pass in a parameter for the extent of the export area in another spatial reference (WGS84 lat, long for example), BUT make sure that you create your geometry stating the spatial reference!&amp;nbsp; If you don't it will assume the geometry is the same as the basemap and will give unwanted results!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 09:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669699#M4649</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2019-07-15T09:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669700#M4650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark, it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, let me set the context, I am using REST APIs to download tiles here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see this message very frequently that maximum tiles that I can download is set to &lt;STRONG&gt;150000&lt;/STRONG&gt;. How do I increase it because I need to set the levels to the max to show roads, how do I do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see options&amp;nbsp;to set&amp;nbsp;exportBy in the URL&amp;nbsp; to &lt;STRONG&gt;resolution and scales&lt;/STRONG&gt; , but these&amp;nbsp; always give me error of value required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 17:59:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669700#M4650</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2019-07-15T17:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669701#M4651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;150,000 is the max number of tiles we allow to prevent the service being overwhelmed by requests and to prevent the file system filling up with large packages of tiles waiting to be downloaded. It is set by the service administrator. When publishing and hosting your own services, you can control this value but it is not user-configurable for our basemaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can tell if you'll hit that limit by calling the estimate commands:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/services-reference/estimate-export-tile-size-image-service-.htm" title="https://developers.arcgis.com/rest/services-reference/estimate-export-tile-size-image-service-.htm"&gt;Estimate Export Tile Size—ArcGIS REST API&lt;/A&gt;&amp;nbsp;and Android&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/tasks/tilecache/ExportTileCacheTask.html#estimateTileCacheSize(com.esri.arcgisruntime.tasks.tilecache.ExportTileCacheParameters)" title="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/tasks/tilecache/ExportTileCacheTask.html#estimateTileCacheSize(com.esri.arcgisruntime.tasks.tilecache.ExportTileCacheParameters)"&gt;estimateTileCacheSize()&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you have created an ExportTileCacheTask and pointed it at an Image Service and &lt;A href="https://developers.arcgis.com/android/latest/guide/loadable-pattern.htm"&gt;Loaded it&lt;/A&gt;, you can look at the Task's &lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/arcgisservices/ArcGISMapServiceInfo.html"&gt;ArcGISMapServiceInfo&lt;/A&gt; to see what the &lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/arcgisservices/ArcGISMapServiceInfo.html#getMaxExportTilesCount()"&gt;max export tile count&lt;/A&gt; is (and for that matter if the service &lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/arcgisservices/ArcGISMapServiceInfo.html#canExportTiles()"&gt;can even generate a TPK&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to take larger areas offline, the hosted tiled services might not be the right approach for you.&amp;nbsp;VTPKs will be more efficient in that scenario (but we limit the tiles you can take offline in that scenario&amp;nbsp;too).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Taking the tiles offline is provided largely for Runtime app capabilities, so we encourage you to use those APIs. This forum isn't really the place to dig deep into the REST APIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 20:10:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669701#M4651</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-07-15T20:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669702#M4652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick/Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using createReplica to download the geodatabases of the feature layers instead of Native APIs due to framework dependencies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that the following url provides free feature layers, but I am not able to generate geodatabase out of it&lt;/P&gt;&lt;P&gt;&lt;A href="https://cohegis.houstontx.gov/cohgis/rest/services/"&gt;https://cohegis.houstontx.gov/cohgis/rest/services/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are there sync-enabled public feature layer URLs available ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 19:07:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669702#M4652</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2019-07-24T19:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669703#M4653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain the "framework dependencies"? I don't understand. If you're using the Runtime SDK, you have the capabilities at your fingertips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the service has a createReplica &lt;STRONG&gt;Supported Operation&lt;/STRONG&gt;&amp;nbsp;at the bottom of the page, which this services does not, then you can take a runtime&amp;nbsp;geodatabase&amp;nbsp;offline.&amp;nbsp;You can see the &lt;A class="link-titled" href="https://cohegis.houstontx.gov/cohgis/rest/services/PropertyData/PropertyData/MapServer" title="https://cohegis.houstontx.gov/cohgis/rest/services/PropertyData/PropertyData/MapServer"&gt;PropertyData/PropertyData (MapServer)&lt;/A&gt;&amp;nbsp;service doesn't include createReplica:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/454246_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure there&amp;nbsp;are many public services available which are offline enabled, but that's up to the owner/publisher of the data (in the case of the URL you provided, it looks like the City of&amp;nbsp;Houston, Texas). See&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/arcgis-online/manage-data/publish-features.htm" title="https://doc.arcgis.com/en/arcgis-online/manage-data/publish-features.htm"&gt;Publish hosted feature layers—ArcGIS Online Help | ArcGIS&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/layers/new" title="https://developers.arcgis.com/layers/new"&gt;ArcGIS for Developers - New Layer&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To enable your layers for offline use, see&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#ESRI_SECTION2_C1D5C1A8F6084949B8C5BB444F0F44EC" title="https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#ESRI_SECTION2_C1D5C1A8F6084949B8C5BB444F0F44EC"&gt;Manage hosted feature layers—Allow offline editing or collaboration&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 21:17:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669703#M4653</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-07-24T21:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669704#M4654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need one more info here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the base maps that are mentioned in&amp;nbsp;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Ftiledbasemaps.arcgis.com%2Farcgis%2Frest%2Fservices%2FWorld_Street_Map%2FMapServer" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://tiledbasemaps.arcgis.com/arcgis/rest/services/World_Street_Map/MapServer&lt;/A&gt;&amp;nbsp;are with Spatial Reference 3857.&lt;/P&gt;&lt;P&gt;Do we have public basemaps with different spatial references and are export tiles capable !&lt;/P&gt;&lt;P&gt;Also, I read we can create our own basemaps, do we need specific licence for that !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 13:00:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669704#M4654</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2020-03-16T13:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669705#M4655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maps are available in other spatial references, but maybe you can tell me what you are looking for?&amp;nbsp; Is there a regional area or particular basemap you are wanting to get data for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct you can create your own basemaps from raw data and you would be looking at using ArGIS Pro for this task to either create a local data or publish your data to a server based service.&amp;nbsp; Again it's worth telling us a little more about what you are trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 14:16:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669705#M4655</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2020-03-16T14:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to export tiles for basemaps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669706#M4656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need some basemap urls with different spatial references so that I can make my app compatible with such configurations. I do not have access to ArcGIS pro so I will not be able to create any, but my clients might have.&lt;/P&gt;&lt;P&gt;But I want such URLs support in my app. If you can provide me different URLs that are public and offline capable it will be grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 17:00:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/not-able-to-export-tiles-for-basemaps/m-p/669706#M4656</guid>
      <dc:creator>DevendraKhatri</dc:creator>
      <dc:date>2020-03-16T17:00:05Z</dc:date>
    </item>
  </channel>
</rss>

