Create IPS Data Model (Indoor Positioning)

Available for an ArcGIS organization licensed with the ArcGIS IPS extension.

Summary

Creates an IPS Data Model containing the following components:

  • IPS Positioning Datasets
  • IPS Positioning Signals
  • IPS Positioning Points
  • IPS Recordings
  • IPS Beacons

Usage

  • The Target Workspace parameter value must be an existing geodatabase. The value can be a file or an enterprise geodatabase.

  • When using an enterprise geodatabase, the connection file must connect directly to the database as the database owner.

  • If the Setup Indoors Model for IPS parameter is checked, the tool will create and configure the following feature classes from the ArcGIS Indoors Information Model that are necessary for enabling the ArcGIS IPS:

    • Sites
    • Facilities
    • Levels
    • Pathways
    • Transitions
    Note:

    The coordinate system of the existing Indoors Information Model will not be modified with this tool. You can select a coordinate system using the Coordinate System parameter for the IPS Data Model.

Parameters

LabelExplanationData Type
Target Workspace

The file or enterprise geodatabase where the IPS Data Model will be created.

Workspace
Coordinate System

The spatial reference that will be used for the output IPS Data Model. The default is WGS84.

Coordinate System
Setup Indoors Model for IPS
(Optional)

Specifies whether an Indoors Information Model containing the feature classes—Sites, Facilities, Levels, Pathways, and Floor Transitions—will be created and configured.

  • Checked—An Indoors Information Model and feature classes will be created and configured.
  • Unchecked—An Indoors Information Model and feature classes will not be created and configured. This is the default.
Boolean

Derived Output

LabelExplanationData Type
Updated Workspace

The file or enterprise geodatabase where the IPS Data Model is created.

Workspace

arcpy.indoorpositioning.CreateIPSDataModel(target_workspace, coordinate_system, {setup_indoors_model_for_ips})
NameExplanationData Type
target_workspace

The file or enterprise geodatabase where the IPS Data Model will be created.

Workspace
coordinate_system

The spatial reference that will be used for the output IPS Data Model. The default is WGS84.

Coordinate System
setup_indoors_model_for_ips
(Optional)

Specifies whether an Indoors Information Model containing the feature classes—Sites, Facilities, Levels, Pathways. and Floor Transitions—will be created and configured.

  • SETUP_INDOORS_MODEL An Indoors Information Model and feature classes will be created and configured.
  • NO_SETUP_INDOORS_MODELAn Indoors Information Model and feature classes will not be created and configured. This is the default.
Boolean

Derived Output

NameExplanationData Type
out_workspace

The file or enterprise geodatabase where the IPS Data Model is created.

Workspace

Code sample

CreateIPSDataModel example 1 (Python window)

The following Python window script demonstrates how to use the CreateIPSDataModel function to create the IPS Data Model and feature classes in an existing geodatabase.

# Name: CreateIPSDataModel_example.py
# Description: Creates the ArcGIS IPS Data Model

# Import system modules
import arcpy

# Set local variables
target_workspace = r"C:\\Users\\myUser\\Documents\\ArcGIS\\Projects\\DemoProject\\DemoProject.gdb"
coordinate_system = arcpy.SpatialReference("WGS 1984 Web Mercator (Auxiliary Sphere)")
setup_indoors_model_for_ips = "NO_SETUP_INDOORS_MODEL"

# Call the CreateIPSDataModel tool
arcpy.indoorpositioning.CreateIPSDataModel(target_workspace, coordinate_system, setup_indoors_model_for_ips)

Environments

Licensing information

  • Basic: No
  • Standard: Requires ArcGIS IPS
  • Advanced: Requires ArcGIS IPS

Related topics