Fieldwork takes you and your mobile workers to places without a data connection, but that shouldn’t stop you from using your GIS data. You can create a scene without an Internet connection, and you can use it on your device in the field. You can use a custom app built with ArcGIS AppStudio or ArcGIS Runtime SDK.
Taking data offline often requires preprocessing. This workflow explains how to create tile packages as elevation sources for use in the Create Mobile Scene Package geoprocessing tool. However, it can also be used to create tile packages from aerial imagery. Aerial images that reference raster datasets are supported as input to the Create Mobile Scene Package tool. See Author a mobile scene package for ArcGIS Runtime SDK for additional considerations.
Find and open the project
The data used in this tutorial is available as a project package that can be downloaded from ArcGIS Online through ArcGIS Pro.
To open the project, complete the following steps:
- Open a new instance of ArcGIS Pro.
- From the ArcGIS Pro start page, click Open another project .
- Click the All Portal filter and search for Make Offline Scene example.
- Select the Make Offline Scene project package and click OK.
The project downloads and opens four scenes:
- WGS84
- WGS84_PostProcess
- WebMercatorAuxiliarySphere
- WebMercator_PostProcess
Option 1: Create a tile package for a ground elevation source in WebMercatorAuxiliarySphere
ArcGIS Runtime SDK only supports ground elevation sources that reference a tile package. To take the scene offline, use the Manage Tile Cache and Export Tile Cache tools to create the tile package.
- Ensure that WebMercatorAuxiliarySphere is the active scene.
- On the Analysis tab, click the Tools button.
The Geoprocessing pane appears.
- In the Geoprocessing pane search box, search for Manage Tile Cache and click the tool to open it. Set the following parameters:
- Specify a Cache location using the browse button .
- Type Elevation Cache Web Mercator for Cache Name.
- Select Recreate all tiles for Manage Mode.
- Select DEM for Input Data Source.
- Select Elevation tiling scheme for Input tiling scheme. If the tile package is for an aerial image, select ArcGIS Online tiling scheme.
- Use the default number of scales.
If you do adjust the scales, ensure that the Minimum Cached Scale and Maximum Cached Scale values are adjusted as well.
- Click Run .
The cache is created in the cache location. - In the Geoprocessing pane search box, search for Export Tile Cache and click the tool to open it. Set the following parameters:
- If Elevation Cache Web Mercator was not added to the scene in the previous step, add Elevation Cache Web Mercator to the scene from the Cache location.
- Select Elevation Cache Web Mercator for Input Tile Cache.
- Specify a folder for Output Location using the browse button .
- Type GroundElevationWebMercator for Output Tile Cache Name.
- Select Tile Package for Export Cache As.
- Use the default values for the other parameters.
- Click Run .
A tile package is created in the output location.
Option 2: Create a tile package for a ground elevation source in WGS84
This workflow is for the WGS84 (WKID 4326) coordinate system, which is the default coordinate system in a global scene.
- Ensure that WGS84 is the active scene.
- In the Geoprocessing pane search box, search for Manage Tile Cache and click the tool to open it. Set the following parameters:
- Specify a Cache location using the browse button .
- Type Elevation Cache WGS84 for Cache Name.
- Select Recreate all tiles for Manage Mode.
- Select DEM for Input Data Source.
- Select WGS84 version 2 elevation tiling scheme for Input tiling scheme.
- Click the browse button and browse to the tiling scheme created in the previous step.
- Click Select All to select all the scales.
This can be adjusted if you're using your own data. If you do adjust the scales, ensure that the Minimum Cached Scale and Maximum Cached Scale values are adjusted as well.
- Use 250000000 for Minimum Cached Scale.
- Click Run .
The cache is created in the cache location and added to the scene.
- In the Geoprocessing pane search box, search for Export Tile Cache and click the tool to open it. Set the following parameters:
- If Elevation Cache WGS84 was not added to the scene in the previous step, add Elevation Cache WGS84 to the scene from the Cache location.
- Select Elevation Cache WGS84 for Input Tile Cache.
- Select the project folder or any folder for Output Location using the browse dialog box.
- Enter GroundElevationWGS84 for Output Tile Cache Name.
- Select Tile Package for Export Cache As.
- Use the default values for the other parameters.
- Click Run .
A tile package is created in the output location.
Option 3: Share a web scene or web layer
Tile packages can be quickly created using the Share a web scene or Share a web elevation layer workflows. Once these workflows have been completed, you can add the tile package from a portal to your scene.
- In the Catalog pane, click the Portal tab.
- Click My Content .
- Search for the recently created tile package .
- Right-click the tile package and click Add to current map.
- In the Contents pane, drag the tile package into the Ground surface.
The elevation tile package is set as the elevation source in the Ground surface.
Prepare a scene to use in the Create Mobile Scene Package tool
Now that the data has been prepared, you'll ensure that the scene is ready for input to the Create Mobile Scene Package tool.
- Remove the DEM raster and any other rasters from the Contents pane that were created in the previous steps.
- If not already done, add the tile package to the Ground elevation surface.
- On the Map tab, in the Layer group, click Add Data > Add Elevation Source .
- Browse to the recently created tile package and select it to add it as the elevation source.
The tile package is added as the ground elevation source.
Note:
You may need to refresh the workspace to see tile package.
- Prepare feature layers by reviewing requirements in Operational layers.
- For additional ArcGIS Runtime SDK considerations see Author a mobile scene package for ArcGIS Runtime SDK.
Create a mobile scene package
Once the scene has been prepared, you're ready to use the Create Mobile Scene Package tool.
- In the Geoprocessing pane search box, search for Create Mobile Scene Package and click the tool to open it. Set the following parameters:
- Click the Input Scene drop-down menu and select WGS84 or WebMercatorAuxiliarySphere.
- Specify a location and file name for Output File using the browse button .
- Use the default values for Input Locator, Area of Interest, Extent, and Clip Features.
- Specify Downtown Philadelphia for Title.
- Specify Downtown Philadelphia Offline Scene for Summary and Description.
- Specify philly, mspk, and offline for Tags.
- Use the default values for the other parameters.
- Click Run .
A mobile scene package is created that can be shared across the ArcGIS platform. The mobile scene package can be shared to ArcGIS Online or Portal for ArcGIS 10.7 or later for use in an ArcGIS Runtime SDK app.