Create Mobile Geodatabase (Data Management)

Summary

Creates a mobile geodatabase.

Learn more about creating and using mobile geodatabases

Usage

  • The output folder location must already exist.

  • If the output geodatabase name does not include a .geodatabase extension, one will be added.

Parameters

LabelExplanationData Type
Mobile Geodatabase Location

The folder where the mobile geodatabase will be created.

Folder
Mobile Geodatabase Name

The name of the mobile geodatabase to be created.

String

Derived Output

LabelExplanationData Type
Output Mobile Geodatabase

The new output mobile geodatabase.

Workspace

arcpy.management.CreateMobileGDB(out_folder_path, out_name)
NameExplanationData Type
out_folder_path

The folder where the mobile geodatabase will be created.

Folder
out_name

The name of the mobile geodatabase to be created.

String

Derived Output

NameExplanationData Type
out_gdb

The new output mobile geodatabase.

Workspace

Code sample

CreateMobileGDB example 1 (Python window)

Create a mobile geodatabase named MyMobileGDB using the CreateMobileGDB function.

import arcpy
arcpy.CreateMobileGDB_management("C:/MyProject/MyData", "MyMobileGDB")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics