Indoor-Positionierung konfigurieren (Indoors)

Diese ArcGIS 2.6-Dokumentation wurde archiviert und wird nicht mehr aktualisiert. Inhalt und Links sind möglicherweise veraltet. Verwenden Sie die aktuelle Dokumentation.

Available for an ArcGIS organization licensed with the Indoors extension.

Zusammenfassung

Schreibt Informationen über die Konfiguration des Indoor Positioning System in eine ArcGIS Indoors-Geodatabase. Die Werte werden von ArcGIS Indoors for iOS und ArcGIS Indoors for Android verwendet.

Das Werkzeug ist nur erforderlich, wenn Ihre Organisation das Positioning System von Indoo.rs verwendet.

Verwendung

  • Das Werkzeug füllt in der Tabelle "IndoorsConfig" die Spalte "Config Value" mit Werten für die folgenden Konfigurationsschlüssel (Config Key) auf:

    • ELSS_API_KEY
    • ELSS_ENCRYPTION_KEY
    • ELSS_BUILDING_ID
    Hinweis:

    Wenn diese Konfigurationsschlüssel nicht in der Tabelle vorhanden sind, werden sie vom Werkzeug als neue Zeilen hinzugefügt.

  • Die Werte von "ELSS_API_KEY" und "ELSS_ENCRYPTION_KEY" sind verschlüsselt.

  • "ELSS_ENCRYPTION_KEY" kann ein Zeichenfolgenwert sein.

Syntax

ConfigureIndoorPositioning(in_geodatabase, encryption_key, api_key, building_id)
ParameterErklärungDatentyp
in_geodatabase

Die Indoors-Datei oder -Enterprise-Geodatabase, für die IPS-Konfigurationsinformationen generiert werden.

Workspace
encryption_key

Der Schlüssel, mit dem das Werkzeug und mobile Indoors-Apps den Wert des Parameters API-Schlüssel (api_key in Python) verschlüsseln oder entschlüsseln.

String
api_key

Ein eindeutiger Wert im Format einer GUID, mit dem mobile Indoors-Apps die Indoor-Positionierung von Indoo.rs aktivieren. Der API-Schlüssel wird von Indoo.rs bereitgestellt.

String
building_id

Ein eindeutiger numerischer Wert, mit dem mobile Indoors-Apps den Standort im mobilen Kartenpaket mit der Indoor-Positioning-Vermessung von Indoo.rs verknüpfen. Die Gebäude-ID wird von Indoo.rs bereitgestellt.

String

Abgeleitete Ausgabe

NameErklärungDatentyp
updated_gdb

Die aktualisierte Eingabe-Geodatabase.

Workspace

Codebeispiel

ConfigureIndoorPositioning – Beispiel 1 (Python-Fenster)

Das folgende Skript für das Python-Fenster veranschaulicht, wie die Funktion ConfigureIndoorPositioning im unmittelbaren Modus verwendet wird.

import arcpy

arcpy.indoors.ConfigureIndoorPositioning("C:/Indoors/ExampleCampus.gdb", "testEncrypt", "111-aaa-2222-bbbbb-3333444", "123456789")
ConfigureIndoorPositioning – Beispiel 2 (eigenständiges Skript)

Das folgende eigenständige Skript veranschaulicht, wie die Funktion ConfigureIndoorPositioning verwendet wird.

# 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)

Lizenzinformationen

  • Basic: Erfordert Indoors
  • Standard: Erfordert Indoors
  • Advanced: Erfordert Indoors

Verwandte Themen