Share Indoor Positioning Data Service (Indoor Positioning)

Summary

Publishes an Indoor Positioning Data Service to ArcGIS Enterprise or ArcGIS Online. An Indoor Positioning Data Service contains the data required for enabling indoor positioning. It is used by the IndoorsLocationDataSource objects of the ArcGIS Maps SDKs to compute an estimated position.

Usage

  • The IPS Positioning Datasets parameter value is a polygon feature class created by the Create IPS Data Model tool.

  • The IPS Dataset Name parameter value can be selected from the available names of the datasets in the IPS Positioning Datasets parameter value. The dataset names are stored as feature attributes in the IPS Positioning Datasets parameter value.

  • The Sharing Level parameter is based on user permissions. The available options are Owner, Organization, and Everyone.

Parameters

LabelExplanationData Type
IPS Positioning Datasets

The feature class from the ArcGIS IPS Data Model containing one feature per Indoor Positioning Dataset.

Feature Layer
IPS Dataset Name

The name of the Indoor Positioning Dataset. Options will be a list of dataset names derived from the IPS Positioning Datasets parameter value.

String
Title

The title of the Indoor Positioning Data Service.

String
Summary
(Optional)

A short description for the Indoor Positioning Data Service.

String
Tags
(Optional)

The keywords or terms that describe the Indoor Positioning Data Service. Separate multiple tags with a comma.

String
Folder
(Optional)

The name of an existing folder on the portal to store the Indoor Positioning Data Service.

String
Sharing Level
(Optional)

Specifies the sharing permissions that will be used for the service.

  • OwnerOnly the owner of the Indoor Positioning Data Service will have access. This is the default.
  • OrganizationAll members of the organization will have access.
  • EveryoneEveryone, including people outside the organization, will have access.
String
Group Sharing
(Optional)

The groups with which the Indoor Positioning Data Service will be shared. You can select multiple values from the groups to which you belong.

String

Derived Output

LabelExplanationData Type
Indoor Positioning Data Service Item ID

The Indoor Positioning Data Service item ID of the file.

String
Indoor Positioning Data Service Item URL

The Indoor Positioning Data Service URL of the item uploaded to the portal.

String

arcpy.indoorpositioning.ShareIndoorPositioningDataService(in_ips_datasets, ips_dataset_name, title, {summary}, {tags}, {folder}, {sharing_level}, {group_sharing})
NameExplanationData Type
in_ips_datasets

The feature class from the ArcGIS IPS Data Model containing one feature per Indoor Positioning Dataset.

Feature Layer
ips_dataset_name

The name of the Indoor Positioning Dataset. Options will be a list of dataset names derived from the in_ips_datasets parameter value.

String
title

The title of the Indoor Positioning Data Service.

String
summary
(Optional)

A short description for the Indoor Positioning Data Service.

String
tags
(Optional)

The keywords or terms that describe the Indoor Positioning Data Service. Separate multiple tags with a comma.

String
folder
(Optional)

The name of an existing folder on the portal to store the Indoor Positioning Data Service.

String
sharing_level
(Optional)

Specifies the sharing permissions that will be used for the service.

  • OWNEROnly the owner of the Indoor Positioning Data Service will have access. This is the default.
  • ORGANIZATIONAll members of the organization will have access.
  • EVERYONEEveryone, including people outside the organization, will have access.
String
group_sharing
[group_sharing,...]
(Optional)

The groups with which the Indoor Positioning Data Service will be shared. You can select multiple values from the groups to which you belong.

String

Derived Output

NameExplanationData Type
out_positioning_item_id

The Indoor Positioning Data Service item ID of the file.

String
out_positioning_item_url

The Indoor Positioning Data Service URL of the item uploaded to the portal.

String

Code sample

ShareIndoorPositioningDataService example (Python window)

The following Python window script demonstrates how to use the ShareIndoorPositioningDataService function to publishes an Indoor Positioning Data Service.

# Name: ShareIndoorPositioningDataService_sample.py 
# Description: Share an Indoor Positioning Data Service using an IPS Positioning Dataset stored in a file geodatabase 
 
# Import system modules 
import arcpy.indoorpositioning as ips 
 
# Set local variables 
in_ips_datasets = r"C:\\Users\\myUser\\Documents\\ArcGIS\\Projects\\DemoProject\\DemoProject.gdb\IPS_Positioning_Datasets" 
ips_dataset_name = 'myDataset' 
title = 'myTitle' 
summary = 'This is an example summary.' 
tags = 'Tag1,Tag2' 
folder = 'myFolder' 
sharing_level = 'Owner' 
group_sharing = 'FirstGroup;SecondGroup' 
 
# Call the ShareIndoorPositioningDataService ips.ShareIndoorPositioningDataService( 
ips.ShareIndoorPositioningDataService(
    in_ips_datasets,
    ips_dataset_name,  
    title, 
    summary, 
    tags, 
    folder, 
    sharing_level, 
    group_sharing 
)

Environments

Licensing information

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

Related topics