Available for an ArcGIS organization licensed with the Indoors extension.
Summary
Writes indoor positioning system configuration information to an ArcGIS Indoors geodatabase. The values are used by ArcGIS Indoors for iOS and ArcGIS Indoors for Android.
The tool is only necessary if your organization is using the Indoo.rs positioning system.
Usage
In the IndoorsConfig table, the tool populates the Config Value column with values for the following Config Keys:
- ELSS_API_KEY
- ELSS_ENCRYPTION_KEY
- ELSS_BUILDING_ID
Note:
If these Config Keys do not exist in the table, the tool will add them as new rows.
The ELSS_API_KEY and ELSS_ENCRYPTION_KEY values are encrypted.
The ELSS_ENCRYPTION_KEY can be a string value.
Syntax
arcpy.indoors.ConfigureIndoorPositioning(in_geodatabase, encryption_key, api_key, building_id)
Parameter | Explanation | Data Type |
in_geodatabase | The Indoors file or enterprise geodatabase for which IPS configuration information will be generated. | Workspace |
encryption_key | The key used by the tool and Indoors mobile apps to encrypt or unencrypt the API Key parameter (api_key in Python) value. | String |
api_key | A unique value in the form of a GUID used by Indoors mobile apps to enable Indoo.rs indoor positioning. The API key is provided by Indoo.rs. | String |
building_id | A unique alphanumerical value used by Indoors mobile apps to link the site in the mobile map package to the Indoo.rs indoor positioning survey. The building ID is provided by Indoo.rs. | String |
Derived Output
Name | Explanation | Data Type |
updated_gdb | The updated input geodatabase. | Workspace |
Code sample
The following Python window script demonstrates how to use the ConfigureIndoorPositioning function in immediate mode.
import arcpy
arcpy.indoors.ConfigureIndoorPositioning("C:/Indoors/ExampleCampus.gdb", "testEncrypt", "111-aaa-2222-bbbbb-3333444", "123456789")
The following stand-alone script demonstrates how to use the ConfigureIndoorPositioning function.
# Name: Indoors_ConfigureIPS_example2.py
# Description: Configures workspace with indoor positioning system information.
# Import system modules
import arcpy
# set geodatabase that is populated with Indoors model
in_geodatabase = 'C:/Indoors/ExampleCampus.gdb'
encrypt_key = 'testEncrypt'
api_key = '111-aaa-2222-bbbbb-3333444'
building_id = '123456789'
# run the tool
arcpy.indoors.ConfigureIndoorPositioning(in_geodatabase, encrypt_key, api_key, building_id)
Environments
Licensing information
- Basic: Requires Indoors
- Standard: Requires Indoors
- Advanced: Requires Indoors