Enable Indoor Positioning (Indoor Positioning)

Summary

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

Note:

The Create IPS Data Model tool provides enhanced functionality and performance.

Usage

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

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

  • You can use the Output Beacons 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. It can be a file or enterprise geodatabase.

Workspace

Derived Output

LabelExplanationData Type
Output IPS Recordings Feature Class

The output IPS Recordings feature class that is created.

Feature Class
Output 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
Output Beacons 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. It 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 a 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 a 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