Available for an ArcGIS organization licensed with the Indoors extension.
After importing floor plans, you can manually create events data for use in Indoor Viewer and Indoors Mobile.
Indoors supports two methods of creating and managing events data in your maps:
- Custom-modeled floor-aware layers
- The Events feature class created by the Create Indoors Database tool
Required fields
If you are using a custom modeled layer to maintain events data, you must add fields to enable functionality in the Indoors web and mobile apps.
The following required fields are used by the Indoors web and mobile apps and must be included in the events layer:
Field name | Type | Description |
---|---|---|
DATE_END | Date | Defines the end date for the event in coordinated universal time (UTC). |
DATE_START | Date | Defines the start date for the event in Coordinated Universal Time (UTC). |
DESCRIPTION | Text | Provides a description of the feature for use in turn-by-turn directions. |
EVENT_ID | Text | Defines a unique ID for the feature. This value must be unique in the table. |
IMAGE_URL | Text | Provides a URL for displaying a single associated image in pop-ups in the Indoors web and mobile apps. |
LEVEL_ID | Text | Records the unique ID of the feature’s associated level and is used to identify the feature’s associated level feature in floor-aware maps. A feature can only be related to a single level using the Level ID field. |
NAME | Text | Defines the name of the event. |
USE_TYPE | Text | Defines the event type. This value is used to filter events by type in Viewer and the Indoors mobile apps. |
Create events
Ensure that your events table contains a location attribute UNIT_ID that matches the UNIT_ID for the unit feature where the event is taking place. The events can come from a class schedule, Microsoft Exchange Server, a conference agenda, a spreadsheet, or another business system or live service. To load event data, you need to combine a spreadsheet or table of events with the Units feature class and output a 3D point of the joined location and event information.
Note:
Event date and time must be stored in UTC.
- Load your tabular events data into a table in
the geodatabase that contains your indoor dataset.
For example, you can use the Excel To Table tool.
Note:
Ensure that your events table contains a location attribute UNIT_ID that matches the Units feature class's UNIT_ID attribute. These attributes are used to join the unit and location details to each event.
- Use the Calculate Geometry Attributes tool to calculate the x-, y-, and z-coordinates for the Units feature class and add them as fields.
- For the Input Features parameter, choose the Units layer.
- For the Geometry Attributes parameter, specify the following three fields to create that will contain the centroids for the x-, y-, and z-coordinates.
Field (Existing or New) Property INSIDE_X
Centroid x-coordinate
INSIDE_Y
Central point y-coordinate
INSIDE_Z
Central point z-coordinate
- Click Run.
The INSIDE_X, INSIDE_Y, and INSIDE_Z fields are added to the Units feature class and populated with the x-, y-, and z-coordinates of the unit centroids.
- Join the Units layer to your imported events table.
- Right-click the events table, click Joins and Relates, and click Add Join.
- Choose the location field from your events table for the Input Join Field parameter.
- Choose the Units feature class for the Join Table parameter.
- Choose the UNIT_ID field for the Join Table Field parameter.
- Run the Make XY Event Layer tool on the joined table.
Tip:
Use the INSIDE_X, INSIDE_Y, and INSIDE_Z attributes.
- Run the Copy Features tool to create a temporary point feature class.
- Use the Append tool to load the point features into the Events feature class.
Tip:
Use the Schema Type Field Map option to match the attributes of input points to the target dataset.
You can now add the Events feature class to the map, configure the layer as floor aware, and include it when you prepare maps for Indoor Viewer and Indoors Mobile.
Update events
You may need to update event features to add new events to your Events layer or to change the geometry to account for floor plan changes.
To update event features, complete the following steps:
- Delete event features from the indoor dataset that are no longer needed.
- Follow the steps above to load updated events data to the indoor dataset.
Tip:
- Use an input spreadsheet that has been filtered to only contain new events and events for updated areas.
- Create the points in a separate feature class.
- Use the Append tool to load the new points into the Events feature class.