Use data services or files
You can build applications that use data services and data files without a network connection.
To display a map or scene in an offline application using data services or data files, you need to construct the map or scene in code.
To use a data service in an offline application, you need to download offline data from the data service. Offline data is typically used in applications that have an occasional network connection.
Offline data can be downloaded from the following:
- The basemap layer service
- A custom basemap style
- Feature services
- Vector tile services
- Image tile services
There are two types of offline data that can be generated and downloaded:
- Feature data: A feature service can generate a geodatabase file containing offline feature and non-spatial data. This data can be edited and edits can be synchronized with the source feature service when a network connection is available.
- Tiled data: Other services listed above can generate a package file of read-only tiles, either a vector tile package (VTPK), or an image tile package (TPK).
To learn more, see Offline data.
To use a data file in an offline application, you need to sideload or download the data file to the device. You can get data files from many sources, including desktop GIS tools such as ArcGIS Pro, data conversion scripts, and the internet. Data files are typically used in offline applications that are unable to use a network connection.
You can use the following types of data files:
|Data file type||Supports editing|
|Vector tile package||No|
|Image tile package||No|
|Scene Layer Package ||No|
|Local raster file ||No|
|OGC GeoPackage (feature data)||Yes|
|OGC GeoPackage (raster data)||No|
|OGC KML file||Yes|
|Electronic Nautical Chart (S-57) ||No|
|Other (e.g. GeoJSON)||Yes|
To learn more, see Data files.