# Name: CreateIPSQualityDataset_example2.py
# Description: Creates an empty file geodatabase and the ArcGIS IPS Quality dataset and feature classes
# Import system modules
import arcpy
# Set local variables
gdb_path = r"C:\IndoorPositioning"
gdb_name = "ExampleDatabase.gdb"
coordinate_system = arcpy.SpatialReference("WGS 1984 Web Mercator (auxiliary sphere)", "WGS 1984")
dataset_name = "myDataset"
# Call the CreateFileGDB tool to create a new file geodatabase
arcpy.management.CreateFileGDB(gdb_path, gdb_name)
# Call the CreateIPSQualityDataset tool to create the ArcGIS IPS
# Quality Dataset and the feature classes in the empty file geodatbase
arcpy.indoorpositioning.CreateIPSQualityDataset(r"{0}\{1}".format(gdb_path, gdb_name), coordinate_system, dataset_name)