Create geoprocessing and map packages

You can use ArcGIS Pro to create a variety of packages, which are compressed files containing GIS data and workflows. These packages can be used in your ArcGIS Runtime apps when you use ArcGIS Runtime Local Server to create local geoprocessing service instances from geoprocessing packages and local map service instances from map packages.

  • Geoprocessing packages (.gpkx files) enable you to include advanced spatial analysis and data manipulation in your ArcGIS Runtime apps when using ArcGIS Runtime Local Server. Geoprocessing packages are created from a successful result obtained from running your custom geoprocessing model or script tool.

  • Map packages (.mpkx files) enable you to share complete maps from ArcGIS Pro and include those as map image layers or feature layers in your ArcGIS Runtime apps when using ArcGIS Runtime Local Server. A map package contains a map and the data referenced by its layers or can optionally persist references to the original datasource of each layer.

Authoring packages

Packages are created using ArcGIS Pro. Refer to the ArcGIS Pro documentation topics below for details about creating packages.

Data source considerations

If your ArcGIS Pro map includes data from an enterprise geodatabase data or referenced by UNC path, pay attention to the following paramaters in the Package Map geoprocessing tool when creating map packages for use with ArcGIS Runtime Local Server:

  • Include Enterprise Geodatabase data instead of referencing the data specifies whether input enterprise geodatabase layers will be converted to a file geodatabase or preserved in their original format. By default this is checked and all enterprise geodatabase data sources will be converted to a file geodatabase inside the resulting map package. If the data will remain referenced in the source enterprise geodatabase, you must ensure the appropriate database drivers are installed or included with your application deployment and the Local Server deployment includes the appropriate database components.

  • Reference all data for Runtime specifies whether the map package will continue to reference file-based datasources in the local filesystem or are UNC paths, or the data will be copied and converted to a file geodatabase inside the resulting map package. By default this is unchecked and all file-based data sources will be copied and converted.

Licensing considerations

Your ArcGIS Runtime app must be licensed at the appropriate level to use the tools included in a geoprocessing package. Refer to the Supported geoprocessing tools topic to see the geoprocessing tools supported at each license level.

Next steps

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.