Available for an ArcGIS organization licensed with the Indoors extension.
After importing floor plans, you can manually create events data for use in the ArcGIS Indoors web and mobile apps.
Indoors supports three methods of creating and managing events in your maps:
- Custom modeled floor-aware layers
- Custom modeled layers that are not floor aware
- Loading data into the Events
Required fields
If you are using custom modeled layers to maintain events data, you must add fields to enable functionality in the Indoors web and mobile apps. If you are using an Events feature class (created in the Indoors geodatabase using the Create Indoors Database tool), these fields are included by default.
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 |
---|---|---|
EVENT_ID | Text | Defines a unique ID for the feature. This value must be unique in the table. |
NAME | Text | The name of the event. |
DATE_START | Date | Defines the start date for the event in Coordinated Universal Time (UTC). |
DATE_END | Date | Defines the end date for the event in Coordinated Universal Time (UTC). |
UNIT_NAME | Text | Records the name of the feature’s associated unit. |
DESCRIPTION | Text | Provides a description of the feature for use in turn-by-turn directions. |
IMAGE_URL | Text | Provides a URL for displaying a single associated image in pop-ups in the web and 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 may 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 will be used to join the unit and location details to each event.
- Add the INSIDE_X, INSIDE_Y, and INSIDE_Z fields to the Units feature class with the Add Geometry Attributes tool.
Choose Central point coordinates for the Geometry Properties parameter.
- Calculate the z-value for units features.
- Right-click the Units feature class and click Attribute Table.
- Right-click the INSIDE_Z field and click Calculate Geometry.
- Choose Minimum z-coordinate from the Property drop-down menu.
- Click OK.
The INSIDE_Z field is populated with the z-value of the unit feature.
- Join the Units feature class to your imported events table.
- Right-click the events table and click Joins and Relates, and then click Add Join.
- Choose the location field of 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 3D points into the Events feature class or your custom modeled feature class.
Tip:
Use the Schema Type Field Map option to match the attributes of input points to the target dataset.
Update events
To update event features, complete the following steps:
- Delete invalid event features from the indoor dataset.
These features are replaced with updated features.
- Follow the steps above to load events data for updated areas to the indoor dataset.
Tip:
- Use an input spreadsheet that has been filtered to only contain events for updated areas.
- Create the points in a separate feature class.
- Use the Append tool to load the new points into the current Events feature class in the existing workspace.