Enable Indoor Positioning (Indoor Positioning)

Summary

Creates the feature classes and table necessary for storing ArcGIS IPS data in an existing geodatabase.

Usage

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

  • If you created floor plan data using ArcGIS Indoors, use the Indoors database as the Input Workspace parameter value.

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

  • You can use the Out Beacon Feature Class value to update the beacon information for an existing beacon deployment and to plan new beacon deployments. Information about deployed beacons can be updated using the ArcGIS Field Maps mobile app, or by editing the Beacons feature class in ArcGIS Pro or Map Viewer.

Parameters

LabelExplanationData Type
Input Workspace

The geodatabase where the ArcGIS IPS table and feature classes will be created. This can be a file or enterprise geodatabase.

Workspace

Derived Output

LabelExplanationData Type
Out IPS Recordings Feature Class

The output IPS recordings feature class that is created.

Feature Class
Out IPS Positioning Table

The output IPS positioning table that is created.

Table
Updated Input Workspace

The file or enterprise geodatabase in which the ArcGIS IPS table and feature classes are created.

Workspace
Out Beacon Feature Class

The output IPS beacons feature class that is created.

Feature Class

arcpy.indoorpositioning.EnableIndoorPositioning(in_workspace)
NameExplanationData Type
in_workspace

The geodatabase where the ArcGIS IPS table and feature classes will be created. This can be a file or enterprise geodatabase.

Workspace

Derived Output

NameExplanationData Type
out_ips_recordings

The output IPS recordings feature class that is created.

Feature Class
out_ips_positioning

The output IPS positioning table that is created.

Table
out_workspace

The file or enterprise geodatabase in which the ArcGIS IPS table and feature classes are created.

Workspace
out_beacon_features

The output IPS beacons feature class that is created.

Feature Class

Code sample

EnableIndoorPositioning example 1 (Python window)

The following Python window script demonstrates how to use the EnableIndoorPositioning function to create ArcGIS IPS feature classes and table in an existing geodatabase.

# Name: EnableIndoorPositioning_example1.py
# Description: Creates the ArcGIS IPS table and feature classes in an existing geodatabase

# Import system modules
import arcpy

# Set local variables
in_workspace = r"C:\IndoorPositioning\ExampleDatabase.gdb"

arcpy.indoorpositioning.EnableIndoorPositioning(in_workspace)
EnableIndoorPositioning example 2 (Python window)

The following Python window script demonstrates how to create an empty file geodatabase and use the EnableIndoorPositioning function to create ArcGIS IPS feature classes and table in an existing geodatabase.

# Name: EnableIndoorPositioning_example2.py
# Description: Creates an empty file geodatabase and creates
# the ArcGIS IPS table and feature classes

# Import system modules
import arcpy

# Set local variables
gdb_path = r"C:\IndoorPositioning"
gdb_name = "ExampleDatabase.gdb"

# Call the CreateFileGDB tool to create a new file geodatabase
arcpy.management.CreateFileGDB(gdb_path, gdb_name)  

# Call the EnableIndoorPositioning tool to create the ArcGIS IPS
# table and feature classes in the empty file geodatbase
arcpy.indoorpositioning.EnableIndoorPositioning(r"{0}\{1}".format(gdb_path, gdb_name))

Environments

Licensing information

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

Related topics