How to add tpk/basemap to mobile map package

6787
3
05-13-2016 11:09 AM
JeffSiemens
New Contributor II


I want to create a mobile map package for consumption with the Runtime SDKs. I have a web map that I want to use:

http://latitudegeo.maps.arcgis.com/home/item.html?id=4180ee327474479a84d61ecadbd32c71

It is using a tiled service that is set up for export:

http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer

I opened the web map in ArcGIS Pro, and then used the "Create Mobile Map Package" Geoprocessing tool.

When I run it, I get the error:

The layer type is not supported in runtime content: USA/World Topographic Map (for Export)

Failed to execute (CreateMobileMapPackage).

I also tried adding a tpk directly to the map, but it doesn't look like you can do that.

So, clearly I'm doing something wrong. How do you get a tpk to be embedded in a mobile map package?

Tags (2)
0 Kudos
3 Replies
NagmaYasmin
Esri Contributor

Hi Jeff,

You will not be able to use ArcGIS online Basemap to create Moboile Map Package, it isn't supported. According to the documentation, "Create Mobile Map Package—Data Management toolbox | ArcGIS Desktop" -->Usage --> 4th Bullet point, "Mobile map packages only support basemap layers within each map or basemap that come from the same workspace.

I have attached the screen shot where you see the "yellowstone.mmpk", that has both of the operational and Basemap layer displayed in the Runtime  .Net application. Hope that helps.

Basemap in MMPK

Nagma

MervynLotter
Regular Contributor

I would also like to load a raster and a mosaic dataset into a Mobile Map Package (MMPK) but it seems one is unable to do so. Only vector data or Vector Tile Packages (that also only consume vector layers) can be used to create MMPKs. It does not look like traditional tile packages are supported within MMPKs either?

Is there a workaround to load rasters/mosaic datasets/image services into a MMPKs? Ideally one would want to query them but being able to load them as a tile cache or tile package would still be helpful. 

Thanks.

MJBiazar
Esri Contributor

You can export a tpk from Esri basemaps and include it in your MMPK. The post linked below provides step by step instructions:

https://community.esri.com/community/gis/applications/arcgis-pro/blog/2018/06/30/using-arcgis-pro-22... 

Best,

MJ

0 Kudos