Adding location capabilities for mobile users

If your data has latitude and longitude columns, you can add the reserved document properties for geo-location. This task describes adding the properties as a first step to activating a location icon on a mobile device.

Perform this task in Spotfire Analyst.

Prerequisites

The data set must have columns for latitude and longitude.

Procedure

  1. Open a file containing the data with latitude and longitude columns.
    Note: Check the Import Settings to make sure the column names and data types are correct.
  2. Using Recommended Visualizations, select the latitude and longitude for your axes.
    The first recommendation is a Map Chart.
  3. Select the recommended Map Chart, and then close the Recommended Visualizations dialog.
    Note: You can apply any Color by settings, map layers, or filters at any time.
  4. On the menu, click Edit > Document Properties, and in the Document Properties dialog, click the Properties tab.
  5. Click New, and in the resulting dialog, provide the reserved name AppGeoLatitude.
  6. Set the Data Type to Real, and the Default Value to 0.0 (the equator).
    Tip: For testing purposes, you can set AppGeoLatitude to your latitude, but before saving the final version, set it to 0.0.
  7. Add another document property, providing the reserved name AppGeoLongitude, setting the Data Type to Real and setting the Default Value to 0.0 (the prime meridian).
    Tip: For testing purposes, you can set AppGeoLongitude to your longitude, but before saving the final version, set it to 0.0.

Result

Your visualization now has the document properties required to activate the location icon on a mobile device that can open it from either the Spotfire Cloud or Spotfire Consumer.