You can use ArcGIS Pro ArcGIS Pro is a professional desktop GIS application that can explore, visualize, analyze, and manage 2D and 3D data. Learn more to consolidate your scenes A scene is a collection of layers that are displayed in 3D. It is typically composed of a basemap layer, data layers, and 3D data. Learn more into a single mobile scene package A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more (.mspk) that can be taken offline. Each package can contain scenes, elevation sources, and any data necessary for your users to continue working when connectivity is poor or non-existent. Mobile scene packages can include basemaps A basemap layer is the layer in a map or scene that displays basemap data. The data source for a basemap layer is typically a basemap service. Learn more , data layers A data layer is a layer that references geographic data from a file or a service and is used to visualize the data in a map or scene. Learn more , 3D scene layers A scene layer is a data layer is used to access and display 3D data from a scene service. Learn more , tiled layers (.tpkx,.vtpk), tables A table is a non-spatial dataset in a feature service. All records in a table share the same set of fields. Learn more , relationship classes, locators A locator is an ArcGIS dataset that stores address information and the rules for translating descriptions of places (such as street addresses or place names) into spatial data that can be displayed on a map. Learn more , and elevation sources An elevation layer is a layer that defines the ground height or the surface for a scene. Learn more . Each package adheres to a common scene A scene is a collection of layers that are displayed in 3D. It is typically composed of a basemap layer, data layers, and 3D data. Learn more definition, allowing you to transport your scenes and data across ArcGIS.

With ArcGIS Pro 2.6 (or later) you can include online layers A layer is a reference to a collection of geographic data that is used to access and display data. The data for layers are typically provided by the basemap layer service and data services. Learn more and tables A table is a non-spatial dataset in a feature service. All records in a table share the same set of fields. Learn more in your scenes, such as traffic information, weather conditions, or a large company data-set. If your user’s device has network connectivity they can take advantage of these online layer. If the connection is unavailable, users can continue to work with the scenes A scene is a collection of layers that are displayed in 3D. It is typically composed of a basemap layer, data layers, and 3D data. Learn more and data that is stored locally in the mobile scene package A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more .

Create a mobile scene package with ArcGIS Pro

  1. Locate the ArcGIS Pro tool called Create Mobile Scene Package in the Data Management Toolbox. You can use this to create a mobile scene package A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more containing any number of scenes A scene is a collection of layers that are displayed in 3D. It is typically composed of a basemap layer, data layers, and 3D data. Learn more .
  2. If needed, set an expiration date on the mobile scene package. This is available with ArcGIS Pro 2.4 (or later) with the ArcGIS Publisher extension license.
  3. If you want include online layers A layer is a reference to a collection of geographic data that is used to access and display data. The data for layers are typically provided by the basemap layer service and data services. Learn more and tables A table is a non-spatial dataset in a feature service. All records in a table share the same set of fields. Learn more in the scenes A scene is a collection of layers that are displayed in 3D. It is typically composed of a basemap layer, data layers, and 3D data. Learn more , you need to check on the Reference online content. This is available with ArcGIS Pro 2.6 (or later).
  4. Save the package to ArcGIS Online ArcGIS Online is a GIS mapping, analytics, data hosting, and content management software as a service (SaaS) product. It includes applications, tools, APIs, and location services for users and developers. It is subscription-based and requires an ArcGIS Online account. Learn more , ArcGIS Enterprise ArcGIS Enterprise is a GIS mapping, analytics, data hosting, and content management product that can be hosted on-premise or in a cloud infrastructure. It includes software, applications, tools, APIs, and services for users and developers. Learn more , or to a folder on your device.
  5. You can download the mobile scene package A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more from ArcGIS Online or ArcGIS Enterprise directly onto your device using this API. Alternatively, you can copy the package directly to your device (or sideload Sideloading is the process of deploying a file or package to a device without using a network. Learn more it).

Open the mobile scene package

To create the mobile scene package A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more object, pass the mobile scene package file path to the mobile scene package constructor. Load the package and access its collection of scenes. Passing the scene A scene is a collection of layers that are displayed in 3D. It is typically composed of a basemap layer, data layers, and 3D data. Learn more to the scene view A scene view is a user interface that displays scene layers and graphics in 3D. It uses a camera to control the visible area of the scene and supports user interactions such as pan, zoom, tilt, and rotate. Learn more will initiate loading the scene, its layers A layer is a reference to a collection of geographic data that is used to access and display data. The data for layers are typically provided by the basemap layer service and data services. Learn more , and data.

Handle mobile scene package expiration

Mobile scene packages A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more , created with ArcGIS Pro 2.4 (or later), can have an expiration date set. This gives the author more control over the lifetime of the package’s data. For example, it will allow you to do the following:

  • Provide data to third-party contractors that will expire at the end of a contract.
  • Indicate to your users that the data is now obsolete.

Use the ArcGIS Pro tool, create a mobile scene package to set an expiration date/time, an expiration message, and data access options. Setting expiration requires an ArcGIS Pro ArcGIS Pro is a professional desktop GIS application that can explore, visualize, analyze, and manage 2D and 3D data. Learn more Publisher extension license.

There are three possible outcomes when you try to load a mobile scene package A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more :

  1. You have full access to the mobile scene package and their scenes A scene is a collection of layers that are displayed in 3D. It is typically composed of a basemap layer, data layers, and 3D data. Learn more . This situation occurs if the package has been created without any expiration properties or if it has not expired.
  2. You have full access to the mobile scene package A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more and their scenes A scene is a collection of layers that are displayed in 3D. It is typically composed of a basemap layer, data layers, and 3D data. Learn more , even though the scenes and their data have expired. You will be warned that the package is out of date.
  3. You cannot access the mobile scene package and their scenes because it has expired. In this case, the package will fail to load and you will not be able to access its scenes and data.

These three outcomes are managed by the mobile scene package A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more load process. No extra workflow or code paths are required to accommodate this.

If you want to provide your users with extra information, you can retrieve the expiration details from the expiration property on the mobile scene package A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more . For example, you could display how many days remain before the package expires by doing the following:

  1. Load the mobile scene package A mobile scene package (MSPK) is a standalone file that contains one or more scene definitions, including the basemap layers, elevation layers, data layers, layer styles, and pop-up styles for use in offline applications built with ArcGIS Maps SDKs for Native Apps. Learn more .
  2. Read the expiration property on the mobile scene package.
  3. Confirm that it has not expired.
  4. Get the expiration date.
  5. Calculate the number of days between today and the expiration date. Report the number of days remaining.